Last updated on 2025-02-23 15:49:55 CET.
Flavor | Version | Tinstall | Tcheck | Ttotal | Status | Flags |
---|---|---|---|---|---|---|
r-devel-linux-x86_64-debian-clang | 0.0.3 | 138.58 | 186.30 | 324.88 | OK | |
r-devel-linux-x86_64-debian-gcc | 0.0.3 | 82.78 | 127.08 | 209.86 | OK | |
r-devel-linux-x86_64-fedora-clang | 0.0.3 | 490.50 | 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 | 134.38 | 174.63 | 309.01 | NOTE | |
r-release-linux-x86_64 | 0.0.3 | 125.99 | 172.84 | 298.83 | 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 | 128.00 | 266.00 | 394.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 | 158.00 | 336.00 | 494.00 | NOTE |
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’ [36s/49s]
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
These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.
Health stats visible at Monitor.