## Supported since R (>= 3.4.0)
_R_CHECK_LENGTH_1_CONDITION_=true
## Supported since R (>= 3.6.0)
_R_CHECK_LENGTH_1_LOGIC2_=true
* using log directory ‘/home/hb/repositories/future/revdep/checks/penaltyLearning/old/penaltyLearnin
g.Rcheck’
* using R version 3.6.0 (2019-04-26)
* using platform: x86_64-pc-linux-gnu (64-bit)
* using session charset: UTF-8
* using options ‘--no-manual --no-build-vignettes’
* checking for file ‘penaltyLearning/DESCRIPTION’ ... OK
* this is package ‘penaltyLearning’ version ‘2018.09.04’
* 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 whether package ‘penaltyLearning’ can be installed ... NOTE
Found the following notes/warnings:
Non-staged installation was used
See ‘/home/hb/repositories/future/revdep/checks/penaltyLearning/old/penaltyLearning.Rcheck/00install
.out’ for details.
* 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
* 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 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 contents of ‘data’ directory ... OK
* checking data for non-ASCII characters ... OK
* checking data for ASCII and uncompressed saves ... 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 compiled code ... OK
* checking examples ... ERROR
Running examples in ‘penaltyLearning-Ex.R’ failed
The error most likely occurred in:
> ### Name: featureMatrix
> ### Title: featureMatrix
> ### Aliases: featureMatrix
>
> ### ** Examples
>
>
> data(neuroblastoma, package="neuroblastoma", envir=environment())
>
> one <- subset(neuroblastoma$profiles, profile.id %in% c(1,2))
> f.mat <- featureMatrix(one, c("profile.id", "chromosome"), "logratio")
Error in is.character(problem.vars) && sum(is.na(problem.vars) == 0) && :
'length(x) = 2 > 1' in coercion to 'logical(1)'
Calls: featureMatrix
Execution halted
* checking for unstated dependencies in ‘tests’ ... OK
* checking tests ... ERROR
Running ‘testthat.R’
Running the tests in ‘tests/testthat.R’ failed.
Last 13 lines of output:
> library(testthat)
> test_check("penaltyLearning")
Loading required package: penaltyLearning
Loading required package: data.table
── 1. Error: (unknown) (@test-features.R#29) ──────────────────────────────────
'length(x) = 2 > 1' in coercion to 'logical(1)'
1: featureMatrix(three, c("profile.id", "chromosome"), "logratio") at testthat/test-features.R:29
══ testthat results ═══════════════════════════════════════════════════════════
OK: 63 SKIPPED: 0 WARNINGS: 0 FAILED: 1
1. Error: (unknown) (@test-features.R#29)
Error: testthat unit tests failed
Execution halted
* DONE
Status: 2 ERRORs, 1 NOTE
This could be upstreams - I haven't investigated.