* using log directory ‘/data/gannet/ripley/R/packages/tests-Suggests/epiGWAS.Rcheck’ * using R Under development (unstable) (2022-01-11 r81470) * using platform: x86_64-pc-linux-gnu (64-bit) * using session charset: UTF-8 * using option ‘--no-stop-on-test-error’ * checking for file ‘epiGWAS/DESCRIPTION’ ... OK * this is package ‘epiGWAS’ version ‘1.0.2’ * 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 ‘epiGWAS’ can be installed ... 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 * 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 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 contents of ‘data’ directory ... OK * checking data for non-ASCII characters ... OK * checking LazyData ... OK * checking data for ASCII and uncompressed saves ... OK * checking installed files from ‘inst/doc’ ... OK * checking files in ‘vignettes’ ... OK * checking examples ... ERROR Running examples in ‘epiGWAS-Ex.R’ failed The error most likely occurred in: > ### Name: modified_outcome > ### Title: Implements the modified outcome approach > ### Aliases: modified_outcome > > ### ** Examples > > n <- 30 > p <- 10 > X <- matrix((runif(n * p) < 0.5) + (runif(n * p) < 0.5), ncol = p, nrow = n) > A <- (runif(n, min = 0, max = 1) < 0.3) > propensity <- runif(n, min = 0.4, max = 0.8) > Y <- runif(n) < 1/ (1 + exp(- 2 * X[, 5, drop = FALSE])) > auc_scores <- modified_outcome(A, X, Y, propensity, + ncores = 1, parallel = TRUE, n_subsample = 1) Error in loadNamespace(x) : there is no package called ‘bigmemory’ Calls: modified_outcome ... loadNamespace -> withRestarts -> withOneRestart -> doWithOneRestart Execution halted * checking for unstated dependencies in ‘tests’ ... OK * checking tests ... Running ‘testthat.R’ [12s/12s] [12s/12s] ERROR Running the tests in ‘tests/testthat.R’ failed. Complete output: > library(testthat) > library(epiGWAS) > > test_check("epiGWAS") ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error (test_methods.R:56:3): do.call is instructed for stabilityBIG ───────── Error in `loadNamespace(x)`: there is no package called 'bigmemory' Backtrace: █ 1. ├─testthat::expect_length(...) test_methods.R:56:2 2. │ └─testthat::quasi_label(enquo(object), arg = "object") 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. ├─epiGWAS::modified_outcome(...) 5. └─base::loadNamespace(x) 6. └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL) 7. └─base:::withOneRestart(expr, restarts[[1L]]) 8. └─base:::doWithOneRestart(return(expr), restart) ── Error (test_methods.R:88:3): jointly calling all methods is possible with epiGWAS ── Error in `loadNamespace(x)`: there is no package called 'bigmemory' Backtrace: █ 1. ├─epiGWAS::epiGWAS(...) test_methods.R:88:2 2. │ ├─base::do.call(m, args = method_args) 3. │ └─epiGWAS::modified_outcome(...) 4. └─base::loadNamespace(x) 5. └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL) 6. └─base:::withOneRestart(expr, restarts[[1L]]) 7. └─base:::doWithOneRestart(return(expr), restart) ── Error (test_stability.R:42:3): stabilityBIG correctly adapts to the length of the LASSO path ── Error in `loadNamespace(x)`: there is no package called 'bigmemory' Backtrace: █ 1. └─base::loadNamespace(x) test_stability.R:42:2 2. └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL) 3. └─base:::withOneRestart(expr, restarts[[1L]]) 4. └─base:::doWithOneRestart(return(expr), restart) ── Error (test_stability.R:64:3): stabilityBIG shortens the path if the model saturates ── Error in `loadNamespace(x)`: there is no package called 'bigmemory' Backtrace: █ 1. └─base::loadNamespace(x) test_stability.R:64:2 2. └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL) 3. └─base:::withOneRestart(expr, restarts[[1L]]) 4. └─base:::doWithOneRestart(return(expr), restart) [ FAIL 4 | WARN 4 | SKIP 0 | PASS 37 ] 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 ... 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 * DONE Status: 2 ERRORs See ‘/data/gannet/ripley/R/packages/tests-Suggests/epiGWAS.Rcheck/00check.log’ for details. Command exited with non-zero status 1 Time 0:36.19, 31.65 + 4.17