* using log directory 'd:/Rcompile/CRANpkg/local/4.3/MazamaSpatialPlots.Rcheck' * using R version 4.3.3 (2024-02-29 ucrt) * using platform: x86_64-w64-mingw32 (64-bit) * R was compiled by gcc.exe (GCC) 12.3.0 GNU Fortran (GCC) 12.3.0 * running under: Windows Server 2022 x64 (build 20348) * 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 hidden files and directories ... OK * checking for portable file names ... OK * checking whether package 'MazamaSpatialPlots' can be installed ... OK * checking installed package size ... OK * 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 R files for non-ASCII characters ... OK * checking R files for syntax errors ... OK * checking whether the package can be loaded ... [13s] OK * checking whether the package can be loaded with stated dependencies ... [14s] OK * checking whether the package can be unloaded cleanly ... [14s] OK * checking whether the namespace can be loaded with stated dependencies ... [14s] OK * checking whether the namespace can be unloaded cleanly ... [13s] OK * checking loading without being on the library search path ... [13s] 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 ... [28s] OK * checking Rd files ... [1s] OK * checking Rd metadata ... 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] 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 ... [22s] OK * checking for unstated dependencies in 'tests' ... OK * checking tests ... [17s] ERROR Running 'testthat.R' [17s] Running the tests in 'tests/testthat.R' failed. Complete output: > library(testthat) > library(MazamaSpatialUtils) Loading required package: sf Linking to GEOS 3.11.2, GDAL 3.8.2, PROJ 9.3.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 in 'inst/doc' ... OK * checking re-building of vignette outputs ... [23s] OK * checking PDF version of manual ... [18s] OK * checking HTML version of manual ... [2s] OK * DONE Status: 1 ERROR