We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2f7e2ad commit 7bda259Copy full SHA for 7bda259
1 file changed
tests/testthat/test-utils.R
@@ -35,7 +35,8 @@ test_that("utility functions work", {
35
expect_equal(time_to_sec("12:34:56.789"), 45296.789)
36
expect_equal(time_to_sec("12.3456"), 12.3456)
37
expect_equal(time_to_sec(12.345), 12.345)
38
- expect_equal(time_to_sec(""), NA)
+ expect_equal(time_to_sec(""), NA_real_)
39
+ expect_equal(time_to_sec(NA), NA_real_)
40
41
expect_equal(
42
time_to_sec(c("12.345", "1:23.456", "12:34:56.789", "12.3456")),
0 commit comments