* using log directory 'd:/Rcompile/CRANpkg/local/3.6/sfheaders.Rcheck' * using R version 3.6.3 (2020-02-29) * using platform: x86_64-w64-mingw32 (64-bit) * using session charset: ISO8859-1 * checking for file 'sfheaders/DESCRIPTION' ... OK * checking extension type ... Package * this is package 'sfheaders' version '0.4.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 'sfheaders' can be installed ... OK * checking installed package size ... OK * checking package 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 * loading checks for arch 'i386' ** 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 * loading checks for arch 'x64' ** 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 ... [4s] 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 line endings in C/C++/Fortran sources/headers ... OK * checking line endings in Makefiles ... OK * checking compilation flags in Makevars ... OK * checking for GNU extensions in Makefiles ... OK * checking for portable use of $(BLAS_LIBS) and $(LAPACK_LIBS) ... OK * checking pragmas in C/C++ headers and code ... OK * checking compiled code ... OK * checking examples ... ** running examples for arch 'i386' ... [2s] OK ** running examples for arch 'x64' ... [3s] OK * checking for unstated dependencies in 'tests' ... OK * checking tests ... ** running tests for arch 'i386' ... [12s] ERROR Running 'testthat.R' [11s] Running the tests in 'tests/testthat.R' failed. Complete output: > library(testthat) > library(sfheaders) > > test_check("sfheaders") == Failed tests ================================================================ -- Failure (test-sf_polygon.R:180:3): polygons are closed and list-column properties follow the same structure as geometires, and first row is repeated where closed -- sf_poly[1, ]$prop[[1]][[1]] not equal to c(letters[1:4], letters[1]). 'current' is not a factor -- Failure (test-sf_polygon.R:181:3): polygons are closed and list-column properties follow the same structure as geometires, and first row is repeated where closed -- sf_poly[1, ]$prop[[1]][[2]] not equal to letters[5:9]. 'current' is not a factor -- Failure (test-sf_polygon.R:182:3): polygons are closed and list-column properties follow the same structure as geometires, and first row is repeated where closed -- sf_poly[2, ]$prop[[1]][[1]] not equal to c(letters[10:13], letters[10]). 'current' is not a factor -- Failure (test-sf_polygon.R:201:3): polygons are closed and list-column properties follow the same structure as geometires, and first row is repeated where closed -- sf_poly[1, ]$prop[[1]][[1]] not equal to letters[1:4]. 'current' is not a factor -- Failure (test-sf_polygon.R:202:3): polygons are closed and list-column properties follow the same structure as geometires, and first row is repeated where closed -- sf_poly[1, ]$prop[[1]][[2]] not equal to letters[5:9]. 'current' is not a factor -- Failure (test-sf_polygon.R:203:3): polygons are closed and list-column properties follow the same structure as geometires, and first row is repeated where closed -- sf_poly[2, ]$prop[[1]][[1]] not equal to letters[10:13]. 'current' is not a factor -- Failure (test-sf_polygon.R:224:3): polygons are closed and list-column properties follow the same structure as geometires, and first row is repeated where closed -- sf_multi[1, ]$prop[[1]][[1]][[1]] not equal to c(letters[1:4], letters[1]). 'current' is not a factor -- Failure (test-sf_polygon.R:225:3): polygons are closed and list-column properties follow the same structure as geometires, and first row is repeated where closed -- sf_multi[1, ]$prop[[1]][[1]][[2]] not equal to letters[5:9]. 'current' is not a factor -- Failure (test-sf_polygon.R:226:3): polygons are closed and list-column properties follow the same structure as geometires, and first row is repeated where closed -- sf_multi[1, ]$prop[[1]][[2]][[1]] not equal to c(letters[10:13], letters[10]). 'current' is not a factor [ FAIL 9 | WARN 0 | SKIP 0 | PASS 1662 ] Error: Test failures Execution halted ** running tests for arch 'x64' ... [13s] ERROR Running 'testthat.R' [13s] Running the tests in 'tests/testthat.R' failed. Complete output: > library(testthat) > library(sfheaders) > > test_check("sfheaders") == Failed tests ================================================================ -- Failure (test-sf_polygon.R:180:3): polygons are closed and list-column properties follow the same structure as geometires, and first row is repeated where closed -- sf_poly[1, ]$prop[[1]][[1]] not equal to c(letters[1:4], letters[1]). 'current' is not a factor -- Failure (test-sf_polygon.R:181:3): polygons are closed and list-column properties follow the same structure as geometires, and first row is repeated where closed -- sf_poly[1, ]$prop[[1]][[2]] not equal to letters[5:9]. 'current' is not a factor -- Failure (test-sf_polygon.R:182:3): polygons are closed and list-column properties follow the same structure as geometires, and first row is repeated where closed -- sf_poly[2, ]$prop[[1]][[1]] not equal to c(letters[10:13], letters[10]). 'current' is not a factor -- Failure (test-sf_polygon.R:201:3): polygons are closed and list-column properties follow the same structure as geometires, and first row is repeated where closed -- sf_poly[1, ]$prop[[1]][[1]] not equal to letters[1:4]. 'current' is not a factor -- Failure (test-sf_polygon.R:202:3): polygons are closed and list-column properties follow the same structure as geometires, and first row is repeated where closed -- sf_poly[1, ]$prop[[1]][[2]] not equal to letters[5:9]. 'current' is not a factor -- Failure (test-sf_polygon.R:203:3): polygons are closed and list-column properties follow the same structure as geometires, and first row is repeated where closed -- sf_poly[2, ]$prop[[1]][[1]] not equal to letters[10:13]. 'current' is not a factor -- Failure (test-sf_polygon.R:224:3): polygons are closed and list-column properties follow the same structure as geometires, and first row is repeated where closed -- sf_multi[1, ]$prop[[1]][[1]][[1]] not equal to c(letters[1:4], letters[1]). 'current' is not a factor -- Failure (test-sf_polygon.R:225:3): polygons are closed and list-column properties follow the same structure as geometires, and first row is repeated where closed -- sf_multi[1, ]$prop[[1]][[1]][[2]] not equal to letters[5:9]. 'current' is not a factor -- Failure (test-sf_polygon.R:226:3): polygons are closed and list-column properties follow the same structure as geometires, and first row is repeated where closed -- sf_multi[1, ]$prop[[1]][[2]][[1]] not equal to c(letters[10:13], letters[10]). 'current' is not a factor [ FAIL 9 | WARN 0 | SKIP 0 | PASS 1662 ] Error: Test failures Execution halted * checking PDF version of manual ... OK * DONE Status: 2 ERRORs