- using R version 3.3.3 (2017-03-06)
- using platform: x86_64-w64-mingw32 (64-bit)
- using session charset: ISO8859-1
- checking for file 'openxlsx/DESCRIPTION' ... OK
- checking extension type ... Package
- this is package 'openxlsx' version '4.0.17'
- 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 'openxlsx' 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
- 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 ... 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 compiled code ... OK
- checking sizes of PDF files under 'inst/doc' ... OK
- checking installed files from 'inst/doc' ... OK
- checking files in 'vignettes' ... OK
- checking examples ...
- running examples for arch 'i386' ... [26s] OK
- running examples for arch 'x64' ... [28s] OK
- checking for unstated dependencies in 'tests' ... OK
- checking tests ...
- running tests for arch 'i386' ... [36s] ERROR
Running 'testthat.R' [35s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
> library("testthat")
> test_check("openxlsx")
Loading required package: openxlsx
-- 1. Error: loadWorkbook from different sources (@test-read_sources.R#49) ----
subscript out of bounds
1: expect_true(all.equal.Workbook(wb_url, wb_file), "Loading from URL vs local not equal") at testthat/test-read_sources.R:49
2: quasi_label(enquo(object), label)
3: eval_bare(get_expr(quo), get_env(quo))
4: all.equal.Workbook(wb_url, wb_file)
5: sapply(1:nSheets, function(i) isTRUE(all.equal(x$colWidths[[i]], y$colWidths[[i]])))
6: lapply(X = X, FUN = FUN, ...)
7: FUN(X[[i]], ...)
8: isTRUE(all.equal(x$colWidths[[i]], y$colWidths[[i]]))
9: all.equal(x$colWidths[[i]], y$colWidths[[i]])
10: all.equal.list(x$colWidths[[i]], y$colWidths[[i]])
11: attr.all.equal(target, current, ...)
12: mode(current)
== testthat results ===========================================================
OK: 505 SKIPPED: 2 FAILED: 1
1. Error: loadWorkbook from different sources (@test-read_sources.R#49)
Error: testthat unit tests failed
Execution halted
- running tests for arch 'x64' ... [34s] ERROR
Running 'testthat.R' [34s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
> library("testthat")
> test_check("openxlsx")
Loading required package: openxlsx
-- 1. Error: loadWorkbook from different sources (@test-read_sources.R#49) ----
subscript out of bounds
1: expect_true(all.equal.Workbook(wb_url, wb_file), "Loading from URL vs local not equal") at testthat/test-read_sources.R:49
2: quasi_label(enquo(object), label)
3: eval_bare(get_expr(quo), get_env(quo))
4: all.equal.Workbook(wb_url, wb_file)
5: sapply(1:nSheets, function(i) isTRUE(all.equal(x$colWidths[[i]], y$colWidths[[i]])))
6: lapply(X = X, FUN = FUN, ...)
7: FUN(X[[i]], ...)
8: isTRUE(all.equal(x$colWidths[[i]], y$colWidths[[i]]))
9: all.equal(x$colWidths[[i]], y$colWidths[[i]])
10: all.equal.list(x$colWidths[[i]], y$colWidths[[i]])
11: attr.all.equal(target, current, ...)
12: mode(current)
== testthat results ===========================================================
OK: 505 SKIPPED: 2 FAILED: 1
1. Error: loadWorkbook from different sources (@test-read_sources.R#49)
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 ... [12s] OK
- checking PDF version of manual ... OK
- DONE
Status: 2 ERRORs