CRAN linux tests fail
dcooley opened this issue · 0 comments
dcooley commented
e.g, looks like an extra timezone has been added
== Failed tests ================================================================
-- Failure ('test-to_json_dates.R:21'): Dates are handled ----------------------
as.character(to_json(x, numeric_dates = FALSE)) not equal to "{\"sec\":[0.0],\"min\":[0],\"hour\":[0],\"mday\":[1],\"mon\":[0],\"year\":[118],\"wday\":[1],\"yday\":[0],\"isdst\":[0]}".
1/1 mismatches
x[1]: "{\"sec\":[0.0],\"min\":[0],\"hour\":[0],\"mday\":[1],\"mon\":[0],\"year\"
x[1]: :[118],\"wday\":[1],\"yday\":[0],\"isdst\":[0],\"zone\":[\"GMT\"],\"gmtoff
x[1]: \":[0]}"
y[1]: "{\"sec\":[0.0],\"min\":[0],\"hour\":[0],\"mday\":[1],\"mon\":[0],\"year\"
y[1]: :[118],\"wday\":[1],\"yday\":[0],\"isdst\":[0]}"
-- Failure ('test-to_json_dates.R:99'): posixlt not converted to numeric -------
as.character(res) not equal to "{\"sec\":[0.0],\"min\":[0],\"hour\":[0],\"mday\":[1],\"mon\":[0],\"year\":[119],\"wday\":[2],\"yday\":[0],\"isdst\":[0]}".
1/1 mismatches
x[1]: "{\"sec\":[0.0],\"min\":[0],\"hour\":[0],\"mday\":[1],\"mon\":[0],\"year\"
x[1]: :[119],\"wday\":[2],\"yday\":[0],\"isdst\":[0],\"zone\":[\"GMT\"],\"gmtoff
x[1]: \":[0]}"
y[1]: "{\"sec\":[0.0],\"min\":[0],\"hour\":[0],\"mday\":[1],\"mon\":[0],\"year\"
y[1]: :[119],\"wday\":[2],\"yday\":[0],\"isdst\":[0]}"
-- Failure ('test-to_json_unbox.R:31'): single-vectors unboxed -----------------
as.character(js) not equal to "{\"sec\":0.0,\"min\":0,\"hour\":1,\"mday\":1,\"mon\":0,\"year\":118,\"wday\":1,\"yday\":0,\"isdst\":0}".
1/1 mismatches
x[1]: "{\"sec\":0.0,\"min\":0,\"hour\":1,\"mday\":1,\"mon\":0,\"year\":118,\"wda
x[1]: y\":1,\"yday\":0,\"isdst\":0,\"zone\":\"GMT\",\"gmtoff\":0}"
y[1]: "{\"sec\":0.0,\"min\":0,\"hour\":1,\"mday\":1,\"mon\":0,\"year\":118,\"wda
y[1]: y\":1,\"yday\":0,\"isdst\":0}"
-- Failure ('test-to_json_vectors.R:13'): different vector types work ----------
as.character(to_json(as.POSIXlt("2018-01-01 01:00:00", tz = "GMT"))) not equal to "{\"sec\":[0.0],\"min\":[0],\"hour\":[1],\"mday\":[1],\"mon\":[0],\"year\":[118],\"wday\":[1],\"yday\":[0],\"isdst\":[0]}".
1/1 mismatches
x[1]: "{\"sec\":[0.0],\"min\":[0],\"hour\":[1],\"mday\":[1],\"mon\":[0],\"year\"
x[1]: :[118],\"wday\":[1],\"yday\":[0],\"isdst\":[0],\"zone\":[\"GMT\"],\"gmtoff
x[1]: \":[0]}"
y[1]: "{\"sec\":[0.0],\"min\":[0],\"hour\":[1],\"mday\":[1],\"mon\":[0],\"year\"
y[1]: :[118],\"wday\":[1],\"yday\":[0],\"isdst\":[0]}"
-- Failure ('test-to_json_vectors.R:14'): different vector types work ----------
as.character(...) not equal to "{\"sec\":[0.0],\"min\":[0],\"hour\":[1],\"mday\":[1],\"mon\":[0],\"year\":[118],\"wday\":[1],\"yday\":[0],\"isdst\":[0]}".
1/1 mismatches
x[1]: "{\"sec\":[0.0],\"min\":[0],\"hour\":[1],\"mday\":[1],\"mon\":[0],\"year\"
x[1]: :[118],\"wday\":[1],\"yday\":[0],\"isdst\":[0],\"zone\":[\"GMT\"],\"gmtoff
x[1]: \":[0]}"
y[1]: "{\"sec\":[0.0],\"min\":[0],\"hour\":[1],\"mday\":[1],\"mon\":[0],\"year\"
y[1]: :[118],\"wday\":[1],\"yday\":[0],\"isdst\":[0]}"