* using log directory 'd:/Rcompile/CRANpkg/local/3.5/reproducible.Rcheck' * using R version 3.5.3 (2019-03-11) * using platform: x86_64-w64-mingw32 (64-bit) * using session charset: ISO8859-1 * checking for file 'reproducible/DESCRIPTION' ... OK * checking extension type ... Package * this is package 'reproducible' version '1.0.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 'reproducible' 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 ... 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 ... OK * checking S3 generic/method consistency ... OK * checking replacement functions ... OK * checking foreign function calls ... OK * checking R code for possible problems ... [27s] OK * checking Rd files ... 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 installed files from 'inst/doc' ... OK * checking files in 'vignettes' ... OK * checking examples ... [16s] OK * checking for unstated dependencies in 'tests' ... OK * checking tests ... [57s] ERROR Running 'test-all.R' [56s] Running the tests in 'tests/test-all.R' failed. Complete output: > library(testthat) > test_check("reproducible") Loading required package: reproducible Writing layer `file83020973e' to data source `D:\temp\Rtmp8Mmcwk/raster/\file83020973e.shp' using driver `ESRI Shapefile' Writing 3 features with 2 fields and geometry type Polygon. -- 1. Error: prepInputs doesn't work (part 3) (@test-postProcess.R#40) -------- crs not found: is it missing? Backtrace: 1. reproducible::postProcess(r1, studyArea = ncSmall, filename2 = NULL) 2. reproducible:::postProcess.spatialObjects(...) 3. reproducible:::postProcessAllSpatial(...) 5. sf:::st_transform.sf(studyArea, crs = crs(x)) 7. sf:::st_transform.sfc(st_geometry(x), crs, ...) 9. sf:::CPL_transform(x, crs, aoi, pipeline, reverse) objectNames hashElements hash objSize 1 n n 853b1797f54b229c 56 2 .FUN .FUN 4f604aa46882b368 224 functionName component elapsedTime units 1 rnorm Hashing 0.00000000 secs 2 rnorm Running rnorm 0.00000000 secs 3 rnorm Saving to repo 0.03119993 secs 4 rnorm Whole Cache call 0.06239986 secs objectNames hashElements hash objSize 1 file file 6685a53689e8f09a 152 2 .FUN .FUN 7a8f2865ef4bc06d 1256 functionName component elapsedTime units 1 readRDS Hashing 0.00000000 secs 2 readRDS Running readRDS 0.01560020 secs 3 readRDS Saving to repo 0.03119993 secs 4 readRDS Whole Cache call 0.06240010 secs objectNames hashElements hash objSize 1 file file 6685a53689e8f09a 24096 2 .FUN .FUN 7a8f2865ef4bc06d 1256 functionName component elapsedTime units 1 readRDS Hashing 0.00000000 secs 2 readRDS Loading from repo 0.00000000 secs 3 readRDS Whole Cache call 0.03119993 secs == testthat results =========================================================== [ OK: 314 | SKIPPED: 68 | WARNINGS: 2 | FAILED: 1 ] 1. Error: prepInputs doesn't work (part 3) (@test-postProcess.R#40) Error: testthat unit tests failed Execution halted * checking for unstated dependencies in vignettes ... OK * checking package vignettes in 'inst/doc' ... OK * checking re-building of vignette outputs ... [26s] OK * checking PDF version of manual ... OK * DONE Status: 1 ERROR