Closed njtierney closed 1 year ago
Appears to be related to linux issues:
Version: 0.5.2
Check: tests
Result: ERROR
Running 'spelling.R' [0s/1s]
Running 'testthat.R' [16s/17s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
> library(testthat)
> library(naniar)
>
> test_check("naniar")
-- 1. Failure: special missings are the same for grouped and ungrouped data (@te
aq_grouped_recoded$Ozone_NA not equal to aq_recoded$Ozone_NA.
Attributes: < Component "class": Lengths (1, 2) differ (string compare on first 1) >
Attributes: < Component "class": 1 string mismatch >
== testthat results ===========================================================
[ OK: 556 | SKIPPED: 32 | WARNINGS: 0 | FAILED: 1 ]
1. Failure: special missings are the same for grouped and ungrouped data (@test-special-missing-values.R#139)
Error: testthat unit tests failed
Execution halted
Flavor: r-devel-linux-x86_64-debian-clang
Version: 0.5.2
Check: tests
Result: ERROR
Running ‘spelling.R’ [0s/1s]
Running ‘testthat.R’ [12s/15s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> library(testthat)
> library(naniar)
>
> test_check("naniar")
── 1. Failure: special missings are the same for grouped and ungrouped data (@te
aq_grouped_recoded$Ozone_NA not equal to aq_recoded$Ozone_NA.
Attributes: < Component "class": Lengths (1, 2) differ (string compare on first 1) >
Attributes: < Component "class": 1 string mismatch >
══ testthat results ═══════════════════════════════════════════════════════════
[ OK: 556 | SKIPPED: 32 | WARNINGS: 0 | FAILED: 1 ]
1. Failure: special missings are the same for grouped and ungrouped data (@test-special-missing-values.R#139)
-- 2. Error: impute_median_all retains proper shadow values (@test-impute-median Input must contain shade column. See ?shade, ?shade and ?bind_shadow Backtrace:
naniar:::test_if_any_shade(data)
-- 3. Error: impute_median_all retains proper shadow values (@test-impute-median Input must contain shade column. See ?shade, ?shade and ?bind_shadow Backtrace:
naniar:::test_if_any_shade(data)
-- 4. Error: impute_median_all retains proper shadow values (@test-impute-median Input must contain shade column. See ?shade, ?shade and ?bind_shadow Backtrace:
naniar:::test_if_any_shade(data)
-- 5. Error: impute_mean_all retains proper shadow values (@test-impute_mean.R#9 Input must contain shade column. See ?shade, ?shade and ?bind_shadow Backtrace:
naniar:::test_if_any_shade(data)
-- 6. Error: impute_mean_all retains proper shadow values (@test-impute_mean.R#1 Input must contain shade column. See ?shade, ?shade and ?bind_shadow Backtrace:
naniar:::test_if_any_shade(data)
-- 7. Failure: special missings levels are updated for many recodes (@test-speci levels(df_many_recode$temp_NA) not equal to
new_shade_levels
. Lengths differ: 3 is not 4== testthat results =========================================================== [ OK: 562 | SKIPPED: 22 | WARNINGS: 0 | FAILED: 7 ]
Error: testthat unit tests failed Execution halted