CRAN Package Check Results for Package ocp

Last updated on 2026-06-07 04:52:28 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.1.1 2.95 145.65 148.60 NOTE
r-devel-linux-x86_64-debian-gcc 0.1.1 2.23 99.08 101.31 ERROR
r-devel-linux-x86_64-fedora-clang 0.1.1 255.96 NOTE
r-devel-linux-x86_64-fedora-gcc 0.1.1 254.15 NOTE
r-devel-windows-x86_64 0.1.1 4.00 156.00 160.00 NOTE
r-patched-linux-x86_64 0.1.1 2.84 138.40 141.24 NOTE
r-release-linux-x86_64 0.1.1 2.86 140.33 143.19 NOTE
r-release-macos-arm64 0.1.1 1.00 38.00 39.00 NOTE
r-release-macos-x86_64 0.1.1 2.00 156.00 158.00 NOTE
r-release-windows-x86_64 0.1.1 5.00 157.00 162.00 NOTE
r-oldrel-macos-arm64 0.1.1 NOTE
r-oldrel-macos-x86_64 0.1.1 2.00 149.00 151.00 NOTE
r-oldrel-windows-x86_64 0.1.1 4.00 202.00 206.00 NOTE

Check Details

Version: 0.1.1
Check: CRAN incoming feasibility
Result: NOTE Maintainer: ‘Andrea Pagotto <ajpagotto@gmail.com>’ No Authors@R field in DESCRIPTION. Please add one, modifying Authors@R: person(given = "Andrea", family = "Pagotto", role = c("aut", "cre"), email = "ajpagotto@gmail.com") as necessary. The Description field contains and MacKay (2007) <arXiv:0710.3742> for univariate or multivariate Please refer to arXiv e-prints via their arXiv DOI <doi:10.48550/arXiv.YYMM.NNNNN>. Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc

Version: 0.1.1
Check: Rd files
Result: NOTE checkRd: (-1) onlineCPD.Rd:35: Lost braces 35 | function(x, lambda){const_hazard(x, lambda=100)} | ^ 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-x86_64

Version: 0.1.1
Check: tests
Result: ERROR Running ‘testthat.R’ [68s/88s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > library(testthat) > library(ocp) > > test_check("ocp") Saving _problems/test-ocpd-151.R Saving _problems/test-ocpd-151.R [ FAIL 2 | WARN 2 | SKIP 0 | PASS 5088 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-ocpd.R:142:7'): Data params: 1 list("g")list(list(m = 0, k = 0.01, a = 0.01, b = 1e-04))FALSE Option params: 4 list(truncRlim = 0, minRlength = 1, maxRlength = 100, minsep = 1, maxsep = 500, hazard_func = function (x, lambda) { const_hazard(x, lambda = 100) }) ── Error in `file(file, if (append) "a" else "w")`: cannot open the connection Backtrace: ▆ 1. └─testthat::capture_output(...) at test-ocpd.R:142:7 2. └─testthat::capture_output_lines(code, print, width = width) 3. └─testthat:::eval_with_output(code, print = print, width = width) 4. └─withr::with_output_sink(path, withVisible(code)) 5. └─withr:::set_output_sink(file = new, append = append, split = split) 6. └─withr:::output_sink(file = file, append = append, split = split) 7. └─base::sink(file = file, append = append, type = "output", split = split) 8. └─base::file(file, if (append) "a" else "w") ── Error ('test-ocpd.R:142:7'): Data params: 5 list("p", "p", "p", "g", "g", "g")list(list(a = 1, b = 1), list(a = 1, b = 1), list(a = 1, b = 1), list(m = 0, k = 0.01, a = 0.01, b = 1e-04), list(m = 0, k = 0.01, a = 0.01, b = 1e-04), list(m = 0, k = 0.01, a = 0.01, b = 1e-04))TRUE Option params: 7 list(truncRlim = 0.01, minRlength = 10, maxRlength = 100, minsep = 1, maxsep = 50, hazard_func = function (x, lambda) { const_hazard(x, lambda = 100) }) ── Error in `file(file, if (append) "a" else "w")`: cannot open the connection Backtrace: ▆ 1. └─testthat::capture_output(...) at test-ocpd.R:142:7 2. └─testthat::capture_output_lines(code, print, width = width) 3. └─testthat:::eval_with_output(code, print = print, width = width) 4. └─withr::with_output_sink(path, withVisible(code)) 5. └─withr:::set_output_sink(file = new, append = append, split = split) 6. └─withr:::output_sink(file = file, append = append, split = split) 7. └─base::sink(file = file, append = append, type = "output", split = split) 8. └─base::file(file, if (append) "a" else "w") [ FAIL 2 | WARN 2 | SKIP 0 | PASS 5088 ] Error: ! Test failures. Execution halted Flavor: r-devel-linux-x86_64-debian-gcc