CRAN Package Check Results for Package openxlsx

Last updated on 2017-10-19 21:51:44.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 4.0.17 61.24 55.65 116.88 ERROR
r-devel-linux-x86_64-debian-gcc 4.0.17 67.37 69.65 137.02 ERROR
r-devel-linux-x86_64-fedora-clang 4.0.17 238.61 NOTE
r-devel-linux-x86_64-fedora-gcc 4.0.17 233.09 NOTE
r-devel-windows-ix86+x86_64 4.0.17 157.00 179.00 336.00 OK
r-patched-linux-x86_64 4.0.17 63.42 66.22 129.64 OK
r-patched-solaris-x86 4.0.17 256.60 OK
r-release-linux-x86_64 4.0.17 64.41 66.40 130.80 OK
r-release-windows-ix86+x86_64 4.0.17 195.00 191.00 386.00 OK
r-release-osx-x86_64 4.0.17 OK
r-oldrel-windows-ix86+x86_64 4.0.17 140.00 212.00 352.00 OK
r-oldrel-osx-x86_64 4.0.17 OK

Check Details

Version: 4.0.17
Check: examples
Result: ERROR
    Running examples in ‘openxlsx-Ex.R’ failed
    The error most likely occurred in:
    
    > base::assign(".ptime", proc.time(), pos = "CheckExEnv")
    > ### Name: createNamedRegion
    > ### Title: Create a named region.
    > ### Aliases: createNamedRegion
    >
    > ### ** Examples
    >
    > ## create named regions
    > wb <- createWorkbook()
    > addWorksheet(wb, "Sheet 1")
    >
    > ## specify region
    > writeData(wb, sheet = 1, x = iris, startCol = 1, startRow = 1)
    > createNamedRegion(wb = wb,
    + sheet = 1,
    + name = "iris",
    + rows = 1:(nrow(iris)+1),
    + cols = 1:ncol(iris))
    Error in `Encoding<-`(`*tmp*`, value = itype <- "bytes") :
     a character vector argument expected
    Calls: createNamedRegion -> regmatches -> Encoding<-
    Execution halted
Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc

Version: 4.0.17
Check: tests
Result: ERROR
     Running ‘testthat.R’ [12s/16s]
    Running the tests in ‘tests/testthat.R’ failed.
    Complete output:
     > library("testthat")
     > test_check("openxlsx")
     Loading required package: openxlsx
     1. Error: Maintaining Named Regions on Load (@test-named_regions.R#19) ---------
     a character vector argument expected
     1: createNamedRegion(wb = wb, sheet = 1, name = "iris", rows = 1:(nrow(iris) + 1), cols = 1:ncol(iris)) at testthat/test-named_regions.R:19
     2: regmatches(wb$workbook$definedNames, regexpr("(?<=name=\")[^\"]+", wb$workbook$definedNames,
     perl = TRUE))
     3: `Encoding<-`(`*tmp*`, value = itype <- "bytes")
    
     testthat results ================================================================
     OK: 495 SKIPPED: 0 FAILED: 1
     1. Error: Maintaining Named Regions on Load (@test-named_regions.R#19)
    
     Error: testthat unit tests failed
     Execution halted
Flavor: r-devel-linux-x86_64-debian-clang

Version: 4.0.17
Check: tests
Result: ERROR
     Running ‘testthat.R’ [16s/29s]
    Running the tests in ‘tests/testthat.R’ failed.
    Complete output:
     > library("testthat")
     > test_check("openxlsx")
     Loading required package: openxlsx
     1. Error: Maintaining Named Regions on Load (@test-named_regions.R#19) ---------
     a character vector argument expected
     1: createNamedRegion(wb = wb, sheet = 1, name = "iris", rows = 1:(nrow(iris) + 1), cols = 1:ncol(iris)) at testthat/test-named_regions.R:19
     2: regmatches(wb$workbook$definedNames, regexpr("(?<=name=\")[^\"]+", wb$workbook$definedNames,
     perl = TRUE))
     3: `Encoding<-`(`*tmp*`, value = itype <- "bytes")
    
     2. Error: loadWorkbook from different sources (@test-read_sources.R#42) --------
     cannot open URL 'https://github.com/awalker89/openxlsx/raw/master/inst/readTest.xlsx'
     1: loadWorkbook(xlsxFile) at testthat/test-read_sources.R:42
     2: getFile(file)
     3: download.file(url = xlsxFile, destfile = tmpFile, cacheOK = FALSE, mode = "wb", quiet = TRUE)
    
     testthat results ================================================================
     OK: 495 SKIPPED: 0 FAILED: 2
     1. Error: Maintaining Named Regions on Load (@test-named_regions.R#19)
     2. Error: loadWorkbook from different sources (@test-read_sources.R#42)
    
     Error: testthat unit tests failed
     Execution halted
Flavor: r-devel-linux-x86_64-debian-gcc

Version: 4.0.17
Check: installed package size
Result: NOTE
     installed size is 6.1Mb
     sub-directories of 1Mb or more:
     libs 4.3Mb
Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc