CRAN Package Check Results for Package bayesGAM

Last updated on 2021-04-20 01:46:58 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.0.1 652.43 222.31 874.74 NOTE
r-devel-linux-x86_64-debian-gcc 0.0.1 497.97 194.09 692.06 NOTE
r-devel-linux-x86_64-fedora-clang 0.0.1 1156.48 NOTE
r-devel-linux-x86_64-fedora-gcc 0.0.1 1174.40 NOTE
r-devel-windows-ix86+x86_64 0.0.1 956.00 417.00 1373.00 NOTE
r-devel-windows-x86_64-gcc10-UCRT 0.0.1 WARN
r-patched-linux-x86_64 0.0.1 534.40 238.58 772.98 NOTE
r-patched-solaris-x86 0.0.1 1053.70 NOTE
r-release-linux-x86_64 0.0.1 514.90 238.33 753.23 NOTE
r-release-macos-x86_64 0.0.1 NOTE
r-release-windows-ix86+x86_64 0.0.1 1221.00 558.00 1779.00 NOTE
r-oldrel-macos-x86_64 0.0.1 ERROR
r-oldrel-windows-ix86+x86_64 0.0.1 868.00 415.00 1283.00 NOTE

Check Details

Version: 0.0.1
Check: for GNU extensions in Makefiles
Result: NOTE
    GNU make is a SystemRequirements.
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-devel-windows-ix86+x86_64, r-devel-windows-x86_64-gcc10-UCRT, r-patched-linux-x86_64, r-patched-solaris-x86, r-release-linux-x86_64, r-release-macos-x86_64, r-release-windows-ix86+x86_64, r-oldrel-macos-x86_64, r-oldrel-windows-ix86+x86_64

Version: 0.0.1
Check: installed package size
Result: NOTE
     installed size is 91.2Mb
     sub-directories of 1Mb or more:
     libs 90.2Mb
Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-windows-ix86+x86_64, r-patched-solaris-x86, r-release-macos-x86_64, r-release-windows-ix86+x86_64, r-oldrel-macos-x86_64, r-oldrel-windows-ix86+x86_64

Version: 0.0.1
Check: dependencies in R code
Result: NOTE
    Namespaces in Imports field not imported from:
     ‘MASS’ ‘RcppParallel’ ‘mlbench’ ‘rstantools’
     All declared Imports should be used.
Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-devel-windows-x86_64-gcc10-UCRT, r-patched-solaris-x86, r-release-macos-x86_64, r-oldrel-macos-x86_64

Version: 0.0.1
Check: line endings in Makefiles
Result: WARN
    Found the following Makefile(s) with CR or CRLF line endings:
     src/Makevars
    Some Unix 'make' programs require LF line endings.
Flavor: r-devel-windows-x86_64-gcc10-UCRT

Version: 0.0.1
Check: examples
Result: ERROR
    Running examples in ‘bayesGAM-Ex.R’ failed
    The error most likely occurred in:
    
    > ### Name: L
    > ### Title: Lag function for autoregressive models
    > ### Aliases: L
    >
    > ### ** Examples
    >
    > x <- rnorm(20)
    > id <- rep(1:4, each=5)
    > L(x, 1:2, id)
     Lx1 Lx2
     [1,] NA NA
     [2,] -0.62645381 NA
     [3,] 0.18364332 -0.62645381
     [4,] -0.83562861 0.18364332
     [5,] 1.59528080 -0.83562861
     [6,] NA NA
     [7,] -0.82046838 NA
     [8,] 0.48742905 -0.82046838
     [9,] 0.73832471 0.48742905
    [10,] 0.57578135 0.73832471
    [11,] NA NA
    [12,] 1.51178117 NA
    [13,] 0.38984324 1.51178117
    [14,] -0.62124058 0.38984324
    [15,] -2.21469989 -0.62124058
    [16,] NA NA
    [17,] -0.04493361 NA
    [18,] -0.01619026 -0.04493361
    [19,] 0.94383621 -0.01619026
    [20,] 0.82122120 0.94383621
    >
    > # autoregressive
    > ar.ols(lh, demean = FALSE, intercept=TRUE, order=1)
    
    Call:
    ar.ols(x = lh, order.max = 1, demean = FALSE, intercept = TRUE)
    
    Coefficients:
     1
    0.586
    
    Intercept: 0.9999 (0.2937)
    
    Order selected 1 sigma^2 estimated as 0.2016
    > f <- bayesGAM(lh ~ L(lh), family=gaussian)
    
    SAMPLING FOR MODEL 'glmm_continuous' NOW (CHAIN 1).
    Chain 1:
    Chain 1: Gradient evaluation took 8.4e-05 seconds
    Chain 1: 1000 transitions using 10 leapfrog steps per transition would take 0.84 seconds.
    Chain 1: Adjust your expectations accordingly!
    Chain 1:
    Chain 1:
    Chain 1: Iteration: 1 / 2000 [ 0%] (Warmup)
    [1] "Error in sampler$call_sampler(args_list[[i]]) : "
    [2] " c++ exception (unknown reason)"
    error occurred during calling the sampler; sampling not done
    > coef(f)
    Error in apply(sims, 2, FUN) : dim(X) must have a positive length
    Calls: coef ... .local -> coefficients -> coefficients -> .local -> apply
    Execution halted
Flavor: r-oldrel-macos-x86_64

Version: 0.0.1
Check: tests
Result: ERROR
     Running ‘testthat.R’ [5s/5s]
    Running the tests in ‘tests/testthat.R’ failed.
    Last 13 lines of output:
     ── Error (test_hmc.R:8:3): hmc testing ─────────────────────────────────────────
     Error: dim(X) must have a positive length
     Backtrace:
     █
     1. ├─stats::coef(f1) test_hmc.R:8:2
     2. └─bayesGAM::coef(f1)
     3. └─bayesGAM:::.local(object, ...)
     4. ├─stats::coefficients(object, params = params, FUN = FUN)
     5. └─bayesGAM::coefficients(object, params = params, FUN = FUN)
     6. └─bayesGAM:::.local(object, ...)
     7. └─base::apply(sims, 2, FUN)
    
     [ FAIL 2 | WARN 2 | SKIP 0 | PASS 2 ]
     Error: Test failures
     Execution halted
Flavor: r-oldrel-macos-x86_64