Last updated on 2022-08-15 08:50:20 CEST.
Package | ERROR | NOTE | OK |
---|---|---|---|
NHSRplotthedots | 2 | 4 | 7 |
Current CRAN status: ERROR: 2, NOTE: 4, OK: 7
Version: 0.1.0
Check: dependencies in R code
Result: NOTE
Namespaces in Imports field not imported from:
‘NHSRdatasets’ ‘grid’ ‘utils’
All declared Imports should be used.
Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-release-macos-arm64, r-release-macos-x86_64, r-oldrel-macos-arm64, r-oldrel-macos-x86_64
Version: 0.1.0
Check: tests
Result: ERROR
Running ‘spelling.R’ [0s/0s]
Running ‘testthat.R’ [7s/7s]
Running the tests in ‘tests/testthat.R’ failed.
Last 13 lines of output:
══ Failed tests ════════════════════════════════════════════════════════════════
── Failure (test-ptd_create_ggplot.R:79:3): it returns a ggplot object ─────────
p$labels (`actual`) not equal to list(...) (`expected`).
`actual$title`: "SPC Chart of Y, starting 01/01/2020"
`expected$title`: "SPC Chart of Y, starting 02/01/2020"
── Failure (test-ptd_create_ggplot.R:299:3): it sets the main title correctly ──
p1$labels$title (`actual`) not equal to "SPC Chart of Y, starting 02/01/2020" (`expected`).
`actual`: "SPC Chart of Y, starting 01/01/2020"
`expected`: "SPC Chart of Y, starting 02/01/2020"
[ FAIL 2 | WARN 0 | SKIP 3 | PASS 430 ]
Error: Test failures
Execution halted
Flavor: r-release-macos-x86_64
Version: 0.1.0
Check: tests
Result: ERROR
Running ‘spelling.R’ [0s/0s]
Running ‘testthat.R’ [6s/6s]
Running the tests in ‘tests/testthat.R’ failed.
Last 13 lines of output:
══ Failed tests ════════════════════════════════════════════════════════════════
── Failure (test-ptd_create_ggplot.R:79:3): it returns a ggplot object ─────────
p$labels (`actual`) not equal to list(...) (`expected`).
`actual$title`: "SPC Chart of Y, starting 01/01/2020"
`expected$title`: "SPC Chart of Y, starting 02/01/2020"
── Failure (test-ptd_create_ggplot.R:299:3): it sets the main title correctly ──
p1$labels$title (`actual`) not equal to "SPC Chart of Y, starting 02/01/2020" (`expected`).
`actual`: "SPC Chart of Y, starting 01/01/2020"
`expected`: "SPC Chart of Y, starting 02/01/2020"
[ FAIL 2 | WARN 0 | SKIP 3 | PASS 430 ]
Error: Test failures
Execution halted
Flavor: r-oldrel-macos-x86_64