It may depend on your locale setting (see Sys.getlocale() and Sys.setlocale()).
In what locale is "/A/string" > "0"?
Bill Dunlap
TIBCO Software
wdunlap tibco.com
On Wed, Dec 2, 2015 at 3:24 PM, Facundo Muñoz wrote:
> I have been struggling all day with this issue, which was terribly
> difficult
On 03.12.2015 00:24, Facundo Muñoz wrote:
I have been struggling all day with this issue, which was terribly
difficult to identify.
In the end, if I have a test in my package such as:
test_that("coercions works... depending the check", {
s = "/A/string/starting/with/a/slash"
expect_true
On 3 December 2015 at 00:24, Facundo Muñoz wrote:
| I have been struggling all day with this issue, which was terribly
| difficult to identify.
|
| In the end, if I have a test in my package such as:
|
| test_that("coercions works... depending the check", {
| s = "/A/string/starting/with/a/sla
I have been struggling all day with this issue, which was terribly
difficult to identify.
In the end, if I have a test in my package such as:
test_that("coercions works... depending the check", {
s = "/A/string/starting/with/a/slash"
expect_true(s > 0)
})
then if I test() it, it goes fine.