- using R Under development (unstable) (2025-09-16 r88840)
- using platform: x86_64-pc-linux-gnu
- R was compiled by
gcc (GCC) 15.1.1 20250521 (Red Hat 15.1.1-2)
GNU Fortran (GCC) 15.1.1 20250521 (Red Hat 15.1.1-2)
- running under: Fedora Linux 42 (Workstation Edition)
- using session charset: UTF-8
- using option ‘--no-stop-on-test-error’
- checking for file ‘mshap/DESCRIPTION’ ... OK
- this is package ‘mshap’ version ‘0.1.0’
- package encoding: UTF-8
- checking package namespace information ... OK
- checking package dependencies ... OK
- checking if this is a source package ... OK
- checking if there is a namespace ... OK
- checking for executable files ... OK
- checking for hidden files and directories ... OK
- checking for portable file names ... OK
- checking for sufficient/correct file permissions ... OK
- checking whether package ‘mshap’ can be installed ... [4s/22s] OK
See the install log for details.
- checking package directory ... OK
- checking ‘build’ directory ... OK
- checking DESCRIPTION meta-information ... OK
- checking top-level files ... OK
- checking for left-over files ... OK
- checking index information ... OK
- checking package subdirectories ... OK
- checking code files for non-ASCII characters ... OK
- checking R files for syntax errors ... OK
- checking whether the package can be loaded ... OK
- checking whether the package can be loaded with stated dependencies ... OK
- checking whether the package can be unloaded cleanly ... OK
- checking whether the namespace can be loaded with stated dependencies ... OK
- checking whether the namespace can be unloaded cleanly ... OK
- checking loading without being on the library search path ... OK
- checking use of S3 registration ... OK
- checking dependencies in R code ... NOTE
Namespace in Imports field not imported from: ‘tidyselect’
All declared Imports should be used.
- checking S3 generic/method consistency ... OK
- checking replacement functions ... OK
- checking foreign function calls ... OK
- checking R code for possible problems ... [5s/20s] OK
- checking Rd files ... OK
- checking Rd metadata ... OK
- checking Rd line widths ... OK
- checking Rd cross-references ... OK
- checking for missing documentation entries ... OK
- checking for code/documentation mismatches ... OK
- checking Rd \usage sections ... OK
- checking Rd contents ... OK
- checking for unstated dependencies in examples ... OK
- checking installed files from ‘inst/doc’ ... OK
- checking files in ‘vignettes’ ... OK
- checking examples ... OK
- checking for unstated dependencies in ‘tests’ ... OK
- checking tests ... [10s/45s] ERROR
Running ‘testthat.R’ [9s/42s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> library(testthat)
> library(mshap)
>
> test_check("mshap")
[ FAIL 8 | WARN 2 | SKIP 0 | PASS 19 ]
══ Failed tests ════════════════════════════════════════════════════════════════
── Failure ('test-plots.R:25:3'): Summary Plot Returns ggplot object ───────────
`p1` has type 'object', not 'list'.
── Failure ('test-plots.R:26:3'): Summary Plot Returns ggplot object ───────────
class(p1) (`actual`) not equal to c("gg", "ggplot") (`expected`).
`actual`: "ggplot2::ggplot" "ggplot" "ggplot2::gg" "S7_object" "gg"
`expected[2:2]`: "ggplot"
── Failure ('test-plots.R:30:3'): Observation Plot Returns ggplot object ───────
`p2` has type 'object', not 'list'.
── Failure ('test-plots.R:31:3'): Observation Plot Returns ggplot object ───────
class(p2) (`actual`) not equal to c("gg", "ggplot") (`expected`).
`actual`: "ggplot2::ggplot" "ggplot" "ggplot2::gg" "S7_object" "gg"
`expected[2:2]`: "ggplot"
── Failure ('test-plots.R:56:3'): Summary Plot Works with all arguments ────────
`p1_all` has type 'object', not 'list'.
── Failure ('test-plots.R:57:3'): Summary Plot Works with all arguments ────────
class(p1_all) (`actual`) not equal to c("gg", "ggplot") (`expected`).
`actual`: "ggplot2::ggplot" "ggplot" "ggplot2::gg" "S7_object" "gg"
`expected[2:2]`: "ggplot"
── Failure ('test-plots.R:61:3'): Observation Plot Works with all arguments ────
`p2_all` has type 'object', not 'list'.
── Failure ('test-plots.R:62:3'): Observation Plot Works with all arguments ────
class(p2_all) (`actual`) not equal to c("gg", "ggplot") (`expected`).
`actual`: "ggplot2::ggplot" "ggplot" "ggplot2::gg" "S7_object" "gg"
`expected[2:2]`: "ggplot"
[ FAIL 8 | WARN 2 | SKIP 0 | PASS 19 ]
Error: Test failures
Execution halted
- checking for unstated dependencies in vignettes ... OK
- checking package vignettes ... OK
- checking re-building of vignette outputs ... [41s/148s] OK
- checking PDF version of manual ... [6s/21s] OK
- checking HTML version of manual ... OK
- checking for non-standard things in the check directory ... OK
- checking for detritus in the temp directory ... OK
- DONE
Status: 1 ERROR, 1 NOTE