CRAN Package Check Results for Package RABR

Last updated on 2025-05-06 20:50:50 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.1.1 2.26 39.19 41.45 ERROR
r-devel-linux-x86_64-debian-gcc 0.1.1 1.75 30.63 32.38 OK
r-devel-linux-x86_64-fedora-clang 0.1.1 65.25 NOTE
r-devel-linux-x86_64-fedora-gcc 0.1.1 75.97 NOTE
r-devel-windows-x86_64 0.1.1 4.00 362.00 366.00 OK
r-patched-linux-x86_64 0.1.1 2.20 37.34 39.54 OK
r-release-linux-x86_64 0.1.1 2.12 37.88 40.00 OK
r-release-macos-arm64 0.1.1 219.00 OK
r-release-macos-x86_64 0.1.1 395.00 OK
r-release-windows-x86_64 0.1.1 4.00 364.00 368.00 OK
r-oldrel-macos-arm64 0.1.1 211.00 OK
r-oldrel-macos-x86_64 0.1.1 332.00 OK
r-oldrel-windows-x86_64 0.1.1 5.00 482.00 487.00 OK

Check Details

Version: 0.1.1
Check: tests
Result: ERROR Running ‘testthat.R’ [2s/24s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > # This file is part of the standard setup for testthat. > # It is recommended that you do not modify it. > # > # Where should you do additional test configuration? > # Learn more about the roles of various files in: > # * https://r-pkgs.org/tests.html > # * https://testthat.r-lib.org/reference/test_package.html#special-files > > library(testthat) > library(RABR) > > test_check("RABR") Loading required package: foreach Loading required package: iterators [ FAIL 3 | WARN 0 | SKIP 0 | PASS 7 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test_continuous.R:40:3'): Length of selected probabilities is the length of number of active treatment groups ── Error in `serverSocket(port = port)`: creation of server socket failed: port 11159 cannot be opened Backtrace: ▆ 1. └─RABR::RABRcontinuous(...) at test_continuous.R:40:3 2. └─parallel::makeCluster(n.cluster) 3. └─parallel::makePSOCKcluster(names = spec, ...) 4. └─base::serverSocket(port = port) ── Error ('test_continuous.R:56:3'): Length of overall probability is 1 ──────── Error in `serverSocket(port = port)`: creation of server socket failed: port 11159 cannot be opened Backtrace: ▆ 1. └─RABR::RABRcontinuous(...) at test_continuous.R:56:3 2. └─parallel::makeCluster(n.cluster) 3. └─parallel::makePSOCKcluster(names = spec, ...) 4. └─base::serverSocket(port = port) ── Error ('test_continuous.R:72:3'): Length of ASN is the number of treatment groups ── Error in `serverSocket(port = port)`: creation of server socket failed: port 11159 cannot be opened Backtrace: ▆ 1. └─RABR::RABRcontinuous(...) at test_continuous.R:72:3 2. └─parallel::makeCluster(n.cluster) 3. └─parallel::makePSOCKcluster(names = spec, ...) 4. └─base::serverSocket(port = port) [ FAIL 3 | WARN 0 | SKIP 0 | PASS 7 ] Error: Test failures Execution halted Flavor: r-devel-linux-x86_64-debian-clang

Version: 0.1.1
Check: dependencies in R code
Result: NOTE Namespaces in Imports field not imported from: ‘asd’ ‘cubature’ ‘data.table’ ‘ggplot2’ ‘multxpert’ ‘survival’ All declared Imports should be used. Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc