Last updated on 2020-08-07 01:50:31 CEST.
Package | ERROR | NOTE | OK |
---|---|---|---|
covidregionaldata | 2 | 4 | 6 |
Current CRAN status: ERROR: 2, NOTE: 4, OK: 6
Version: 0.5.0
Check: dependencies in R code
Result: NOTE
Namespaces in Imports field not imported from:
‘magrittr’ ‘yaml’
All declared Imports should be used.
Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-patched-solaris-x86, r-release-macos-x86_64, r-oldrel-macos-x86_64
Version: 0.5.0
Check: tests
Result: ERROR
Running ‘spelling.R’ [0s/0s]
Running ‘testthat.R’ [13s/18s]
Running the tests in ‘tests/testthat.R’ failed.
Last 13 lines of output:
── 1. Failure: convert_to_Covid19R_format converts correctly (@test-utils.R#103)
`returned` not equal to `expected_data`.
Component "date": Modes: character, numeric
Component "date": Attributes: < target is NULL, current is list >
Component "date": target is character, current is factor
Component "location": Modes: character, numeric
Component "location": Attributes: < target is NULL, current is list >
Component "location": target is character, current is factor
══ testthat results ═══════════════════════════════════════════════════════════
[ OK: 22 | SKIPPED: 43 | WARNINGS: 0 | FAILED: 1 ]
1. Failure: convert_to_Covid19R_format converts correctly (@test-utils.R#103)
Error: testthat unit tests failed
Execution halted
Flavor: r-oldrel-macos-x86_64
Version: 0.5.0
Check: tests
Result: ERROR
Running 'spelling.R' [0s]
Running 'testthat.R' [21s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
> library(testthat)
> library(covidregionaldata)
> source("testthat/custom_tests/mock_data.R")
>
> test_check("covidregionaldata")
-- 1. Failure: convert_to_Covid19R_format converts correctly (@test-utils.R#103)
`returned` not equal to `expected_data`.
Component "date": Modes: character, numeric
Component "date": Attributes: < target is NULL, current is list >
Component "date": target is character, current is factor
Component "location": Modes: character, numeric
Component "location": Attributes: < target is NULL, current is list >
Component "location": target is character, current is factor
== testthat results ===========================================================
[ OK: 22 | SKIPPED: 43 | WARNINGS: 0 | FAILED: 1 ]
1. Failure: convert_to_Covid19R_format converts correctly (@test-utils.R#103)
Error: testthat unit tests failed
Execution halted
Flavor: r-oldrel-windows-ix86+x86_64