* using log directory ‘/data/gannet/ripley/R/packages/tests-OpenBLAS/bw.Rcheck’ * using R Under development (unstable) (2018-07-16 r74967) * using platform: x86_64-pc-linux-gnu (64-bit) * using session charset: UTF-8 * using option ‘--no-stop-on-test-error’ * checking for file ‘bw/DESCRIPTION’ ... OK * checking extension type ... Package * this is package ‘bw’ version ‘1.0.0’ * 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 ‘bw’ can be installed ... [74s/128s] 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 ... NOTE Namespace in Imports field not imported from: ‘utils’ All declared Imports should be used. * checking S3 generic/method consistency ... OK * checking replacement functions ... OK * checking foreign function calls ... OK * checking R code for possible problems ... [14s/37s] 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 line endings in C/C++/Fortran sources/headers ... 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 ... [10s/23s] OK * checking for unstated dependencies in ‘tests’ ... OK * checking tests ... Running ‘testthat.R’/data/gannet/ripley/R/OpenBLAS/bin/BATCH: line 60: 20986 Segmentation fault (core dumped) ${R_HOME}/bin/R -f ${in} ${opts} ${R_BATCH_OPTIONS} > ${out} 2>&1 [4s/12s] [5s/13s] ERROR Running the tests in ‘tests/testthat.R’ failed. Complete output: > library(testthat) > library(bw) Please cite the package as: Dalia Camacho-Garcia-Formenti and Rodrigo Zepeda-Tello (2018). bw: Dynamic Body Weight Models for Children and Adults. R package version 1.0.0. Feel free to contact us with any questions. > > test_check("bw") *** caught segfault *** address 0xec68000, cause 'memory not mapped' Traceback: 1: adult_weight_wrapper_EI(bw, ht, age, newsex, EIchange, NAchange, PAL, pcarb_base, pcarb, dt, EI, ceiling(days), checkValues, TRUE) 2: adult_weight(bw = c(76, 58, 65), ht = c(1.73, 1.64, 1.65), age = c(36, 21, 56), sex = c("male", "female", "female"), PAL = c(1.5, 1.7, 1.5), EI = matrix(c(rep(2287, 365), rep(2159, 365), rep(1762, 365)), nrow = 3, byrow = T)) 3: eval(code, test_env) 4: eval(code, test_env) 5: withCallingHandlers({ eval(code, test_env) if (!handled && !is.null(test)) { skip_empty() }}, expectation = handle_expectation, skip = handle_skip, warning = handle_warning, message = handle_message, error = handle_error) 6: doTryCatch(return(expr), name, parentenv, handler) 7: tryCatchOne(expr, names, parentenv, handlers[[1L]]) 8: tryCatchList(expr, names[-nh], parentenv, handlers[-nh]) 9: doTryCatch(return(expr), name, parentenv, handler) 10: tryCatchOne(tryCatchList(expr, names[-nh], parentenv, handlers[-nh]), names[nh], parentenv, handlers[[nh]]) 11: tryCatchList(expr, classes, parentenv, handlers) 12: tryCatch(withCallingHandlers({ eval(code, test_env) if (!handled && !is.null(test)) { skip_empty() }}, expectation = handle_expectation, skip = handle_skip, warning = handle_warning, message = handle_message, error = handle_error), error = handle_fatal, skip = function(e) { }) 13: test_code(desc, code, env = parent.frame()) 14: test_that("Checking adult_bmi messages", { W <- adult_weight(bw = c(76, 58, 65), ht = c(1.73, 1.64, 1.65), age = c(36, 21, 56), sex = c("male", "female", "female"), PAL = c(1.5, 1.7, 1.5), EI = matrix(c(rep(2287, 365), rep(2159, 365), rep(1762, 365)), nrow = 3, byrow = T)) expect_message({ adult_bmi(W, days = seq(0, 364, by = 5)) })}) 15: eval(code, test_env) 16: eval(code, test_env) 17: withCallingHandlers({ eval(code, test_env) if (!handled && !is.null(test)) { skip_empty() }}, expectation = handle_expectation, skip = handle_skip, warning = handle_warning, message = handle_message, error = handle_error) 18: doTryCatch(return(expr), name, parentenv, handler) 19: tryCatchOne(expr, names, parentenv, handlers[[1L]]) 20: tryCatchList(expr, names[-nh], parentenv, handlers[-nh]) 21: doTryCatch(return(expr), name, parentenv, handler) 22: tryCatchOne(tryCatchList(expr, names[-nh], parentenv, handlers[-nh]), names[nh], parentenv, handlers[[nh]]) 23: tryCatchList(expr, classes, parentenv, handlers) 24: tryCatch(withCallingHandlers({ eval(code, test_env) if (!handled && !is.null(test)) { skip_empty() }}, expectation = handle_expectation, skip = handle_skip, warning = handle_warning, message = handle_message, error = handle_error), error = handle_fatal, skip = function(e) { }) 25: test_code(NULL, exprs, env) 26: source_file(path, new.env(parent = env), chdir = TRUE, wrap = wrap) 27: force(code) 28: with_reporter(reporter = reporter, start_end_reporter = start_end_reporter, { lister$start_file(basename(path)) source_file(path, new.env(parent = env), chdir = TRUE, wrap = wrap) end_context() }) 29: FUN(X[[i]], ...) 30: lapply(paths, test_file, env = env, reporter = current_reporter, start_end_reporter = FALSE, load_helpers = FALSE, wrap = wrap) 31: force(code) 32: with_reporter(reporter = current_reporter, results <- lapply(paths, test_file, env = env, reporter = current_reporter, start_end_reporter = FALSE, load_helpers = FALSE, wrap = wrap)) 33: test_files(paths, reporter = reporter, env = env, stop_on_failure = stop_on_failure, stop_on_warning = stop_on_warning, wrap = wrap) 34: test_dir(path = test_path, reporter = reporter, env = env, filter = filter, ..., stop_on_failure = stop_on_failure, stop_on_warning = stop_on_warning, wrap = wrap) 35: test_package_dir(package = package, test_path = test_path, filter = filter, reporter = reporter, ..., stop_on_failure = stop_on_failure, stop_on_warning = stop_on_warning, wrap = wrap) 36: test_check("bw") An irrecoverable exception occurred. R is aborting now ... * checking for unstated dependencies in vignettes ... OK * checking package vignettes in ‘inst/doc’ ... OK * checking re-building of vignette outputs ... [125s/319s] OK * checking PDF version of manual ... OK * DONE Status: 1 ERROR, 1 NOTE See ‘/data/gannet/ripley/R/packages/tests-OpenBLAS/bw.Rcheck/00check.log’ for details. Command exited with non-zero status 1 Time 11:22.35, 282.71 + 13.03