- using R Under development (unstable) (2021-02-26 r80040)
- using platform: x86_64-pc-linux-gnu (64-bit)
- using session charset: ISO8859-15
- checking for file 'vctrs/DESCRIPTION' ... OK
- this is package 'vctrs' version '0.3.6'
- 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 executable files ... OK
- checking for hidden files and directories ... OK
- checking for portable file names ... OK
- checking for sufficient/correct file permissions ... OK
- checking serialization versions ... OK
- checking whether package 'vctrs' can be installed ... OK
- checking package directory ... OK
- checking for future file timestamps ... 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 ... [22s/28s] OK
- checking Rd files ... [1s/1s] OK
- checking Rd metadata ... OK
- checking Rd line widths ... 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 use of PKG_*FLAGS in Makefiles ... OK
- checking use of SHLIB_OPENMP_*FLAGS in Makefiles ... OK
- checking pragmas in C/C++ headers and code ... OK
- checking compilation flags used ... OK
- checking compiled code ... OK
- checking installed files from 'inst/doc' ... OK
- checking files in 'vignettes' ... OK
- checking examples ... [2s/2s] OK
- checking for unstated dependencies in 'tests' ... OK
- checking tests ... [77s/82s] ERROR
Running 'testthat.R' [77s/82s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
> library(testthat)
> library(vctrs)
>
> if (requireNamespace("xml2")) {
+ test_check("vctrs", reporter = MultiReporter$new(reporters = list(JunitReporter$new(file = "test-results.xml"), CheckReporter$new())))
+ } else {
+ test_check("vctrs")
+ }
Loading required namespace: xml2
== Skipped tests ===============================================================
* FIXME: c() fallback with recursion through df-col (1)
* FIXME: dimnames of matrices are not properly concatenated (1)
* Factors now have a `c()` method (1)
* Not testing performance (2)
* On CRAN (26)
* data.table cannot be loaded (2)
* sf cannot be loaded (1)
* work around r-devel bug (1)
== Failed tests ================================================================
-- Failure (test-translate.R:90:3): translation treats data frames elements of lists as lists (#1233) --
`actual` (`result`) not identical to `expected` (`x`).
`actual[[1]]$a$field`: "°C" "°C"
`expected[[1]]$a$field`: "°C" "°C"
Backtrace:
x
1. \-vctrs:::expect_identical(result, x) test-translate.R:90:2
2. \-vctrs:::expect_waldo_equal("identical", act, exp, info, ...) helper-vctrs.R:55:2
-- Failure (test-translate.R:126:3): attributes are translated -----------------
`actual` (vec_unique(x)) not identical to `expected` (`expect`).
`attr(actual[[2]], 'enc2')[[1]]`: "°C"
`attr(expected[[2]], 'enc2')[[1]]`: "°C"
`attr(actual[[2]], 'enc3')`: "°C"
`attr(expected[[2]], 'enc3')`: "°C"
Backtrace:
x
1. \-vctrs:::expect_identical(vec_unique(x), expect) test-translate.R:126:2
2. \-vctrs:::expect_waldo_equal("identical", act, exp, info, ...) helper-vctrs.R:55:2
[ FAIL 2 | WARN 0 | SKIP 35 | PASS 4098 ]
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 ... [12s/16s] OK
- checking PDF version of manual ... OK
- checking for non-standard things in the check directory ... OK
- DONE
Status: 1 ERROR