- using R version 4.4.2 (2024-10-31)
- using platform: x86_64-pc-linux-gnu
- R was compiled by
gcc-14 (Debian 14.2.0-12) 14.2.0
GNU Fortran (Debian 14.2.0-12) 14.2.0
- running under: Debian GNU/Linux trixie/sid
- using session charset: UTF-8
- checking for file ‘MazamaSpatialPlots/DESCRIPTION’ ... OK
- checking extension type ... Package
- this is package ‘MazamaSpatialPlots’ version ‘0.2.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 ‘MazamaSpatialPlots’ can be installed ... OK
See the install log for details.
- checking package directory ... OK
- checking for future file timestamps ... 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 ... [11s/14s] OK
- checking whether the package can be loaded with stated dependencies ... [11s/14s] OK
- checking whether the package can be unloaded cleanly ... [10s/14s] OK
- checking whether the namespace can be loaded with stated dependencies ... [10s/12s] OK
- checking whether the namespace can be unloaded cleanly ... [11s/14s] OK
- checking loading without being on the library search path ... [11s/14s] OK
- checking use of S3 registration ... OK
- checking dependencies in R code ... OK
- checking S3 generic/method consistency ... OK
- checking replacement functions ... OK
- checking foreign function calls ... OK
- checking R code for possible problems ... [44s/61s] OK
- checking Rd files ... [0s/0s] 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 contents of ‘data’ directory ... OK
- checking data for non-ASCII characters ... [1s/1s] OK
- checking LazyData ... OK
- checking data for ASCII and uncompressed saves ... OK
- checking installed files from ‘inst/doc’ ... OK
- checking files in ‘vignettes’ ... OK
- checking examples ... [15s/22s] OK
Examples with CPU (user + system) or elapsed time > 5s
user system elapsed
stateMap 3.928 0.166 5.298
- checking for unstated dependencies in ‘tests’ ... OK
- checking tests ... [13s/18s] ERROR
Running ‘testthat.R’ [13s/17s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> library(testthat)
> library(MazamaSpatialUtils)
Loading required package: sf
Linking to GEOS 3.13.0, GDAL 3.10.1, PROJ 9.5.1; sf_use_s2() is TRUE
> library(MazamaSpatialPlots)
>
> test_check("MazamaSpatialPlots")
[ FAIL 6 | WARN 0 | SKIP 0 | PASS 35 ]
══ Failed tests ════════════════════════════════════════════════════════════════
── Failure ('test-countyMap.R:62:3'): subsets by stateCode correctly ───────────
length(plottedStates) not equal to nrow(countyList).
1/1 mismatches
[1] 0 - 75 == -75
── Failure ('test-countyMap.R:63:3'): subsets by stateCode correctly ───────────
"WA" %in% plottedStates is not TRUE
`actual`: FALSE
`expected`: TRUE
── Failure ('test-countyMap.R:64:3'): subsets by stateCode correctly ───────────
"OR" %in% plottedStates is not TRUE
`actual`: FALSE
`expected`: TRUE
── Failure ('test-stateMap.R:59:3'): subsets by stateCode correctly ────────────
length(plottedStates) not equal to length(stateCodeList).
1/1 mismatches
[1] 0 - 2 == -2
── Failure ('test-stateMap.R:60:3'): subsets by stateCode correctly ────────────
"WA" %in% plottedStates is not TRUE
`actual`: FALSE
`expected`: TRUE
── Failure ('test-stateMap.R:61:3'): subsets by stateCode correctly ────────────
"OR" %in% plottedStates is not TRUE
`actual`: FALSE
`expected`: TRUE
[ FAIL 6 | WARN 0 | SKIP 0 | PASS 35 ]
Error: Test failures
Execution halted
- checking for unstated dependencies in vignettes ... OK
- checking package vignettes ... OK
- checking re-building of vignette outputs ... [19s/25s] OK
- checking PDF version of manual ... [4s/6s] OK
- checking HTML version of manual ... [0s/1s] OK
- checking for non-standard things in the check directory ... OK
- DONE
Status: 1 ERROR