CRAN Package Check Results for Package mssm

Last updated on 2019-07-03 01:47:30 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.1.1 299.66 58.39 358.05 OK
r-devel-linux-x86_64-debian-gcc 0.1.1 250.12 46.54 296.66 OK
r-devel-linux-x86_64-fedora-clang 0.1.1 573.23 NOTE
r-devel-linux-x86_64-fedora-gcc 0.1.1 541.02 OK
r-devel-windows-ix86+x86_64 0.1.1 686.00 221.00 907.00 NOTE
r-patched-linux-x86_64 0.1.1 297.69 58.74 356.43 OK
r-patched-solaris-x86 0.1.1 436.20 OK
r-release-linux-x86_64 0.1.1 293.51 30.64 324.15 ERROR
r-release-windows-ix86+x86_64 0.1.1 691.00 227.00 918.00 NOTE
r-release-osx-x86_64 0.1.1 NOTE
r-oldrel-windows-ix86+x86_64 0.1.1 686.00 189.00 875.00 NOTE
r-oldrel-osx-x86_64 0.1.1 NOTE

Check Details

Version: 0.1.1
Check: installed package size
Result: NOTE
     installed size is 16.6Mb
     sub-directories of 1Mb or more:
     help 1.0Mb
     libs 15.5Mb
Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-windows-ix86+x86_64, r-release-windows-ix86+x86_64, r-release-osx-x86_64, r-oldrel-windows-ix86+x86_64, r-oldrel-osx-x86_64

Version: 0.1.1
Check: examples
Result: ERROR
    Running examples in ‘mssm-Ex.R’ failed
    The error most likely occurred in:
    
    > base::assign(".ptime", proc.time(), pos = "CheckExEnv")
    > ### Name: logLik.mssm
    > ### Title: Approximate Log-likelihood for a mssm Object
    > ### Aliases: logLik.mssm logLik.mssmLaplace
    >
    > ### ** Examples
    >
    > if(require(Ecdat)){
    + # load data and fit glm to get starting values
    + data("Gasoline", package = "Ecdat")
    + glm_fit <- glm(lgaspcar ~ factor(country) + lincomep + lrpmg + lcarpcap,
    + Gamma("log"), Gasoline)
    +
    + # get object to perform estimation
    + library(mssm)
    + ll_func <- mssm(
    + fixed = formula(glm_fit), random = ~ 1, family = Gamma("log"),
    + data = Gasoline, ti = year, control = mssm_control(
    + N_part = 1000L, n_threads = 1L))
    +
    + # fit model with time-varying intercept with Laplace approximation
    + disp <- summary(glm_fit)$dispersion
    + laplace <- ll_func$Laplace(
    + cfix = coef(glm_fit), disp = disp, F. = diag(.5, 1), Q = diag(1))
    +
    + # run particle filter
    + pf <- ll_func$pf_filter(
    + cfix = laplace$cfix, disp = laplace$disp, F. = laplace$F., Q = laplace$Q)
    +
    + # compare approximate log-likelihoods
    + print(logLik(pf))
    + print(logLik(laplace))
    + }
    Loading required package: Ecdat
    Loading required package: Ecfun
    
    Attaching package: ‘Ecfun’
    
    The following object is masked from ‘package:base’:
    
     sign
    
    
    Attaching package: ‘Ecdat’
    
    The following object is masked from ‘package:datasets’:
    
     Orange
    
    
     *** caught segfault ***
    address 0x5, cause 'memory not mapped'
    
    Traceback:
     1: run_Laplace_aprx(Y = y, cfix = cfix, ws = weights, offsets = offsets, disp = disp, X = X, Z = Z, time_indices_elems = time_indices_elems - 1L, time_indices_len = time_indices_len, F = F., Q = Q, Q0 = Q0, fam = fam, mu0 = mu0, n_threads = control$n_threads, nu = control$nu, covar_fac = control$covar_fac, ftol_rel = control$ftol_rel, N_part = N_part, what = what, trace, KD_N_max = control$KD_N_max, aprx_eps = control$aprx_eps, ftol_abs = control$ftol_abs, la_ftol_rel = control$la_ftol_rel, ftol_abs_inner = control$ftol_abs_inner, la_ftol_rel_inner = control$la_ftol_rel_inner, maxeval = control$maxeval, maxeval_inner = control$maxeval_inner)
     2: ll_func$Laplace(cfix = coef(glm_fit), disp = disp, F. = diag(0.5, 1), Q = diag(1))
    An irrecoverable exception occurred. R is aborting now ...
    Segmentation fault
Flavor: r-release-linux-x86_64

Version: 0.1.1
Check: tests
Result: ERROR
     Running ‘testthat.R’ [1s/1s]
    Running the tests in ‘tests/testthat.R’ failed.
    Complete output:
     > library(testthat)
     > library(mssm)
     >
     > test_check("mssm", reporter = "summary")
     C++:
     *** caught segfault ***
     address 0x3e90000232f, cause 'unknown'
    
     Traceback:
     1: withVisible(code)
     2: force(code)
     3: withr::with_output_sink(temp, withVisible(code))
     4: eval_with_output(code, print = print, width = width)
     5: capture_output_lines(tests_passed <- .Call(run_testthat_tests))
     6: doTryCatch(return(expr), name, parentenv, handler)
     7: tryCatchOne(expr, names, parentenv, handlers[[1L]])
     8: tryCatchList(expr, classes, parentenv, handlers)
     9: tryCatch(output <- capture_output_lines(tests_passed <- .Call(run_testthat_tests)), error = function(e) { warning(sprintf("failed to call test entrypoint '%s'", run_testthat_tests)) })
     10: expect_cpp_tests_pass("mssm")
     11: eval(code, test_env)
     12: eval(code, test_env)
     13: 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)
     14: doTryCatch(return(expr), name, parentenv, handler)
     15: tryCatchOne(expr, names, parentenv, handlers[[1L]])
     16: tryCatchList(expr, names[-nh], parentenv, handlers[-nh])
     17: doTryCatch(return(expr), name, parentenv, handler)
     18: tryCatchOne(tryCatchList(expr, names[-nh], parentenv, handlers[-nh]), names[nh], parentenv, handlers[[nh]])
     19: tryCatchList(expr, classes, parentenv, handlers)
     20: 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) { })
     21: test_code(desc, code, env = parent.frame())
     22: test_that("Catch unit tests pass", { expect_cpp_tests_pass("mssm")})
     23: eval(code, test_env)
     24: eval(code, test_env)
     25: 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)
     26: doTryCatch(return(expr), name, parentenv, handler)
     27: tryCatchOne(expr, names, parentenv, handlers[[1L]])
     28: tryCatchList(expr, names[-nh], parentenv, handlers[-nh])
     29: doTryCatch(return(expr), name, parentenv, handler)
     30: tryCatchOne(tryCatchList(expr, names[-nh], parentenv, handlers[-nh]), names[nh], parentenv, handlers[[nh]])
     31: tryCatchList(expr, classes, parentenv, handlers)
     32: 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) { })
     33: test_code(NULL, exprs, env)
     34: source_file(path, new.env(parent = env), chdir = TRUE, wrap = wrap)
     35: force(code)
     36: 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() })
     37: FUN(X[[i]], ...)
     38: lapply(paths, test_file, env = env, reporter = current_reporter, start_end_reporter = FALSE, load_helpers = FALSE, wrap = wrap)
     39: force(code)
     40: with_reporter(reporter = current_reporter, results <- lapply(paths, test_file, env = env, reporter = current_reporter, start_end_reporter = FALSE, load_helpers = FALSE, wrap = wrap))
     41: test_files(paths, reporter = reporter, env = env, stop_on_failure = stop_on_failure, stop_on_warning = stop_on_warning, wrap = wrap)
     42: 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)
     43: 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)
     44: test_check("mssm", reporter = "summary")
     An irrecoverable exception occurred. R is aborting now ...
     Segmentation fault
Flavor: r-release-linux-x86_64