CRAN Package Check Results for Package reservr

Last updated on 2025-02-19 09:51:01 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.0.3 129.59 185.48 315.07 OK
r-devel-linux-x86_64-debian-gcc 0.0.3 89.45 124.16 213.61 OK
r-devel-linux-x86_64-fedora-clang 0.0.3 488.73 ERROR
r-devel-linux-x86_64-fedora-gcc 0.0.3 508.45 ERROR
r-devel-macos-arm64 0.0.3 130.00 OK
r-devel-macos-x86_64 0.0.3 604.00 OK
r-devel-windows-x86_64 0.0.3 124.00 271.00 395.00 OK
r-patched-linux-x86_64 0.0.3 127.36 172.81 300.17 NOTE
r-release-linux-x86_64 0.0.3 125.31 172.68 297.99 NOTE
r-release-macos-arm64 0.0.3 79.00 NOTE
r-release-macos-x86_64 0.0.3 242.00 NOTE
r-release-windows-x86_64 0.0.3 125.00 309.00 434.00 NOTE
r-oldrel-macos-arm64 0.0.3 149.00 NOTE
r-oldrel-macos-x86_64 0.0.3 504.00 NOTE
r-oldrel-windows-x86_64 0.0.3 155.00 300.00 455.00 NOTE

Check Details

Version: 0.0.3
Check: examples
Result: ERROR Running examples in ‘reservr-Ex.R’ failed The error most likely occurred in: > ### Name: quantile.Distribution > ### Title: Quantiles of Distributions > ### Aliases: quantile.Distribution > > ### ** Examples > > # With quantiles available > dist <- dist_normal(sd = 1) > qqs <- quantile(dist, probs = rep(0.5, 3), with_params = list(mean = 1:3)) > stopifnot(all.equal(qqs, 1:3)) > > # Without quantiles available > dist <- dist_erlangmix(shapes = list(1, 2, 3), scale = 1.0) > my_probs <- c(0, 0.01, 0.25, 0.5, 0.75, 1) > qqs <- quantile( + dist, probs = my_probs, + with_params = list(probs = list(0.5, 0.3, 0.2)), .start = 2 + ) Error in uniroot(diff_prob, lower = q0_min, upper = .start, prob_target = prob) : lower < upper is not fulfilled Calls: quantile -> quantile.Distribution -> uniroot Execution halted Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc

Version: 0.0.3
Check: tests
Result: ERROR Running ‘testthat.R’ [35s/42s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > library(testthat) > library(reservr) > > test_check("reservr") ── Skip ('/data/gannet/ripley/R/packages/tests-clang/reservr.Rcheck/tests/testthat/helpers.R:13:3'): set floatx to 64-bit ── Reason: TensorFlow not available for testing [ FAIL 8 | WARN 0 | SKIP 29 | PASS 1205 ] ══ Skipped tests (29) ══════════════════════════════════════════════════════════ • TensorFlow not available for testing (29): 'test-dist_beta.R:16:3', 'test-dist_binomial.R:26:3', 'test-dist_blended.R:108:3', 'test-dist_dirac.R:25:3', 'test-dist_discrete.R:39:3', 'test-dist_erlangmix.R:67:3', 'test-dist_erlangmix.R:112:3', 'test-dist_exponential.R:17:3', 'test-dist_gamma.R:17:3', 'test-dist_genpareto.R:42:5', 'test-dist_lognormal.R:17:3', 'test-dist_mixture.R:60:3', 'test-dist_negbinomial.R:18:3', 'test-dist_normal.R:17:3', 'test-dist_pareto.R:17:3', 'test-dist_poisson.R:18:3', 'test-dist_translate.R:56:3', 'test-dist_trunc.R:42:3', 'test-dist_uniform.R:21:3', 'test-dist_weibull.R:17:3', 'test-interval.R:159:3', 'test-tf_fit.R:2:3', 'test-tf_fit.R:74:3', 'test-tf_fit.R:127:3', 'test-tf_fit.R:179:3', 'test-tf_fit.R:239:3', 'test-tf_fit.R:281:3', 'test-tf_fit.R:332:3', 'test-tf_initialise.R:2:3' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Failure ('test-dist_erlangmix.R:16:3'): erlang mixture distribution works ─── `fit(dist, x, init = "shapes", shapes = as.numeric(params$shapes))` produced output. ── Failure ('test-dist_erlangmix.R:18:3'): erlang mixture distribution works ─── `fit(dist, x, init = "fan", spread = 3L)` produced output. ── Failure ('test-dist_erlangmix.R:20:3'): erlang mixture distribution works ─── `fit(dist, x, init = "kmeans")` produced output. ── Failure ('test-dist_erlangmix.R:21:3'): erlang mixture distribution works ─── `fit(dist, x, init = "cmm")` produced output. ── Failure ('test-dist_mixture.R:21:3'): test dist_mixture ───────────────────── `fit(dist, x)` produced output. ── Failure ('test-distribution_generics.R:18:3'): fit_dist_direct works ──────── `fit_result <- fit_dist(dist, x)` produced output. ── Failure ('test-distribution_generics.R:19:3'): fit_dist_direct works ──────── `direct_fit_result <- fit_dist_direct(dist, x)` produced output. ── Error ('test-distribution_methods.R:10:3'): test quantile.Distribution ────── Error in `uniroot(diff_prob, lower = q0_min, upper = .start, prob_target = prob)`: lower < upper is not fulfilled Backtrace: ▆ 1. ├─testthat::expect_equal(quantile(dist, p, start = 0), x, tolerance = 1e-04) at test-distribution_methods.R:10:3 2. │ └─testthat::quasi_label(enquo(object), label, arg = "object") 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. ├─stats::quantile(dist, p, start = 0) 5. └─reservr:::quantile.Distribution(dist, p, start = 0) 6. └─stats::uniroot(diff_prob, lower = q0_min, upper = .start, prob_target = prob) [ FAIL 8 | WARN 0 | SKIP 29 | PASS 1205 ] Error: Test failures Execution halted Flavor: r-devel-linux-x86_64-fedora-clang

Version: 0.0.3
Check: tests
Result: ERROR Running ‘testthat.R’ [35s/43s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > library(testthat) > library(reservr) > > test_check("reservr") ── Skip ('/data/gannet/ripley/R/packages/tests-devel/reservr.Rcheck/tests/testthat/helpers.R:13:3'): set floatx to 64-bit ── Reason: TensorFlow not available for testing [ FAIL 8 | WARN 0 | SKIP 29 | PASS 1205 ] ══ Skipped tests (29) ══════════════════════════════════════════════════════════ • TensorFlow not available for testing (29): 'test-dist_beta.R:16:3', 'test-dist_binomial.R:26:3', 'test-dist_blended.R:108:3', 'test-dist_dirac.R:25:3', 'test-dist_discrete.R:39:3', 'test-dist_erlangmix.R:67:3', 'test-dist_erlangmix.R:112:3', 'test-dist_exponential.R:17:3', 'test-dist_gamma.R:17:3', 'test-dist_genpareto.R:42:5', 'test-dist_lognormal.R:17:3', 'test-dist_mixture.R:60:3', 'test-dist_negbinomial.R:18:3', 'test-dist_normal.R:17:3', 'test-dist_pareto.R:17:3', 'test-dist_poisson.R:18:3', 'test-dist_translate.R:56:3', 'test-dist_trunc.R:42:3', 'test-dist_uniform.R:21:3', 'test-dist_weibull.R:17:3', 'test-interval.R:159:3', 'test-tf_fit.R:2:3', 'test-tf_fit.R:74:3', 'test-tf_fit.R:127:3', 'test-tf_fit.R:179:3', 'test-tf_fit.R:239:3', 'test-tf_fit.R:281:3', 'test-tf_fit.R:332:3', 'test-tf_initialise.R:2:3' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Failure ('test-dist_erlangmix.R:16:3'): erlang mixture distribution works ─── `fit(dist, x, init = "shapes", shapes = as.numeric(params$shapes))` produced output. ── Failure ('test-dist_erlangmix.R:18:3'): erlang mixture distribution works ─── `fit(dist, x, init = "fan", spread = 3L)` produced output. ── Failure ('test-dist_erlangmix.R:20:3'): erlang mixture distribution works ─── `fit(dist, x, init = "kmeans")` produced output. ── Failure ('test-dist_erlangmix.R:21:3'): erlang mixture distribution works ─── `fit(dist, x, init = "cmm")` produced output. ── Failure ('test-dist_mixture.R:21:3'): test dist_mixture ───────────────────── `fit(dist, x)` produced output. ── Failure ('test-distribution_generics.R:18:3'): fit_dist_direct works ──────── `fit_result <- fit_dist(dist, x)` produced output. ── Failure ('test-distribution_generics.R:19:3'): fit_dist_direct works ──────── `direct_fit_result <- fit_dist_direct(dist, x)` produced output. ── Error ('test-distribution_methods.R:10:3'): test quantile.Distribution ────── Error in `uniroot(diff_prob, lower = q0_min, upper = .start, prob_target = prob)`: lower < upper is not fulfilled Backtrace: ▆ 1. ├─testthat::expect_equal(quantile(dist, p, start = 0), x, tolerance = 1e-04) at test-distribution_methods.R:10:3 2. │ └─testthat::quasi_label(enquo(object), label, arg = "object") 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. ├─stats::quantile(dist, p, start = 0) 5. └─reservr:::quantile.Distribution(dist, p, start = 0) 6. └─stats::uniroot(diff_prob, lower = q0_min, upper = .start, prob_target = prob) [ FAIL 8 | WARN 0 | SKIP 29 | PASS 1205 ] Error: Test failures Execution halted Flavor: r-devel-linux-x86_64-fedora-gcc

Version: 0.0.3
Check: for GNU extensions in Makefiles
Result: NOTE GNU make is a SystemRequirements. Flavors: 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.0.3
Check: installed package size
Result: NOTE installed size is 17.3Mb sub-directories of 1Mb or more: R 2.1Mb doc 1.2Mb libs 13.8Mb Flavors: r-release-macos-arm64, r-release-macos-x86_64, r-oldrel-macos-arm64, r-oldrel-macos-x86_64