CRAN Package Check Results for Package rbmi

Last updated on 2022-11-09 03:57:50 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 1.2.1 146.84 334.49 481.33 NOTE
r-devel-linux-x86_64-debian-gcc 1.2.1 125.30 246.27 371.57 NOTE
r-devel-linux-x86_64-fedora-clang 1.2.1 626.83 ERROR
r-devel-linux-x86_64-fedora-gcc 1.2.1 637.23 NOTE
r-devel-windows-x86_64 1.2.1 165.00 450.00 615.00 NOTE
r-patched-linux-x86_64 1.2.1 139.53 313.23 452.76 NOTE
r-release-linux-x86_64 1.2.1 120.62 309.75 430.37 NOTE
r-release-macos-arm64 1.2.1 127.00 NOTE
r-release-macos-x86_64 1.2.1 234.00 NOTE
r-release-windows-x86_64 1.2.1 172.00 429.00 601.00 NOTE
r-oldrel-macos-arm64 1.2.1 132.00 NOTE
r-oldrel-macos-x86_64 1.2.1 225.00 NOTE
r-oldrel-windows-ix86+x86_64 1.2.1 290.00 494.00 784.00 NOTE

Check Details

Version: 1.2.1
Check: R code for possible problems
Result: NOTE
    Found the following calls to attach():
    File 'rbmi/R/parallel.R':
     attach(getNamespace("rbmi"))
    See section 'Good practice' in '?attach'.
Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, r-patched-linux-x86_64, r-release-linux-x86_64

Version: 1.2.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-x86_64, r-patched-linux-x86_64, r-release-linux-x86_64, r-release-macos-arm64, r-release-macos-x86_64, r-release-windows-x86_64, r-oldrel-macos-arm64, r-oldrel-macos-x86_64, r-oldrel-windows-ix86+x86_64

Version: 1.2.1
Check: dependencies in R code
Result: NOTE
    Namespaces in Imports field not imported from:
     ‘RcppParallel’ ‘rstantools’
     All declared Imports should be used.
Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-release-macos-arm64, r-release-macos-x86_64, r-oldrel-macos-arm64, r-oldrel-macos-x86_64

Version: 1.2.1
Check: tests
Result: ERROR
     Running ‘testthat.R’ [185s/493s]
    Running the tests in ‘tests/testthat.R’ failed.
    Complete output:
     > library(testthat)
     > library(rbmi)
     >
     > test_check("rbmi")
     [ FAIL 1 | WARN 0 | SKIP 12 | PASS 1033 ]
    
     ══ Skipped tests ═══════════════════════════════════════════════════════════════
     • is_full_test() is not TRUE (12)
    
     ══ Failed tests ════════════════════════════════════════════════════════════════
     ── Failure ('test-mmrm.R:379'): MMRM returns expected estimates under different model specifications ──
     `fit_actual` (`actual`) not equal to `fit_expected` (`expected`).
    
     actual$beta | expected$beta
     [1] 5.52 - 5.57 [1]
     [2] 2.94 - 2.87 [2]
     [3] -1.17 - -1.03 [3]
     [4] 0.32 - 0.48 [4]
     [5] 3.14 - 3.18 [5]
     [6] 3.48 - 3.54 [6]
     [7] -0.17 - -0.24 [7]
     [8] -0.52 - -1.07 [8]
     [9] 0.28 - 0.23 [9]
     [10] 1.75 - 1.71 [10]
     ... ... ... and 2 more ...
    
     actual$sigma$A vs expected$sigma$A
     [,1] [,2] [,3]
     - actual$sigma$A[1, ] 102.168132 78.426618 112.08161
     + expected$sigma$A[1, ] 21.954743 8.574749 24.90025
     - actual$sigma$A[2, ] 78.426618 71.857836 88.50042
     + expected$sigma$A[2, ] 8.574749 10.796285 12.97493
     - actual$sigma$A[3, ] 112.081606 88.500416 145.28145
     + expected$sigma$A[3, ] 24.900249 12.974927 51.80736
    
     actual$sigma$B vs expected$sigma$B
     [,1] [,2] [,3]
     - actual$sigma$B[1, ] 121.158597 87.501460 134.948362
     + expected$sigma$B[1, ] 34.097158 5.350615 38.277396
     - actual$sigma$B[2, ] 87.501460 89.989775 102.791785
     + expected$sigma$B[2, ] 5.350615 8.307257 4.823669
     - actual$sigma$B[3, ] 134.948362 102.791785 194.258009
     + expected$sigma$B[3, ] 38.277396 4.823669 78.642838
     Backtrace:
     ▆
     1. └─rbmi (local) runtests(FALSE, FALSE) at test-mmrm.R:379:4
     2. └─rbmi (local) test_mmrm_numeric(dat, formula_expr, same_cov, scale) at test-mmrm.R:354:8
     3. └─testthat::expect_equal(fit_actual, fit_expected) at test-mmrm.R:153:8
    
     [ FAIL 1 | WARN 0 | SKIP 12 | PASS 1033 ]
     Error: Test failures
     Execution halted
Flavor: r-devel-linux-x86_64-fedora-clang

Version: 1.2.1
Check: installed package size
Result: NOTE
     installed size is 40.6Mb
     sub-directories of 1Mb or more:
     libs 39.4Mb
Flavors: r-release-macos-arm64, r-release-macos-x86_64, r-oldrel-macos-arm64, r-oldrel-macos-x86_64, r-oldrel-windows-ix86+x86_64