CRAN Package Check Results for Package BTYDplus

Last updated on 2018-05-24 17:49:13 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 1.0.1 19.89 353.26 373.15 NOTE
r-devel-linux-x86_64-debian-gcc 1.0.1 18.63 300.09 318.72 NOTE
r-devel-linux-x86_64-fedora-clang 1.0.1 567.77 NOTE
r-devel-linux-x86_64-fedora-gcc 1.0.1 499.86 NOTE
r-devel-windows-ix86+x86_64 1.0.1 35.00 408.00 443.00 ERROR --no-vignettes
r-patched-linux-x86_64 1.0.1 18.77 373.40 392.17 NOTE
r-patched-solaris-x86 1.0.1 876.60 OK
r-release-linux-x86_64 1.0.1 23.67 387.57 411.24 NOTE
r-release-windows-ix86+x86_64 1.0.1 49.00 359.00 408.00 OK --no-vignettes
r-release-osx-x86_64 1.0.1 OK
r-oldrel-windows-ix86+x86_64 1.0.1 46.00 522.00 568.00 OK --no-vignettes
r-oldrel-osx-x86_64 1.0.1 NOTE

Check Details

Version: 1.0.1
Check: compiled code
Result: NOTE
    File ‘BTYDplus/libs/BTYDplus.so’:
     Found no calls to: ‘R_registerRoutines’, ‘R_useDynamicSymbols’
    
    It is good practice to register native routines and to disable symbol
    search.
    
    See ‘Writing portable packages’ in the ‘Writing R Extensions’ manual.
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, r-patched-linux-x86_64, r-release-linux-x86_64

Version: 1.0.1
Flags: --no-vignettes
Check: running examples for arch ‘i386’
Result: ERROR
    Running examples in 'BTYDplus-Ex.R' failed
    The error most likely occurred in:
    
    > ### Name: mcmc.PActive
    > ### Title: Calculates P(active) based on drawn future transactions.
    > ### Aliases: mcmc.PActive
    >
    > ### ** Examples
    >
    > data("groceryElog")
    > cbs <- elog2cbs(groceryElog, T.cal = "2006-12-31")
    > param.draws <- pnbd.mcmc.DrawParameters(cbs,
    + mcmc = 200, burnin = 100, thin = 20, chains = 1) # short MCMC to run demo fast
    set param_init: 0.8389, 6.0603, 0.3478, 4.3907
    chain: 1 step: 100 of 300
    chain: 1 step: 200 of 300
    chain: 1 step: 300 of 300
    > xstar.draws <- mcmc.DrawFutureTransactions(cbs, param.draws)
    Error: memory exhausted (limit reached?)
    Execution halted
    Error: 'Calloc' could not allocate memory (2757 of 1 bytes)
    Fatal error: error during cleanup
Flavor: r-devel-windows-ix86+x86_64

Version: 1.0.1
Flags: --no-vignettes
Check: running tests for arch ‘i386’
Result: ERROR
     Running 'testthat.R' [55s]
    Running the tests in 'tests/testthat.R' failed.
    Complete output:
     > library(testthat)
     > library(BTYDplus)
     >
     > test_check("BTYDplus")
     set param_init: 1, 1, 1, 1
     chain: 1 step: 100 of 110
     chain: 2 step: 100 of 110
     chain: 1 step: 100 of 110
     chain: 2 step: 100 of 110
     set param_init: 1, 1, 1, 1, 1, 1
     -- 1. Error: MCMC Helpers -----------------------------------------------------
     memory exhausted (limit reached?)
     1: test_code(desc, code, env = parent.frame())
     2: 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) {
     })
     3: tryCatchList(expr, classes, parentenv, handlers)
     4: tryCatchOne(tryCatchList(expr, names[-nh], parentenv, handlers[-nh]), names[nh],
     parentenv, handlers[[nh]])
     5: doTryCatch(return(expr), name, parentenv, handler)
     6: tryCatchList(expr, names[-nh], parentenv, handlers[-nh])
     7: tryCatchOne(expr, names, parentenv, handlers[[1L]])
     8: value[[3L]](cond)
    
     chain: 1 step: 100 of 120
     chain: 2 step: 100 of 120
     == testthat results ===========================================================
     OK: 141 SKIPPED: 5 FAILED: 1
     1. Error: MCMC Helpers
    
     Error: testthat unit tests failed
     Execution halted
Flavor: r-devel-windows-ix86+x86_64

Version: 1.0.1
Check: package dependencies
Result: NOTE
    Package suggested but not available for checking: ‘gsl’
Flavor: r-oldrel-osx-x86_64