* using log directory ‘/data/blackswan/ripley/R/packages/tests-devel/postDoubleR.Rcheck’ * using R Under development (unstable) (2021-06-22 r80540) * using platform: x86_64-pc-linux-gnu (64-bit) * using session charset: UTF-8 * checking for file ‘postDoubleR/DESCRIPTION’ ... OK * this is package ‘postDoubleR’ version ‘1.4.12’ * 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 whether package ‘postDoubleR’ 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 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 ... [11s/11s] 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 LazyData ... NOTE 'LazyData' is specified without a 'data' directory * checking examples ... OK * checking examples with --run-donttest ... [17s/17s] ERROR Running examples in ‘postDoubleR-Ex.R’ failed The error most likely occurred in: > ### Name: rf_helper > ### Title: Helper function(randomforest). > ### Aliases: rf_helper > > ### ** Examples > > ## No test: > n = 2000; p = 10 > X = matrix(rnorm(n*p), n, p) > W = rbinom(n, 1, 0.4 + 0.2 * (X[,1] > 0)) > Y = pmax(X[,1], 0) * W + X[,2] + pmin(X[,3], 0) + rnorm(n) > > > > rf_helper( X = X, Y = Y, W = W, tree.n = 10) Error in match.arg(tune.parameters, all.tunable.params, several.ok = TRUE) : 'arg' must be NULL or a character vector Calls: rf_helper -> -> unique -> match.arg Execution halted * checking for unstated dependencies in ‘tests’ ... OK * checking tests ... Running ‘testthat.R’ [14s/14s] [14s/14s] OK * checking PDF version of manual ... OK * checking for non-standard things in the check directory ... OK * checking for detritus in the temp directory ... OK * checking for new files in some other directories ... OK * DONE Status: 1 ERROR, 1 NOTE See ‘/data/blackswan/ripley/R/packages/tests-devel/postDoubleR.Rcheck/00check.log’ for details. Command exited with non-zero status 1 Time 1:32.38, 85.17 + 6.45