CRAN Package Check Results for Package umx

Last updated on 2019-08-23 13:47:07 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 2.10.0 29.30 385.63 414.93 NOTE
r-devel-linux-x86_64-debian-gcc 2.10.0 NOTE
r-devel-linux-x86_64-fedora-clang 2.10.0 449.77 NOTE
r-devel-linux-x86_64-fedora-gcc 2.10.0 449.50 NOTE
r-devel-windows-ix86+x86_64 2.10.0 47.00 386.00 433.00 OK
r-patched-linux-x86_64 2.10.0 29.41 354.35 383.76 OK
r-patched-solaris-x86 2.10.0 352.40 ERROR
r-release-linux-x86_64 2.10.0 28.68 356.01 384.69 OK
r-release-windows-ix86+x86_64 2.10.0 80.00 547.00 627.00 OK
r-release-osx-x86_64 2.9.9 OK
r-oldrel-windows-ix86+x86_64 2.10.0 54.00 452.00 506.00 OK
r-oldrel-osx-x86_64 2.10.0 NOTE

Check Details

Version: 2.10.0
Check: for non-standard things in the check directory
Result: NOTE
    Found the following files/directories:
     '#_Model_14_PROCESS_Hayes_x_moderated_mediationgnt_x_axcbINT_x_b1xgnt_x_b2xcn_x_b3xcngn_x_cxcbindirect_xx_axb1direct_xx_cab3_xx_a_x_b3loCN_xx_a_x_b1_x_ab3_x_x0x5hiCN_xx_a_x_b1_x_ab3_x_0x5.gv'
     'ACE.gv' 'ACEcov.gv' 'ACEv.gv' 'ADE.gv' 'AE.gv' 'CFA_sketch.gv'
     'IPa1c1e1.gv' 'IV Model.gv'
     'Model_14_PROCESS_Hayes_x_x_'x',_'x',_and_'x_moderated_mediation.gv'
     'One Factor.gv' 'One Factor.omx' 'SNP_1One Factor.omx' 'fromEach with
     to.gv' 'grow.gv' 'lm_based.gv' 'm1.gv' 'myModel.gv' 'my_name.gv'
     'no_C.gv' 'raw_bmi.gv' 'reflective.gv' 'resid.gv' 'ring around the
     rosey.gv' 'tim.gv' 'what does unique pairs do, I wonder.gv'
Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc

Version: 2.10.0
Check: dependencies in R code
Result: NOTE
    Namespaces in Imports field not imported from:
     ‘numDeriv’ ‘sfsmisc’
     All declared Imports should be used.
Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-patched-solaris-x86, r-oldrel-osx-x86_64

Version: 2.10.0
Check: examples
Result: ERROR
    Running examples in ‘umx-Ex.R’ failed
    The error most likely occurred in:
    
    > ### Name: residuals.MxModel
    > ### Title: Get residuals from an MxModel
    > ### Aliases: residuals.MxModel
    >
    > ### ** Examples
    >
    > require(umx)
    > data(demoOneFactor)
    > latents = c("g")
    > manifests = names(demoOneFactor)
    > m1 = umxRAM("One Factor", data = demoOneFactor, type = "cov",
    + umxPath(latents, to = manifests),
    + umxPath(var = manifests),
    + umxPath(var = latents, fixedAt = 1.0)
    + )
    A latent variable 'g' was created.
    Running One Factor with 10 parameters
    Error: C stack usage 252089492 is too close to the limit
    Error incurred trying to run model: model = mxTryHard(model) might help?
    The job for model 'One Factor' exited abnormally with the error message: User interrupt>
    > # ===================================
    > # = Show the residuals of the model =
    > # ===================================
    > residuals(m1)
    Error in dimnames(expCov) <- list(manifestNames, manifestNames) :
     attempt to set an attribute on NULL
    Calls: residuals -> residuals.MxModel -> umxExpCov
    Execution halted
Flavor: r-patched-solaris-x86

Version: 2.10.0
Check: tests
Result: ERROR
     Running ‘testthat.R’ [11s/37s]
    Running the tests in ‘tests/testthat.R’ failed.
    Complete output:
     > library(testthat)
     > library(umx)
     Loading required package: OpenMx
     To take full advantage of multiple cores, use:
     mxOption(key='Number of Threads', value=parallel::detectCores()) #now
     Sys.setenv(OMP_NUM_THREADS=parallel::detectCores()) #before library(OpenMx)
     For an overview type '?umx'
    
     Attaching package: 'umx'
    
     The following object is masked from 'package:stats':
    
     loadings
    
     >
     > test_check("umx")
     Error: C stack usage 252220564 is too close to the limit
     ── 1. Error: (unknown) (@test_residuals.MxModel.r#16) ─────────────────────────
     The job for model 'test' exited abnormally with the error message: User interrupt
     1: umxRAM("test", data = mxData(cov(demoOneFactor), type = "cov", numObs = 500), umxPath(latents,
     to = manifests), umxPath(var = manifests), umxPath(var = latents, fixedAt = 1)) at testthat/test_residuals.MxModel.r:16
     2: xmu_safe_run_summary(newModel, autoRun = autoRun, tryHard = tryHard)
     3: tryCatch({
     if (tryHard == "no") {
     model1 = mxRun(model1)
     }
     else if (tryHard == "mxTryHard") {
     model1 = mxTryHard(model1)
     }
     else if (tryHard == "mxTryHardOrdinal") {
     model1 = mxTryHardOrdinal(model1)
     }
     else if (tryHard == "mxTryHardWideSearch") {
     model1 = mxTryHardWideSearch(model1)
     }
     }, error = function(e) {
     if (tryHard == "no") {
     message("Error incurred trying to run model: model = mxTryHard(model) might help?")
     }
     else {
     message("Error incurred trying to run model")
     }
     message(e)
     })
     4: tryCatchList(expr, classes, parentenv, handlers)
     5: tryCatchOne(expr, names, parentenv, handlers[[1L]])
     6: value[[3L]](cond)
     7: message(e)
     8: withRestarts({
     signalCondition(cond)
     defaultHandler(cond)
     }, muffleMessage = function() NULL)
     9: withOneRestart(expr, restarts[[1L]])
     10: doWithOneRestart(return(expr), restart)
    
    
     *** caught segfault ***
     address fbfe9870, cause 'memory not mapped'
    
     Traceback:
     1: runHelper(model, frontendStart, intervals, silent, suppressWarnings, unsafe, checkpoint, useSocket, onlyFrontend, useOptimizer, beginMessage)
     2: mxRun(m2, intervals = TRUE)
     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(NULL, exprs, env)
     14: source_file(path, new.env(parent = env), chdir = TRUE, wrap = wrap)
     15: force(code)
     16: with_reporter(reporter = reporter, start_end_reporter = start_end_reporter, { reporter$start_file(basename(path)) lister$start_file(basename(path)) source_file(path, new.env(parent = env), chdir = TRUE, wrap = wrap) reporter$.end_context() reporter$end_file() })
     17: FUN(X[[i]], ...)
     18: lapply(paths, test_file, env = env, reporter = current_reporter, start_end_reporter = FALSE, load_helpers = FALSE, wrap = wrap)
     19: force(code)
     20: with_reporter(reporter = current_reporter, results <- lapply(paths, test_file, env = env, reporter = current_reporter, start_end_reporter = FALSE, load_helpers = FALSE, wrap = wrap))
     21: test_files(paths, reporter = reporter, env = env, stop_on_failure = stop_on_failure, stop_on_warning = stop_on_warning, wrap = wrap)
     22: 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)
     23: 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)
     24: test_check("umx")
     An irrecoverable exception occurred. R is aborting now ...
Flavor: r-patched-solaris-x86