- using R Under development (unstable) (2018-04-25 r74642)
- using platform: x86_64-pc-linux-gnu (64-bit)
- using session charset: UTF-8
- checking for file ‘io/DESCRIPTION’ ... OK
- checking extension type ... Package
- this is package ‘io’ version ‘0.3.0’
- 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 ‘io’ can be installed ... 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
- 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 ... [5s/8s] OK
- checking Rd files ... 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 examples ... [0s/1s] OK
- checking for unstated dependencies in ‘tests’ ... OK
- checking tests ... [1s/2s] ERROR
Running ‘testthat.R’ [1s/1s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> library(testthat)
> library(stringr)
> library(io)
Loading required package: filenamer
>
> test_check("io")
── 1. Error: (unknown) (@test_read-write-read.R#8) ────────────────────────────
no applicable method for 'h5write' applied to an object of class "character"
1: test_read_write_read(f) at testthat/test_read-write-read.R:8
2: qwrite(x, outfile) at /home/hornik/tmp/R.check/r-devel-gcc/Work/PKGS/io.Rcheck/tests/testthat/helper.R:48
3: .qwrite(x, if (is.filename(file)) as.character(file) else file, if (is.null(type)) .infer_file_type(file) else type,
...)
4: qwrite.hdf5(x, if (is.filename(file)) as.character(file) else file, if (is.null(type)) .infer_file_type(file) else type,
...)
5: .write_hdf5_array(x, file)
6: rhdf5::h5write("array", file, "type")
══ testthat results ═══════════════════════════════════════════════════════════
OK: 0 SKIPPED: 0 FAILED: 1
1. Error: (unknown) (@test_read-write-read.R#8)
Error: testthat unit tests failed
Execution halted
- checking PDF version of manual ... OK
- DONE
Status: 1 ERROR