CRAN Package Check Results for Package distributions3

Last updated on 2025-01-07 07:48:27 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.2.2 ERROR
r-devel-linux-x86_64-debian-gcc 0.2.2 7.20 113.79 120.99 ERROR
r-devel-linux-x86_64-fedora-clang 0.2.2 283.24 OK
r-devel-linux-x86_64-fedora-gcc 0.2.2 287.62 OK
r-devel-windows-x86_64 0.2.2 15.00 220.00 235.00 OK
r-patched-linux-x86_64 0.2.2 16.76 153.02 169.78 OK
r-release-linux-x86_64 0.2.2 10.39 155.35 165.74 OK
r-release-macos-arm64 0.2.2 87.00 OK
r-release-macos-x86_64 0.2.2 142.00 OK
r-release-windows-x86_64 0.2.2 15.00 204.00 219.00 OK
r-oldrel-macos-arm64 0.2.2 95.00 OK
r-oldrel-macos-x86_64 0.2.2 170.00 OK
r-oldrel-windows-x86_64 0.2.2 19.00 249.00 268.00 OK

Check Details

Version: 0.2.2
Check: examples
Result: ERROR Running examples in ‘distributions3-Ex.R’ failed The error most likely occurred in: > base::assign(".ptime", proc.time(), pos = "CheckExEnv") > ### Name: Frechet > ### Title: Create a Frechet distribution > ### Aliases: Frechet > > ### ** Examples > > > set.seed(27) > > X <- Frechet(0, 2) > X [1] "Frechet(location = 0, scale = 2, shape = 1)" > > random(X, 10) Error in loadNamespace(x) : there is no package called ‘revdbayes’ Calls: random ... loadNamespace -> withRestarts -> withOneRestart -> doWithOneRestart Execution halted Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc

Version: 0.2.2
Check: tests
Result: ERROR Running ‘testthat.R’ [39s/24s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > library(testthat) > library(distributions3) Attaching package: 'distributions3' The following object is masked from 'package:stats': Gamma The following object is masked from 'package:grDevices': pdf > > test_check("distributions3") Starting 2 test processes [ FAIL 40 | WARN 4 | SKIP 0 | PASS 2364 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-Frechet.R:31:3'): random.Frechet works correctly ─────────────── <packageNotFoundError/error/condition> Error in `loadNamespace(x)`: there is no package called 'revdbayes' Backtrace: ▆ 1. ├─testthat::expect_length(random(g1), 1) at test-Frechet.R:31:3 2. │ └─testthat::quasi_label(enquo(object), arg = "object") 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. ├─distributions3::random(g1) 5. ├─distributions3:::random.Frechet(g1) 6. │ └─distributions3::apply_dpqr(...) 7. │ └─distributions3 (local) FUN(at, d = d, ...) 8. └─base::loadNamespace(x) 9. └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL) 10. └─base (local) withOneRestart(expr, restarts[[1L]]) 11. └─base (local) doWithOneRestart(return(expr), restart) ── Error ('test-Frechet.R:45:3'): pdf.Frechet works correctly ────────────────── <packageNotFoundError/error/condition> Error in `loadNamespace(x)`: there is no package called 'revdbayes' Backtrace: ▆ 1. ├─testthat::expect_equal(...) at test-Frechet.R:45:3 2. │ └─testthat::quasi_label(enquo(object), label, arg = "object") 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. ├─base::unname(pdf(g1, x1)) 5. ├─distributions3::pdf(g1, x1) 6. ├─distributions3:::pdf.Frechet(g1, x1) 7. │ └─distributions3::apply_dpqr(...) 8. │ └─base::vapply(at, FUN, numeric(n), d = d, ...) 9. │ └─distributions3 (local) FUN(X[[i]], ...) 10. └─base::loadNamespace(x) 11. └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL) 12. └─base (local) withOneRestart(expr, restarts[[1L]]) 13. └─base (local) doWithOneRestart(return(expr), restart) ── Error ('test-Frechet.R:53:3'): log_pdf.Frechet works correctly ────────────── <packageNotFoundError/error/condition> Error in `loadNamespace(x)`: there is no package called 'revdbayes' Backtrace: ▆ 1. ├─testthat::expect_equal(...) at test-Frechet.R:53:3 2. │ └─testthat::quasi_label(enquo(object), label, arg = "object") 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. ├─base::unname(log_pdf(g1, x1)) 5. ├─distributions3::log_pdf(g1, x1) 6. ├─distributions3:::log_pdf.Frechet(g1, x1) 7. │ └─distributions3::apply_dpqr(...) 8. │ └─base::vapply(at, FUN, numeric(n), d = d, ...) 9. │ └─distributions3 (local) FUN(X[[i]], ...) 10. └─base::loadNamespace(x) 11. └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL) 12. └─base (local) withOneRestart(expr, restarts[[1L]]) 13. └─base (local) doWithOneRestart(return(expr), restart) ── Error ('test-Frechet.R:60:3'): cdf.Frechet works correctly ────────────────── <packageNotFoundError/error/condition> Error in `loadNamespace(x)`: there is no package called 'revdbayes' Backtrace: ▆ 1. ├─testthat::expect_equal(...) at test-Frechet.R:60:3 2. │ └─testthat::quasi_label(enquo(object), label, arg = "object") 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. ├─base::unname(cdf(g1, x1)) 5. ├─distributions3::cdf(g1, x1) 6. ├─distributions3:::cdf.Frechet(g1, x1) 7. │ └─distributions3::apply_dpqr(...) 8. │ └─base::vapply(at, FUN, numeric(n), d = d, ...) 9. │ └─distributions3 (local) FUN(X[[i]], ...) 10. └─base::loadNamespace(x) 11. └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL) 12. └─base (local) withOneRestart(expr, restarts[[1L]]) 13. └─base (local) doWithOneRestart(return(expr), restart) ── Error ('test-Frechet.R:68:3'): quantile.Frechet works correctly ───────────── <packageNotFoundError/error/condition> Error in `loadNamespace(x)`: there is no package called 'revdbayes' Backtrace: ▆ 1. ├─testthat::expect_equal(...) at test-Frechet.R:68:3 2. │ └─testthat::quasi_label(enquo(object), label, arg = "object") 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. ├─base::unname(quantile(g1, pvec)) 5. ├─stats::quantile(g1, pvec) 6. ├─distributions3:::quantile.Frechet(g1, pvec) 7. │ └─distributions3::apply_dpqr(...) 8. │ └─base::vapply(at, FUN, numeric(n), d = d, ...) 9. │ └─distributions3 (local) FUN(X[[i]], ...) 10. └─base::loadNamespace(x) 11. └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL) 12. └─base (local) withOneRestart(expr, restarts[[1L]]) 13. └─base (local) doWithOneRestart(return(expr), restart) ── Error ('test-Frechet.R:75:3'): cdf.Frechet and quantile.Frechet are consistent ── <packageNotFoundError/error/condition> Error in `loadNamespace(x)`: there is no package called 'revdbayes' Backtrace: ▆ 1. ├─testthat::expect_equal(unname(cdf(g1, quantile(g1, pvec))), pvec) at test-Frechet.R:75:3 2. │ └─testthat::quasi_label(enquo(object), label, arg = "object") 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. ├─base::unname(cdf(g1, quantile(g1, pvec))) 5. ├─distributions3::cdf(g1, quantile(g1, pvec)) 6. ├─distributions3:::cdf.Frechet(g1, quantile(g1, pvec)) 7. │ └─distributions3::apply_dpqr(...) 8. │ └─base::stopifnot(...) 9. ├─stats::quantile(g1, pvec) 10. ├─distributions3:::quantile.Frechet(g1, pvec) 11. │ └─distributions3::apply_dpqr(...) 12. │ └─base::vapply(at, FUN, numeric(n), d = d, ...) 13. │ └─distributions3 (local) FUN(X[[i]], ...) 14. └─base::loadNamespace(x) 15. └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL) 16. └─base (local) withOneRestart(expr, restarts[[1L]]) 17. └─base (local) doWithOneRestart(return(expr), restart) ── Error ('test-Frechet.R:91:3'): vectorization of a Frechet distribution work correctly ── <packageNotFoundError/error/condition> Error in `loadNamespace(x)`: there is no package called 'revdbayes' Backtrace: ▆ 1. ├─distributions3::random(d) at test-Frechet.R:91:3 2. ├─distributions3:::random.Frechet(d) 3. │ └─distributions3::apply_dpqr(...) 4. │ └─base::replicate(at, FUN(n, d = d)) 5. │ └─base::sapply(...) 6. │ └─base::lapply(X = X, FUN = FUN, ...) 7. │ └─distributions3 (local) FUN(X[[i]], ...) 8. │ └─distributions3 (local) FUN(n, d = d) 9. └─base::loadNamespace(x) 10. └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL) 11. └─base (local) withOneRestart(expr, restarts[[1L]]) 12. └─base (local) doWithOneRestart(return(expr), restart) ── Error ('test-Frechet.R:150:3'): named return values for Frechet distribution work correctly ── <packageNotFoundError/error/condition> Error in `loadNamespace(x)`: there is no package called 'revdbayes' Backtrace: ▆ 1. ├─testthat::expect_equal(names(random(d, 1)), LETTERS[1:length(d)]) at test-Frechet.R:150:3 2. │ └─testthat::quasi_label(enquo(object), label, arg = "object") 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. ├─distributions3::random(d, 1) 5. ├─distributions3:::random.Frechet(d, 1) 6. │ └─distributions3::apply_dpqr(...) 7. │ └─base::replicate(at, FUN(n, d = d)) 8. │ └─base::sapply(...) 9. │ └─base::lapply(X = X, FUN = FUN, ...) 10. │ └─distributions3 (local) FUN(X[[i]], ...) 11. │ └─distributions3 (local) FUN(n, d = d) 12. └─base::loadNamespace(x) 13. └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL) 14. └─base (local) withOneRestart(expr, restarts[[1L]]) 15. └─base (local) doWithOneRestart(return(expr), restart) ── Error ('test-GeneralisedExtremeValue.R:32:3'): random.GEV works correctly ─── <packageNotFoundError/error/condition> Error in `loadNamespace(x)`: there is no package called 'revdbayes' Backtrace: ▆ 1. ├─testthat::expect_length(random(g1), 1) at test-GeneralisedExtremeValue.R:32:3 2. │ └─testthat::quasi_label(enquo(object), arg = "object") 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. ├─distributions3::random(g1) 5. ├─distributions3:::random.GEV(g1) 6. │ └─distributions3::apply_dpqr(...) 7. │ └─distributions3 (local) FUN(at, d = d, ...) 8. └─base::loadNamespace(x) 9. └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL) 10. └─base (local) withOneRestart(expr, restarts[[1L]]) 11. └─base (local) doWithOneRestart(return(expr), restart) ── Error ('test-GeneralisedExtremeValue.R:68:3'): pdf.GEV works correctly ────── <packageNotFoundError/error/condition> Error in `loadNamespace(x)`: there is no package called 'revdbayes' Backtrace: ▆ 1. ├─testthat::expect_equal(...) at test-GeneralisedExtremeValue.R:68:3 2. │ └─testthat::quasi_label(enquo(object), label, arg = "object") 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. ├─base::unname(pdf(g1, x1)) 5. ├─distributions3::pdf(g1, x1) 6. ├─distributions3:::pdf.GEV(g1, x1) 7. │ └─distributions3::apply_dpqr(...) 8. │ └─base::vapply(at, FUN, numeric(n), d = d, ...) 9. │ └─distributions3 (local) FUN(X[[i]], ...) 10. └─base::loadNamespace(x) 11. └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL) 12. └─base (local) withOneRestart(expr, restarts[[1L]]) 13. └─base (local) doWithOneRestart(return(expr), restart) ── Error ('test-GeneralisedExtremeValue.R:88:3'): log_pdf.GEV works correctly ── <packageNotFoundError/error/condition> Error in `loadNamespace(x)`: there is no package called 'revdbayes' Backtrace: ▆ 1. ├─testthat::expect_equal(...) at test-GeneralisedExtremeValue.R:88:3 2. │ └─testthat::quasi_label(enquo(object), label, arg = "object") 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. ├─base::unname(log_pdf(g1, x1)) 5. ├─distributions3::log_pdf(g1, x1) 6. ├─distributions3:::log_pdf.GEV(g1, x1) 7. │ └─distributions3::apply_dpqr(...) 8. │ └─base::vapply(at, FUN, numeric(n), d = d, ...) 9. │ └─distributions3 (local) FUN(X[[i]], ...) 10. └─base::loadNamespace(x) 11. └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL) 12. └─base (local) withOneRestart(expr, restarts[[1L]]) 13. └─base (local) doWithOneRestart(return(expr), restart) ── Error ('test-GeneralisedExtremeValue.R:105:3'): cdf.GEV works correctly ───── <packageNotFoundError/error/condition> Error in `loadNamespace(x)`: there is no package called 'revdbayes' Backtrace: ▆ 1. ├─testthat::expect_equal(...) at test-GeneralisedExtremeValue.R:105:3 2. │ └─testthat::quasi_label(enquo(object), label, arg = "object") 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. ├─base::unname(cdf(g1, x1)) 5. ├─distributions3::cdf(g1, x1) 6. ├─distributions3:::cdf.GEV(g1, x1) 7. │ └─distributions3::apply_dpqr(...) 8. │ └─base::vapply(at, FUN, numeric(n), d = d, ...) 9. │ └─distributions3 (local) FUN(X[[i]], ...) 10. └─base::loadNamespace(x) 11. └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL) 12. └─base (local) withOneRestart(expr, restarts[[1L]]) 13. └─base (local) doWithOneRestart(return(expr), restart) ── Error ('test-GeneralisedExtremeValue.R:123:3'): quantile.GEV works correctly ── <packageNotFoundError/error/condition> Error in `loadNamespace(x)`: there is no package called 'revdbayes' Backtrace: ▆ 1. ├─testthat::expect_equal(...) at test-GeneralisedExtremeValue.R:123:3 2. │ └─testthat::quasi_label(enquo(object), label, arg = "object") 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. ├─base::unname(quantile(g1, pvec)) 5. ├─stats::quantile(g1, pvec) 6. ├─distributions3:::quantile.GEV(g1, pvec) 7. │ └─distributions3::apply_dpqr(...) 8. │ └─base::vapply(at, FUN, numeric(n), d = d, ...) 9. │ └─distributions3 (local) FUN(X[[i]], ...) 10. └─base::loadNamespace(x) 11. └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL) 12. └─base (local) withOneRestart(expr, restarts[[1L]]) 13. └─base (local) doWithOneRestart(return(expr), restart) ── Error ('test-GeneralisedExtremeValue.R:142:3'): cdf.GEV and quantile.GEV are consistent ── <packageNotFoundError/error/condition> Error in `loadNamespace(x)`: there is no package called 'revdbayes' Backtrace: ▆ 1. ├─testthat::expect_equal(unname(cdf(g1, quantile(g1, pvec))), pvec) at test-GeneralisedExtremeValue.R:142:3 2. │ └─testthat::quasi_label(enquo(object), label, arg = "object") 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. ├─base::unname(cdf(g1, quantile(g1, pvec))) 5. ├─distributions3::cdf(g1, quantile(g1, pvec)) 6. ├─distributions3:::cdf.GEV(g1, quantile(g1, pvec)) 7. │ └─distributions3::apply_dpqr(...) 8. │ └─base::stopifnot(...) 9. ├─stats::quantile(g1, pvec) 10. ├─distributions3:::quantile.GEV(g1, pvec) 11. │ └─distributions3::apply_dpqr(...) 12. │ └─base::vapply(at, FUN, numeric(n), d = d, ...) 13. │ └─distributions3 (local) FUN(X[[i]], ...) 14. └─base::loadNamespace(x) 15. └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL) 16. └─base (local) withOneRestart(expr, restarts[[1L]]) 17. └─base (local) doWithOneRestart(return(expr), restart) ── Error ('test-GeneralisedExtremeValue.R:160:3'): vectorization of a GEV distribution work correctly ── <packageNotFoundError/error/condition> Error in `loadNamespace(x)`: there is no package called 'revdbayes' Backtrace: ▆ 1. ├─distributions3::random(d) at test-GeneralisedExtremeValue.R:160:3 2. ├─distributions3:::random.GEV(d) 3. │ └─distributions3::apply_dpqr(...) 4. │ └─base::replicate(at, FUN(n, d = d)) 5. │ └─base::sapply(...) 6. │ └─base::lapply(X = X, FUN = FUN, ...) 7. │ └─distributions3 (local) FUN(X[[i]], ...) 8. │ └─distributions3 (local) FUN(n, d = d) 9. └─base::loadNamespace(x) 10. └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL) 11. └─base (local) withOneRestart(expr, restarts[[1L]]) 12. └─base (local) doWithOneRestart(return(expr), restart) ── Error ('test-GeneralisedExtremeValue.R:219:3'): named return values for GEV distribution work correctly ── <packageNotFoundError/error/condition> Error in `loadNamespace(x)`: there is no package called 'revdbayes' Backtrace: ▆ 1. ├─testthat::expect_equal(names(random(d, 1)), LETTERS[1:length(d)]) at test-GeneralisedExtremeValue.R:219:3 2. │ └─testthat::quasi_label(enquo(object), label, arg = "object") 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. ├─distributions3::random(d, 1) 5. ├─distributions3:::random.GEV(d, 1) 6. │ └─distributions3::apply_dpqr(...) 7. │ └─base::replicate(at, FUN(n, d = d)) 8. │ └─base::sapply(...) 9. │ └─base::lapply(X = X, FUN = FUN, ...) 10. │ └─distributions3 (local) FUN(X[[i]], ...) 11. │ └─distributions3 (local) FUN(n, d = d) 12. └─base::loadNamespace(x) 13. └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL) 14. └─base (local) withOneRestart(expr, restarts[[1L]]) 15. └─base (local) doWithOneRestart(return(expr), restart) ── Error ('test-GeneralisedPareto.R:31:3'): random.GP works correctly ────────── <packageNotFoundError/error/condition> Error in `loadNamespace(x)`: there is no package called 'revdbayes' Backtrace: ▆ 1. ├─testthat::expect_length(random(g1), 1) at test-GeneralisedPareto.R:31:3 2. │ └─testthat::quasi_label(enquo(object), arg = "object") 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. ├─distributions3::random(g1) 5. ├─distributions3:::random.GP(g1) 6. │ └─distributions3::apply_dpqr(...) 7. │ └─distributions3 (local) FUN(at, d = d, ...) 8. └─base::loadNamespace(x) 9. └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL) 10. └─base (local) withOneRestart(expr, restarts[[1L]]) 11. └─base (local) doWithOneRestart(return(expr), restart) ── Error ('test-GeneralisedPareto.R:67:3'): pdf.GP works correctly ───────────── <packageNotFoundError/error/condition> Error in `loadNamespace(x)`: there is no package called 'revdbayes' Backtrace: ▆ 1. ├─testthat::expect_equal(unname(pdf(g1, x1)), c(1, 0, NA)) at test-GeneralisedPareto.R:67:3 2. │ └─testthat::quasi_label(enquo(object), label, arg = "object") 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. ├─base::unname(pdf(g1, x1)) 5. ├─distributions3::pdf(g1, x1) 6. ├─distributions3:::pdf.GP(g1, x1) 7. │ └─distributions3::apply_dpqr(...) 8. │ └─base::vapply(at, FUN, numeric(n), d = d, ...) 9. │ └─distributions3 (local) FUN(X[[i]], ...) 10. └─base::loadNamespace(x) 11. └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL) 12. └─base (local) withOneRestart(expr, restarts[[1L]]) 13. └─base (local) doWithOneRestart(return(expr), restart) ── Error ('test-GeneralisedPareto.R:87:3'): log_pdf.GP works correctly ───────── <packageNotFoundError/error/condition> Error in `loadNamespace(x)`: there is no package called 'revdbayes' Backtrace: ▆ 1. ├─testthat::expect_equal(unname(log_pdf(g1, x1)), c(0, -Inf, NA)) at test-GeneralisedPareto.R:87:3 2. │ └─testthat::quasi_label(enquo(object), label, arg = "object") 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. ├─base::unname(log_pdf(g1, x1)) 5. ├─distributions3::log_pdf(g1, x1) 6. ├─distributions3:::log_pdf.GP(g1, x1) 7. │ └─distributions3::apply_dpqr(...) 8. │ └─base::vapply(at, FUN, numeric(n), d = d, ...) 9. │ └─distributions3 (local) FUN(X[[i]], ...) 10. └─base::loadNamespace(x) 11. └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL) 12. └─base (local) withOneRestart(expr, restarts[[1L]]) 13. └─base (local) doWithOneRestart(return(expr), restart) ── Error ('test-GeneralisedPareto.R:104:3'): cdf.GP works correctly ──────────── <packageNotFoundError/error/condition> Error in `loadNamespace(x)`: there is no package called 'revdbayes' Backtrace: ▆ 1. ├─testthat::expect_equal(unname(cdf(g1, x1)), c(0, 1, NA)) at test-GeneralisedPareto.R:104:3 2. │ └─testthat::quasi_label(enquo(object), label, arg = "object") 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. ├─base::unname(cdf(g1, x1)) 5. ├─distributions3::cdf(g1, x1) 6. ├─distributions3:::cdf.GP(g1, x1) 7. │ └─distributions3::apply_dpqr(...) 8. │ └─base::vapply(at, FUN, numeric(n), d = d, ...) 9. │ └─distributions3 (local) FUN(X[[i]], ...) 10. └─base::loadNamespace(x) 11. └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL) 12. └─base (local) withOneRestart(expr, restarts[[1L]]) 13. └─base (local) doWithOneRestart(return(expr), restart) ── Error ('test-GeneralisedPareto.R:122:3'): quantile.GP works correctly ─────── <packageNotFoundError/error/condition> Error in `loadNamespace(x)`: there is no package called 'revdbayes' Backtrace: ▆ 1. ├─testthat::expect_equal(...) at test-GeneralisedPareto.R:122:3 2. │ └─testthat::quasi_label(enquo(object), label, arg = "object") 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. ├─base::unname(quantile(g1, pvec)) 5. ├─stats::quantile(g1, pvec) 6. ├─distributions3:::quantile.GP(g1, pvec) 7. │ └─distributions3::apply_dpqr(...) 8. │ └─base::vapply(at, FUN, numeric(n), d = d, ...) 9. │ └─distributions3 (local) FUN(X[[i]], ...) 10. └─base::loadNamespace(x) 11. └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL) 12. └─base (local) withOneRestart(expr, restarts[[1L]]) 13. └─base (local) doWithOneRestart(return(expr), restart) ── Error ('test-GeneralisedPareto.R:141:3'): cdf.GP and quantile.GP are consistent ── <packageNotFoundError/error/condition> Error in `loadNamespace(x)`: there is no package called 'revdbayes' Backtrace: ▆ 1. ├─testthat::expect_equal(unname(cdf(g1, quantile(g1, pvec))), pvec) at test-GeneralisedPareto.R:141:3 2. │ └─testthat::quasi_label(enquo(object), label, arg = "object") 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. ├─base::unname(cdf(g1, quantile(g1, pvec))) 5. ├─distributions3::cdf(g1, quantile(g1, pvec)) 6. ├─distributions3:::cdf.GP(g1, quantile(g1, pvec)) 7. │ └─distributions3::apply_dpqr(...) 8. │ └─base::stopifnot(...) 9. ├─stats::quantile(g1, pvec) 10. ├─distributions3:::quantile.GP(g1, pvec) 11. │ └─distributions3::apply_dpqr(...) 12. │ └─base::vapply(at, FUN, numeric(n), d = d, ...) 13. │ └─distributions3 (local) FUN(X[[i]], ...) 14. └─base::loadNamespace(x) 15. └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL) 16. └─base (local) withOneRestart(expr, restarts[[1L]]) 17. └─base (local) doWithOneRestart(return(expr), restart) ── Error ('test-GeneralisedPareto.R:159:3'): vectorization of a GP distribution work correctly ── <packageNotFoundError/error/condition> Error in `loadNamespace(x)`: there is no package called 'revdbayes' Backtrace: ▆ 1. ├─distributions3::random(d) at test-GeneralisedPareto.R:159:3 2. ├─distributions3:::random.GP(d) 3. │ └─distributions3::apply_dpqr(...) 4. │ └─base::replicate(at, FUN(n, d = d)) 5. │ └─base::sapply(...) 6. │ └─base::lapply(X = X, FUN = FUN, ...) 7. │ └─distributions3 (local) FUN(X[[i]], ...) 8. │ └─distributions3 (local) FUN(n, d = d) 9. └─base::loadNamespace(x) 10. └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL) 11. └─base (local) withOneRestart(expr, restarts[[1L]]) 12. └─base (local) doWithOneRestart(return(expr), restart) ── Error ('test-GeneralisedPareto.R:218:3'): named return values for GP distribution work correctly ── <packageNotFoundError/error/condition> Error in `loadNamespace(x)`: there is no package called 'revdbayes' Backtrace: ▆ 1. ├─testthat::expect_equal(names(random(d, 1)), LETTERS[1:length(d)]) at test-GeneralisedPareto.R:218:3 2. │ └─testthat::quasi_label(enquo(object), label, arg = "object") 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. ├─distributions3::random(d, 1) 5. ├─distributions3:::random.GP(d, 1) 6. │ └─distributions3::apply_dpqr(...) 7. │ └─base::replicate(at, FUN(n, d = d)) 8. │ └─base::sapply(...) 9. │ └─base::lapply(X = X, FUN = FUN, ...) 10. │ └─distributions3 (local) FUN(X[[i]], ...) 11. │ └─distributions3 (local) FUN(n, d = d) 12. └─base::loadNamespace(x) 13. └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL) 14. └─base (local) withOneRestart(expr, restarts[[1L]]) 15. └─base (local) doWithOneRestart(return(expr), restart) ── Error ('test-Gumbel.R:19:3'): random.Gumbel works correctly ───────────────── <packageNotFoundError/error/condition> Error in `loadNamespace(x)`: there is no package called 'revdbayes' Backtrace: ▆ 1. ├─testthat::expect_length(random(g2), 1) at test-Gumbel.R:19:3 2. │ └─testthat::quasi_label(enquo(object), arg = "object") 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. ├─distributions3::random(g2) 5. ├─distributions3:::random.Gumbel(g2) 6. │ └─distributions3::apply_dpqr(...) 7. │ └─distributions3 (local) FUN(at, d = d, ...) 8. └─base::loadNamespace(x) 9. └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL) 10. └─base (local) withOneRestart(expr, restarts[[1L]]) 11. └─base (local) doWithOneRestart(return(expr), restart) ── Error ('test-Gumbel.R:33:3'): pdf.Gumbel works correctly ──────────────────── <packageNotFoundError/error/condition> Error in `loadNamespace(x)`: there is no package called 'revdbayes' Backtrace: ▆ 1. ├─testthat::expect_equal(...) at test-Gumbel.R:33:3 2. │ └─testthat::quasi_label(enquo(object), label, arg = "object") 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. ├─base::unname(pdf(g2, x2)) 5. ├─distributions3::pdf(g2, x2) 6. ├─distributions3:::pdf.Gumbel(g2, x2) 7. │ └─distributions3::apply_dpqr(...) 8. │ └─base::vapply(at, FUN, numeric(n), d = d, ...) 9. │ └─distributions3 (local) FUN(X[[i]], ...) 10. └─base::loadNamespace(x) 11. └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL) 12. └─base (local) withOneRestart(expr, restarts[[1L]]) 13. └─base (local) doWithOneRestart(return(expr), restart) ── Error ('test-Gumbel.R:41:3'): log_pdf.Gumbel works correctly ──────────────── <packageNotFoundError/error/condition> Error in `loadNamespace(x)`: there is no package called 'revdbayes' Backtrace: ▆ 1. ├─testthat::expect_equal(...) at test-Gumbel.R:41:3 2. │ └─testthat::quasi_label(enquo(object), label, arg = "object") 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. ├─base::unname(log_pdf(g2, x2)) 5. ├─distributions3::log_pdf(g2, x2) 6. ├─distributions3:::log_pdf.Gumbel(g2, x2) 7. │ └─distributions3::apply_dpqr(...) 8. │ └─base::vapply(at, FUN, numeric(n), d = d, ...) 9. │ └─distributions3 (local) FUN(X[[i]], ...) 10. └─base::loadNamespace(x) 11. └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL) 12. └─base (local) withOneRestart(expr, restarts[[1L]]) 13. └─base (local) doWithOneRestart(return(expr), restart) ── Error ('test-Gumbel.R:48:3'): cdf.Gumbel works correctly ──────────────────── <packageNotFoundError/error/condition> Error in `loadNamespace(x)`: there is no package called 'revdbayes' Backtrace: ▆ 1. ├─testthat::expect_equal(...) at test-Gumbel.R:48:3 2. │ └─testthat::quasi_label(enquo(object), label, arg = "object") 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. ├─base::unname(cdf(g2, x2)) 5. ├─distributions3::cdf(g2, x2) 6. ├─distributions3:::cdf.Gumbel(g2, x2) 7. │ └─distributions3::apply_dpqr(...) 8. │ └─base::vapply(at, FUN, numeric(n), d = d, ...) 9. │ └─distributions3 (local) FUN(X[[i]], ...) 10. └─base::loadNamespace(x) 11. └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL) 12. └─base (local) withOneRestart(expr, restarts[[1L]]) 13. └─base (local) doWithOneRestart(return(expr), restart) ── Error ('test-Gumbel.R:56:3'): quantile.Gumbel works correctly ─────────────── <packageNotFoundError/error/condition> Error in `loadNamespace(x)`: there is no package called 'revdbayes' Backtrace: ▆ 1. ├─testthat::expect_equal(...) at test-Gumbel.R:56:3 2. │ └─testthat::quasi_label(enquo(object), label, arg = "object") 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. ├─base::unname(quantile(g2, pvec)) 5. ├─stats::quantile(g2, pvec) 6. ├─distributions3:::quantile.Gumbel(g2, pvec) 7. │ └─distributions3::apply_dpqr(...) 8. │ └─base::vapply(at, FUN, numeric(n), d = d, ...) 9. │ └─distributions3 (local) FUN(X[[i]], ...) 10. └─base::loadNamespace(x) 11. └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL) 12. └─base (local) withOneRestart(expr, restarts[[1L]]) 13. └─base (local) doWithOneRestart(return(expr), restart) ── Error ('test-Gumbel.R:63:3'): cdf.Gumbel and quantile.Gumbel are consistent ── <packageNotFoundError/error/condition> Error in `loadNamespace(x)`: there is no package called 'revdbayes' Backtrace: ▆ 1. ├─testthat::expect_equal(unname(cdf(g2, quantile(g2, pvec))), pvec) at test-Gumbel.R:63:3 2. │ └─testthat::quasi_label(enquo(object), label, arg = "object") 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. ├─base::unname(cdf(g2, quantile(g2, pvec))) 5. ├─distributions3::cdf(g2, quantile(g2, pvec)) 6. ├─distributions3:::cdf.Gumbel(g2, quantile(g2, pvec)) 7. │ └─distributions3::apply_dpqr(...) 8. │ └─base::stopifnot(...) 9. ├─stats::quantile(g2, pvec) 10. ├─distributions3:::quantile.Gumbel(g2, pvec) 11. │ └─distributions3::apply_dpqr(...) 12. │ └─base::vapply(at, FUN, numeric(n), d = d, ...) 13. │ └─distributions3 (local) FUN(X[[i]], ...) 14. └─base::loadNamespace(x) 15. └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL) 16. └─base (local) withOneRestart(expr, restarts[[1L]]) 17. └─base (local) doWithOneRestart(return(expr), restart) ── Error ('test-Gumbel.R:79:3'): vectorization of a Gumbel distribution work correctly ── <packageNotFoundError/error/condition> Error in `loadNamespace(x)`: there is no package called 'revdbayes' Backtrace: ▆ 1. ├─distributions3::random(d) at test-Gumbel.R:79:3 2. ├─distributions3:::random.Gumbel(d) 3. │ └─distributions3::apply_dpqr(...) 4. │ └─base::replicate(at, FUN(n, d = d)) 5. │ └─base::sapply(...) 6. │ └─base::lapply(X = X, FUN = FUN, ...) 7. │ └─distributions3 (local) FUN(X[[i]], ...) 8. │ └─distributions3 (local) FUN(n, d = d) 9. └─base::loadNamespace(x) 10. └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL) 11. └─base (local) withOneRestart(expr, restarts[[1L]]) 12. └─base (local) doWithOneRestart(return(expr), restart) ── Error ('test-Gumbel.R:138:3'): named return values for Gumbel distribution work correctly ── <packageNotFoundError/error/condition> Error in `loadNamespace(x)`: there is no package called 'revdbayes' Backtrace: ▆ 1. ├─testthat::expect_equal(names(random(d, 1)), LETTERS[1:length(d)]) at test-Gumbel.R:138:3 2. │ └─testthat::quasi_label(enquo(object), label, arg = "object") 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. ├─distributions3::random(d, 1) 5. ├─distributions3:::random.Gumbel(d, 1) 6. │ └─distributions3::apply_dpqr(...) 7. │ └─base::replicate(at, FUN(n, d = d)) 8. │ └─base::sapply(...) 9. │ └─base::lapply(X = X, FUN = FUN, ...) 10. │ └─distributions3 (local) FUN(X[[i]], ...) 11. │ └─distributions3 (local) FUN(n, d = d) 12. └─base::loadNamespace(x) 13. └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL) 14. └─base (local) withOneRestart(expr, restarts[[1L]]) 15. └─base (local) doWithOneRestart(return(expr), restart) ── Error ('test-RevWeibull.R:31:3'): random.RevWeibull works correctly ───────── <packageNotFoundError/error/condition> Error in `loadNamespace(x)`: there is no package called 'revdbayes' Backtrace: ▆ 1. ├─testthat::expect_length(random(g3), 1) at test-RevWeibull.R:31:3 2. │ └─testthat::quasi_label(enquo(object), arg = "object") 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. ├─distributions3::random(g3) 5. ├─distributions3:::random.RevWeibull(g3) 6. │ └─distributions3::apply_dpqr(...) 7. │ └─distributions3 (local) FUN(at, d = d, ...) 8. └─base::loadNamespace(x) 9. └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL) 10. └─base (local) withOneRestart(expr, restarts[[1L]]) 11. └─base (local) doWithOneRestart(return(expr), restart) ── Error ('test-RevWeibull.R:45:3'): pdf.RevWeibull works correctly ──────────── <packageNotFoundError/error/condition> Error in `loadNamespace(x)`: there is no package called 'revdbayes' Backtrace: ▆ 1. ├─testthat::expect_equal(...) at test-RevWeibull.R:45:3 2. │ └─testthat::quasi_label(enquo(object), label, arg = "object") 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. ├─base::unname(pdf(g3, x3)) 5. ├─distributions3::pdf(g3, x3) 6. ├─distributions3:::pdf.RevWeibull(g3, x3) 7. │ └─distributions3::apply_dpqr(...) 8. │ └─base::vapply(at, FUN, numeric(n), d = d, ...) 9. │ └─distributions3 (local) FUN(X[[i]], ...) 10. └─base::loadNamespace(x) 11. └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL) 12. └─base (local) withOneRestart(expr, restarts[[1L]]) 13. └─base (local) doWithOneRestart(return(expr), restart) ── Error ('test-RevWeibull.R:53:3'): log_pdf.RevWeibull works correctly ──────── <packageNotFoundError/error/condition> Error in `loadNamespace(x)`: there is no package called 'revdbayes' Backtrace: ▆ 1. ├─testthat::expect_equal(...) at test-RevWeibull.R:53:3 2. │ └─testthat::quasi_label(enquo(object), label, arg = "object") 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. ├─base::unname(log_pdf(g3, x3)) 5. ├─distributions3::log_pdf(g3, x3) 6. ├─distributions3:::log_pdf.RevWeibull(g3, x3) 7. │ └─distributions3::apply_dpqr(...) 8. │ └─base::vapply(at, FUN, numeric(n), d = d, ...) 9. │ └─distributions3 (local) FUN(X[[i]], ...) 10. └─base::loadNamespace(x) 11. └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL) 12. └─base (local) withOneRestart(expr, restarts[[1L]]) 13. └─base (local) doWithOneRestart(return(expr), restart) ── Error ('test-RevWeibull.R:60:3'): cdf.RevWeibull works correctly ──────────── <packageNotFoundError/error/condition> Error in `loadNamespace(x)`: there is no package called 'revdbayes' Backtrace: ▆ 1. ├─testthat::expect_equal(...) at test-RevWeibull.R:60:3 2. │ └─testthat::quasi_label(enquo(object), label, arg = "object") 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. ├─base::unname(cdf(g3, x3)) 5. ├─distributions3::cdf(g3, x3) 6. ├─distributions3:::cdf.RevWeibull(g3, x3) 7. │ └─distributions3::apply_dpqr(...) 8. │ └─base::vapply(at, FUN, numeric(n), d = d, ...) 9. │ └─distributions3 (local) FUN(X[[i]], ...) 10. └─base::loadNamespace(x) 11. └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL) 12. └─base (local) withOneRestart(expr, restarts[[1L]]) 13. └─base (local) doWithOneRestart(return(expr), restart) ── Error ('test-RevWeibull.R:68:3'): quantile.RevWeibull works correctly ─────── <packageNotFoundError/error/condition> Error in `loadNamespace(x)`: there is no package called 'revdbayes' Backtrace: ▆ 1. ├─testthat::expect_equal(...) at test-RevWeibull.R:68:3 2. │ └─testthat::quasi_label(enquo(object), label, arg = "object") 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. ├─base::unname(quantile(g3, pvec)) 5. ├─stats::quantile(g3, pvec) 6. ├─distributions3:::quantile.RevWeibull(g3, pvec) 7. │ └─distributions3::apply_dpqr(...) 8. │ └─base::vapply(at, FUN, numeric(n), d = d, ...) 9. │ └─distributions3 (local) FUN(X[[i]], ...) 10. └─base::loadNamespace(x) 11. └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL) 12. └─base (local) withOneRestart(expr, restarts[[1L]]) 13. └─base (local) doWithOneRestart(return(expr), restart) ── Error ('test-RevWeibull.R:75:3'): cdf.RevWeibull and quantile.RevWeibull are consistent ── <packageNotFoundError/error/condition> Error in `loadNamespace(x)`: there is no package called 'revdbayes' Backtrace: ▆ 1. ├─testthat::expect_equal(unname(cdf(g3, quantile(g3, pvec))), pvec) at test-RevWeibull.R:75:3 2. │ └─testthat::quasi_label(enquo(object), label, arg = "object") 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. ├─base::unname(cdf(g3, quantile(g3, pvec))) 5. ├─distributions3::cdf(g3, quantile(g3, pvec)) 6. ├─distributions3:::cdf.RevWeibull(g3, quantile(g3, pvec)) 7. │ └─distributions3::apply_dpqr(...) 8. │ └─base::stopifnot(...) 9. ├─stats::quantile(g3, pvec) 10. ├─distributions3:::quantile.RevWeibull(g3, pvec) 11. │ └─distributions3::apply_dpqr(...) 12. │ └─base::vapply(at, FUN, numeric(n), d = d, ...) 13. │ └─distributions3 (local) FUN(X[[i]], ...) 14. └─base::loadNamespace(x) 15. └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL) 16. └─base (local) withOneRestart(expr, restarts[[1L]]) 17. └─base (local) doWithOneRestart(return(expr), restart) ── Error ('test-RevWeibull.R:89:3'): vectorization of a RevWeibull distribution work correctly ── <packageNotFoundError/error/condition> Error in `loadNamespace(x)`: there is no package called 'revdbayes' Backtrace: ▆ 1. ├─distributions3::random(d) at test-RevWeibull.R:89:3 2. ├─distributions3:::random.RevWeibull(d) 3. │ └─distributions3::apply_dpqr(...) 4. │ └─base::replicate(at, FUN(n, d = d)) 5. │ └─base::sapply(...) 6. │ └─base::lapply(X = X, FUN = FUN, ...) 7. │ └─distributions3 (local) FUN(X[[i]], ...) 8. │ └─distributions3 (local) FUN(n, d = d) 9. └─base::loadNamespace(x) 10. └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL) 11. └─base (local) withOneRestart(expr, restarts[[1L]]) 12. └─base (local) doWithOneRestart(return(expr), restart) ── Error ('test-RevWeibull.R:146:3'): named return values for RevWeibull distribution work correctly ── <packageNotFoundError/error/condition> Error in `loadNamespace(x)`: there is no package called 'revdbayes' Backtrace: ▆ 1. ├─testthat::expect_equal(names(random(d, 1)), LETTERS[1:length(d)]) at test-RevWeibull.R:146:3 2. │ └─testthat::quasi_label(enquo(object), label, arg = "object") 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. ├─distributions3::random(d, 1) 5. ├─distributions3:::random.RevWeibull(d, 1) 6. │ └─distributions3::apply_dpqr(...) 7. │ └─base::replicate(at, FUN(n, d = d)) 8. │ └─base::sapply(...) 9. │ └─base::lapply(X = X, FUN = FUN, ...) 10. │ └─distributions3 (local) FUN(X[[i]], ...) 11. │ └─distributions3 (local) FUN(n, d = d) 12. └─base::loadNamespace(x) 13. └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL) 14. └─base (local) withOneRestart(expr, restarts[[1L]]) 15. └─base (local) doWithOneRestart(return(expr), restart) [ FAIL 40 | WARN 4 | SKIP 0 | PASS 2364 ] Error: Test failures Execution halted Flavor: r-devel-linux-x86_64-debian-clang

Version: 0.2.2
Check: tests
Result: ERROR Running ‘testthat.R’ [26s/15s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > library(testthat) > library(distributions3) Attaching package: 'distributions3' The following object is masked from 'package:stats': Gamma The following object is masked from 'package:grDevices': pdf > > test_check("distributions3") Starting 2 test processes [ FAIL 40 | WARN 4 | SKIP 0 | PASS 2364 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-Frechet.R:31:3'): random.Frechet works correctly ─────────────── <packageNotFoundError/error/condition> Error in `loadNamespace(x)`: there is no package called 'revdbayes' Backtrace: ▆ 1. ├─testthat::expect_length(random(g1), 1) at test-Frechet.R:31:3 2. │ └─testthat::quasi_label(enquo(object), arg = "object") 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. ├─distributions3::random(g1) 5. ├─distributions3:::random.Frechet(g1) 6. │ └─distributions3::apply_dpqr(...) 7. │ └─distributions3 (local) FUN(at, d = d, ...) 8. └─base::loadNamespace(x) 9. └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL) 10. └─base (local) withOneRestart(expr, restarts[[1L]]) 11. └─base (local) doWithOneRestart(return(expr), restart) ── Error ('test-Frechet.R:45:3'): pdf.Frechet works correctly ────────────────── <packageNotFoundError/error/condition> Error in `loadNamespace(x)`: there is no package called 'revdbayes' Backtrace: ▆ 1. ├─testthat::expect_equal(...) at test-Frechet.R:45:3 2. │ └─testthat::quasi_label(enquo(object), label, arg = "object") 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. ├─base::unname(pdf(g1, x1)) 5. ├─distributions3::pdf(g1, x1) 6. ├─distributions3:::pdf.Frechet(g1, x1) 7. │ └─distributions3::apply_dpqr(...) 8. │ └─base::vapply(at, FUN, numeric(n), d = d, ...) 9. │ └─distributions3 (local) FUN(X[[i]], ...) 10. └─base::loadNamespace(x) 11. └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL) 12. └─base (local) withOneRestart(expr, restarts[[1L]]) 13. └─base (local) doWithOneRestart(return(expr), restart) ── Error ('test-Frechet.R:53:3'): log_pdf.Frechet works correctly ────────────── <packageNotFoundError/error/condition> Error in `loadNamespace(x)`: there is no package called 'revdbayes' Backtrace: ▆ 1. ├─testthat::expect_equal(...) at test-Frechet.R:53:3 2. │ └─testthat::quasi_label(enquo(object), label, arg = "object") 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. ├─base::unname(log_pdf(g1, x1)) 5. ├─distributions3::log_pdf(g1, x1) 6. ├─distributions3:::log_pdf.Frechet(g1, x1) 7. │ └─distributions3::apply_dpqr(...) 8. │ └─base::vapply(at, FUN, numeric(n), d = d, ...) 9. │ └─distributions3 (local) FUN(X[[i]], ...) 10. └─base::loadNamespace(x) 11. └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL) 12. └─base (local) withOneRestart(expr, restarts[[1L]]) 13. └─base (local) doWithOneRestart(return(expr), restart) ── Error ('test-Frechet.R:60:3'): cdf.Frechet works correctly ────────────────── <packageNotFoundError/error/condition> Error in `loadNamespace(x)`: there is no package called 'revdbayes' Backtrace: ▆ 1. ├─testthat::expect_equal(...) at test-Frechet.R:60:3 2. │ └─testthat::quasi_label(enquo(object), label, arg = "object") 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. ├─base::unname(cdf(g1, x1)) 5. ├─distributions3::cdf(g1, x1) 6. ├─distributions3:::cdf.Frechet(g1, x1) 7. │ └─distributions3::apply_dpqr(...) 8. │ └─base::vapply(at, FUN, numeric(n), d = d, ...) 9. │ └─distributions3 (local) FUN(X[[i]], ...) 10. └─base::loadNamespace(x) 11. └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL) 12. └─base (local) withOneRestart(expr, restarts[[1L]]) 13. └─base (local) doWithOneRestart(return(expr), restart) ── Error ('test-Frechet.R:68:3'): quantile.Frechet works correctly ───────────── <packageNotFoundError/error/condition> Error in `loadNamespace(x)`: there is no package called 'revdbayes' Backtrace: ▆ 1. ├─testthat::expect_equal(...) at test-Frechet.R:68:3 2. │ └─testthat::quasi_label(enquo(object), label, arg = "object") 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. ├─base::unname(quantile(g1, pvec)) 5. ├─stats::quantile(g1, pvec) 6. ├─distributions3:::quantile.Frechet(g1, pvec) 7. │ └─distributions3::apply_dpqr(...) 8. │ └─base::vapply(at, FUN, numeric(n), d = d, ...) 9. │ └─distributions3 (local) FUN(X[[i]], ...) 10. └─base::loadNamespace(x) 11. └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL) 12. └─base (local) withOneRestart(expr, restarts[[1L]]) 13. └─base (local) doWithOneRestart(return(expr), restart) ── Error ('test-Frechet.R:75:3'): cdf.Frechet and quantile.Frechet are consistent ── <packageNotFoundError/error/condition> Error in `loadNamespace(x)`: there is no package called 'revdbayes' Backtrace: ▆ 1. ├─testthat::expect_equal(unname(cdf(g1, quantile(g1, pvec))), pvec) at test-Frechet.R:75:3 2. │ └─testthat::quasi_label(enquo(object), label, arg = "object") 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. ├─base::unname(cdf(g1, quantile(g1, pvec))) 5. ├─distributions3::cdf(g1, quantile(g1, pvec)) 6. ├─distributions3:::cdf.Frechet(g1, quantile(g1, pvec)) 7. │ └─distributions3::apply_dpqr(...) 8. │ └─base::stopifnot(...) 9. ├─stats::quantile(g1, pvec) 10. ├─distributions3:::quantile.Frechet(g1, pvec) 11. │ └─distributions3::apply_dpqr(...) 12. │ └─base::vapply(at, FUN, numeric(n), d = d, ...) 13. │ └─distributions3 (local) FUN(X[[i]], ...) 14. └─base::loadNamespace(x) 15. └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL) 16. └─base (local) withOneRestart(expr, restarts[[1L]]) 17. └─base (local) doWithOneRestart(return(expr), restart) ── Error ('test-Frechet.R:91:3'): vectorization of a Frechet distribution work correctly ── <packageNotFoundError/error/condition> Error in `loadNamespace(x)`: there is no package called 'revdbayes' Backtrace: ▆ 1. ├─distributions3::random(d) at test-Frechet.R:91:3 2. ├─distributions3:::random.Frechet(d) 3. │ └─distributions3::apply_dpqr(...) 4. │ └─base::replicate(at, FUN(n, d = d)) 5. │ └─base::sapply(...) 6. │ └─base::lapply(X = X, FUN = FUN, ...) 7. │ └─distributions3 (local) FUN(X[[i]], ...) 8. │ └─distributions3 (local) FUN(n, d = d) 9. └─base::loadNamespace(x) 10. └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL) 11. └─base (local) withOneRestart(expr, restarts[[1L]]) 12. └─base (local) doWithOneRestart(return(expr), restart) ── Error ('test-Frechet.R:150:3'): named return values for Frechet distribution work correctly ── <packageNotFoundError/error/condition> Error in `loadNamespace(x)`: there is no package called 'revdbayes' Backtrace: ▆ 1. ├─testthat::expect_equal(names(random(d, 1)), LETTERS[1:length(d)]) at test-Frechet.R:150:3 2. │ └─testthat::quasi_label(enquo(object), label, arg = "object") 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. ├─distributions3::random(d, 1) 5. ├─distributions3:::random.Frechet(d, 1) 6. │ └─distributions3::apply_dpqr(...) 7. │ └─base::replicate(at, FUN(n, d = d)) 8. │ └─base::sapply(...) 9. │ └─base::lapply(X = X, FUN = FUN, ...) 10. │ └─distributions3 (local) FUN(X[[i]], ...) 11. │ └─distributions3 (local) FUN(n, d = d) 12. └─base::loadNamespace(x) 13. └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL) 14. └─base (local) withOneRestart(expr, restarts[[1L]]) 15. └─base (local) doWithOneRestart(return(expr), restart) ── Error ('test-GeneralisedExtremeValue.R:32:3'): random.GEV works correctly ─── <packageNotFoundError/error/condition> Error in `loadNamespace(x)`: there is no package called 'revdbayes' Backtrace: ▆ 1. ├─testthat::expect_length(random(g1), 1) at test-GeneralisedExtremeValue.R:32:3 2. │ └─testthat::quasi_label(enquo(object), arg = "object") 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. ├─distributions3::random(g1) 5. ├─distributions3:::random.GEV(g1) 6. │ └─distributions3::apply_dpqr(...) 7. │ └─distributions3 (local) FUN(at, d = d, ...) 8. └─base::loadNamespace(x) 9. └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL) 10. └─base (local) withOneRestart(expr, restarts[[1L]]) 11. └─base (local) doWithOneRestart(return(expr), restart) ── Error ('test-GeneralisedExtremeValue.R:68:3'): pdf.GEV works correctly ────── <packageNotFoundError/error/condition> Error in `loadNamespace(x)`: there is no package called 'revdbayes' Backtrace: ▆ 1. ├─testthat::expect_equal(...) at test-GeneralisedExtremeValue.R:68:3 2. │ └─testthat::quasi_label(enquo(object), label, arg = "object") 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. ├─base::unname(pdf(g1, x1)) 5. ├─distributions3::pdf(g1, x1) 6. ├─distributions3:::pdf.GEV(g1, x1) 7. │ └─distributions3::apply_dpqr(...) 8. │ └─base::vapply(at, FUN, numeric(n), d = d, ...) 9. │ └─distributions3 (local) FUN(X[[i]], ...) 10. └─base::loadNamespace(x) 11. └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL) 12. └─base (local) withOneRestart(expr, restarts[[1L]]) 13. └─base (local) doWithOneRestart(return(expr), restart) ── Error ('test-GeneralisedExtremeValue.R:88:3'): log_pdf.GEV works correctly ── <packageNotFoundError/error/condition> Error in `loadNamespace(x)`: there is no package called 'revdbayes' Backtrace: ▆ 1. ├─testthat::expect_equal(...) at test-GeneralisedExtremeValue.R:88:3 2. │ └─testthat::quasi_label(enquo(object), label, arg = "object") 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. ├─base::unname(log_pdf(g1, x1)) 5. ├─distributions3::log_pdf(g1, x1) 6. ├─distributions3:::log_pdf.GEV(g1, x1) 7. │ └─distributions3::apply_dpqr(...) 8. │ └─base::vapply(at, FUN, numeric(n), d = d, ...) 9. │ └─distributions3 (local) FUN(X[[i]], ...) 10. └─base::loadNamespace(x) 11. └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL) 12. └─base (local) withOneRestart(expr, restarts[[1L]]) 13. └─base (local) doWithOneRestart(return(expr), restart) ── Error ('test-GeneralisedExtremeValue.R:105:3'): cdf.GEV works correctly ───── <packageNotFoundError/error/condition> Error in `loadNamespace(x)`: there is no package called 'revdbayes' Backtrace: ▆ 1. ├─testthat::expect_equal(...) at test-GeneralisedExtremeValue.R:105:3 2. │ └─testthat::quasi_label(enquo(object), label, arg = "object") 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. ├─base::unname(cdf(g1, x1)) 5. ├─distributions3::cdf(g1, x1) 6. ├─distributions3:::cdf.GEV(g1, x1) 7. │ └─distributions3::apply_dpqr(...) 8. │ └─base::vapply(at, FUN, numeric(n), d = d, ...) 9. │ └─distributions3 (local) FUN(X[[i]], ...) 10. └─base::loadNamespace(x) 11. └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL) 12. └─base (local) withOneRestart(expr, restarts[[1L]]) 13. └─base (local) doWithOneRestart(return(expr), restart) ── Error ('test-GeneralisedExtremeValue.R:123:3'): quantile.GEV works correctly ── <packageNotFoundError/error/condition> Error in `loadNamespace(x)`: there is no package called 'revdbayes' Backtrace: ▆ 1. ├─testthat::expect_equal(...) at test-GeneralisedExtremeValue.R:123:3 2. │ └─testthat::quasi_label(enquo(object), label, arg = "object") 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. ├─base::unname(quantile(g1, pvec)) 5. ├─stats::quantile(g1, pvec) 6. ├─distributions3:::quantile.GEV(g1, pvec) 7. │ └─distributions3::apply_dpqr(...) 8. │ └─base::vapply(at, FUN, numeric(n), d = d, ...) 9. │ └─distributions3 (local) FUN(X[[i]], ...) 10. └─base::loadNamespace(x) 11. └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL) 12. └─base (local) withOneRestart(expr, restarts[[1L]]) 13. └─base (local) doWithOneRestart(return(expr), restart) ── Error ('test-GeneralisedExtremeValue.R:142:3'): cdf.GEV and quantile.GEV are consistent ── <packageNotFoundError/error/condition> Error in `loadNamespace(x)`: there is no package called 'revdbayes' Backtrace: ▆ 1. ├─testthat::expect_equal(unname(cdf(g1, quantile(g1, pvec))), pvec) at test-GeneralisedExtremeValue.R:142:3 2. │ └─testthat::quasi_label(enquo(object), label, arg = "object") 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. ├─base::unname(cdf(g1, quantile(g1, pvec))) 5. ├─distributions3::cdf(g1, quantile(g1, pvec)) 6. ├─distributions3:::cdf.GEV(g1, quantile(g1, pvec)) 7. │ └─distributions3::apply_dpqr(...) 8. │ └─base::stopifnot(...) 9. ├─stats::quantile(g1, pvec) 10. ├─distributions3:::quantile.GEV(g1, pvec) 11. │ └─distributions3::apply_dpqr(...) 12. │ └─base::vapply(at, FUN, numeric(n), d = d, ...) 13. │ └─distributions3 (local) FUN(X[[i]], ...) 14. └─base::loadNamespace(x) 15. └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL) 16. └─base (local) withOneRestart(expr, restarts[[1L]]) 17. └─base (local) doWithOneRestart(return(expr), restart) ── Error ('test-GeneralisedExtremeValue.R:160:3'): vectorization of a GEV distribution work correctly ── <packageNotFoundError/error/condition> Error in `loadNamespace(x)`: there is no package called 'revdbayes' Backtrace: ▆ 1. ├─distributions3::random(d) at test-GeneralisedExtremeValue.R:160:3 2. ├─distributions3:::random.GEV(d) 3. │ └─distributions3::apply_dpqr(...) 4. │ └─base::replicate(at, FUN(n, d = d)) 5. │ └─base::sapply(...) 6. │ └─base::lapply(X = X, FUN = FUN, ...) 7. │ └─distributions3 (local) FUN(X[[i]], ...) 8. │ └─distributions3 (local) FUN(n, d = d) 9. └─base::loadNamespace(x) 10. └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL) 11. └─base (local) withOneRestart(expr, restarts[[1L]]) 12. └─base (local) doWithOneRestart(return(expr), restart) ── Error ('test-GeneralisedExtremeValue.R:219:3'): named return values for GEV distribution work correctly ── <packageNotFoundError/error/condition> Error in `loadNamespace(x)`: there is no package called 'revdbayes' Backtrace: ▆ 1. ├─testthat::expect_equal(names(random(d, 1)), LETTERS[1:length(d)]) at test-GeneralisedExtremeValue.R:219:3 2. │ └─testthat::quasi_label(enquo(object), label, arg = "object") 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. ├─distributions3::random(d, 1) 5. ├─distributions3:::random.GEV(d, 1) 6. │ └─distributions3::apply_dpqr(...) 7. │ └─base::replicate(at, FUN(n, d = d)) 8. │ └─base::sapply(...) 9. │ └─base::lapply(X = X, FUN = FUN, ...) 10. │ └─distributions3 (local) FUN(X[[i]], ...) 11. │ └─distributions3 (local) FUN(n, d = d) 12. └─base::loadNamespace(x) 13. └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL) 14. └─base (local) withOneRestart(expr, restarts[[1L]]) 15. └─base (local) doWithOneRestart(return(expr), restart) ── Error ('test-GeneralisedPareto.R:31:3'): random.GP works correctly ────────── <packageNotFoundError/error/condition> Error in `loadNamespace(x)`: there is no package called 'revdbayes' Backtrace: ▆ 1. ├─testthat::expect_length(random(g1), 1) at test-GeneralisedPareto.R:31:3 2. │ └─testthat::quasi_label(enquo(object), arg = "object") 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. ├─distributions3::random(g1) 5. ├─distributions3:::random.GP(g1) 6. │ └─distributions3::apply_dpqr(...) 7. │ └─distributions3 (local) FUN(at, d = d, ...) 8. └─base::loadNamespace(x) 9. └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL) 10. └─base (local) withOneRestart(expr, restarts[[1L]]) 11. └─base (local) doWithOneRestart(return(expr), restart) ── Error ('test-GeneralisedPareto.R:67:3'): pdf.GP works correctly ───────────── <packageNotFoundError/error/condition> Error in `loadNamespace(x)`: there is no package called 'revdbayes' Backtrace: ▆ 1. ├─testthat::expect_equal(unname(pdf(g1, x1)), c(1, 0, NA)) at test-GeneralisedPareto.R:67:3 2. │ └─testthat::quasi_label(enquo(object), label, arg = "object") 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. ├─base::unname(pdf(g1, x1)) 5. ├─distributions3::pdf(g1, x1) 6. ├─distributions3:::pdf.GP(g1, x1) 7. │ └─distributions3::apply_dpqr(...) 8. │ └─base::vapply(at, FUN, numeric(n), d = d, ...) 9. │ └─distributions3 (local) FUN(X[[i]], ...) 10. └─base::loadNamespace(x) 11. └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL) 12. └─base (local) withOneRestart(expr, restarts[[1L]]) 13. └─base (local) doWithOneRestart(return(expr), restart) ── Error ('test-GeneralisedPareto.R:87:3'): log_pdf.GP works correctly ───────── <packageNotFoundError/error/condition> Error in `loadNamespace(x)`: there is no package called 'revdbayes' Backtrace: ▆ 1. ├─testthat::expect_equal(unname(log_pdf(g1, x1)), c(0, -Inf, NA)) at test-GeneralisedPareto.R:87:3 2. │ └─testthat::quasi_label(enquo(object), label, arg = "object") 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. ├─base::unname(log_pdf(g1, x1)) 5. ├─distributions3::log_pdf(g1, x1) 6. ├─distributions3:::log_pdf.GP(g1, x1) 7. │ └─distributions3::apply_dpqr(...) 8. │ └─base::vapply(at, FUN, numeric(n), d = d, ...) 9. │ └─distributions3 (local) FUN(X[[i]], ...) 10. └─base::loadNamespace(x) 11. └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL) 12. └─base (local) withOneRestart(expr, restarts[[1L]]) 13. └─base (local) doWithOneRestart(return(expr), restart) ── Error ('test-GeneralisedPareto.R:104:3'): cdf.GP works correctly ──────────── <packageNotFoundError/error/condition> Error in `loadNamespace(x)`: there is no package called 'revdbayes' Backtrace: ▆ 1. ├─testthat::expect_equal(unname(cdf(g1, x1)), c(0, 1, NA)) at test-GeneralisedPareto.R:104:3 2. │ └─testthat::quasi_label(enquo(object), label, arg = "object") 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. ├─base::unname(cdf(g1, x1)) 5. ├─distributions3::cdf(g1, x1) 6. ├─distributions3:::cdf.GP(g1, x1) 7. │ └─distributions3::apply_dpqr(...) 8. │ └─base::vapply(at, FUN, numeric(n), d = d, ...) 9. │ └─distributions3 (local) FUN(X[[i]], ...) 10. └─base::loadNamespace(x) 11. └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL) 12. └─base (local) withOneRestart(expr, restarts[[1L]]) 13. └─base (local) doWithOneRestart(return(expr), restart) ── Error ('test-GeneralisedPareto.R:122:3'): quantile.GP works correctly ─────── <packageNotFoundError/error/condition> Error in `loadNamespace(x)`: there is no package called 'revdbayes' Backtrace: ▆ 1. ├─testthat::expect_equal(...) at test-GeneralisedPareto.R:122:3 2. │ └─testthat::quasi_label(enquo(object), label, arg = "object") 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. ├─base::unname(quantile(g1, pvec)) 5. ├─stats::quantile(g1, pvec) 6. ├─distributions3:::quantile.GP(g1, pvec) 7. │ └─distributions3::apply_dpqr(...) 8. │ └─base::vapply(at, FUN, numeric(n), d = d, ...) 9. │ └─distributions3 (local) FUN(X[[i]], ...) 10. └─base::loadNamespace(x) 11. └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL) 12. └─base (local) withOneRestart(expr, restarts[[1L]]) 13. └─base (local) doWithOneRestart(return(expr), restart) ── Error ('test-GeneralisedPareto.R:141:3'): cdf.GP and quantile.GP are consistent ── <packageNotFoundError/error/condition> Error in `loadNamespace(x)`: there is no package called 'revdbayes' Backtrace: ▆ 1. ├─testthat::expect_equal(unname(cdf(g1, quantile(g1, pvec))), pvec) at test-GeneralisedPareto.R:141:3 2. │ └─testthat::quasi_label(enquo(object), label, arg = "object") 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. ├─base::unname(cdf(g1, quantile(g1, pvec))) 5. ├─distributions3::cdf(g1, quantile(g1, pvec)) 6. ├─distributions3:::cdf.GP(g1, quantile(g1, pvec)) 7. │ └─distributions3::apply_dpqr(...) 8. │ └─base::stopifnot(...) 9. ├─stats::quantile(g1, pvec) 10. ├─distributions3:::quantile.GP(g1, pvec) 11. │ └─distributions3::apply_dpqr(...) 12. │ └─base::vapply(at, FUN, numeric(n), d = d, ...) 13. │ └─distributions3 (local) FUN(X[[i]], ...) 14. └─base::loadNamespace(x) 15. └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL) 16. └─base (local) withOneRestart(expr, restarts[[1L]]) 17. └─base (local) doWithOneRestart(return(expr), restart) ── Error ('test-GeneralisedPareto.R:159:3'): vectorization of a GP distribution work correctly ── <packageNotFoundError/error/condition> Error in `loadNamespace(x)`: there is no package called 'revdbayes' Backtrace: ▆ 1. ├─distributions3::random(d) at test-GeneralisedPareto.R:159:3 2. ├─distributions3:::random.GP(d) 3. │ └─distributions3::apply_dpqr(...) 4. │ └─base::replicate(at, FUN(n, d = d)) 5. │ └─base::sapply(...) 6. │ └─base::lapply(X = X, FUN = FUN, ...) 7. │ └─distributions3 (local) FUN(X[[i]], ...) 8. │ └─distributions3 (local) FUN(n, d = d) 9. └─base::loadNamespace(x) 10. └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL) 11. └─base (local) withOneRestart(expr, restarts[[1L]]) 12. └─base (local) doWithOneRestart(return(expr), restart) ── Error ('test-GeneralisedPareto.R:218:3'): named return values for GP distribution work correctly ── <packageNotFoundError/error/condition> Error in `loadNamespace(x)`: there is no package called 'revdbayes' Backtrace: ▆ 1. ├─testthat::expect_equal(names(random(d, 1)), LETTERS[1:length(d)]) at test-GeneralisedPareto.R:218:3 2. │ └─testthat::quasi_label(enquo(object), label, arg = "object") 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. ├─distributions3::random(d, 1) 5. ├─distributions3:::random.GP(d, 1) 6. │ └─distributions3::apply_dpqr(...) 7. │ └─base::replicate(at, FUN(n, d = d)) 8. │ └─base::sapply(...) 9. │ └─base::lapply(X = X, FUN = FUN, ...) 10. │ └─distributions3 (local) FUN(X[[i]], ...) 11. │ └─distributions3 (local) FUN(n, d = d) 12. └─base::loadNamespace(x) 13. └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL) 14. └─base (local) withOneRestart(expr, restarts[[1L]]) 15. └─base (local) doWithOneRestart(return(expr), restart) ── Error ('test-Gumbel.R:19:3'): random.Gumbel works correctly ───────────────── <packageNotFoundError/error/condition> Error in `loadNamespace(x)`: there is no package called 'revdbayes' Backtrace: ▆ 1. ├─testthat::expect_length(random(g2), 1) at test-Gumbel.R:19:3 2. │ └─testthat::quasi_label(enquo(object), arg = "object") 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. ├─distributions3::random(g2) 5. ├─distributions3:::random.Gumbel(g2) 6. │ └─distributions3::apply_dpqr(...) 7. │ └─distributions3 (local) FUN(at, d = d, ...) 8. └─base::loadNamespace(x) 9. └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL) 10. └─base (local) withOneRestart(expr, restarts[[1L]]) 11. └─base (local) doWithOneRestart(return(expr), restart) ── Error ('test-Gumbel.R:33:3'): pdf.Gumbel works correctly ──────────────────── <packageNotFoundError/error/condition> Error in `loadNamespace(x)`: there is no package called 'revdbayes' Backtrace: ▆ 1. ├─testthat::expect_equal(...) at test-Gumbel.R:33:3 2. │ └─testthat::quasi_label(enquo(object), label, arg = "object") 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. ├─base::unname(pdf(g2, x2)) 5. ├─distributions3::pdf(g2, x2) 6. ├─distributions3:::pdf.Gumbel(g2, x2) 7. │ └─distributions3::apply_dpqr(...) 8. │ └─base::vapply(at, FUN, numeric(n), d = d, ...) 9. │ └─distributions3 (local) FUN(X[[i]], ...) 10. └─base::loadNamespace(x) 11. └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL) 12. └─base (local) withOneRestart(expr, restarts[[1L]]) 13. └─base (local) doWithOneRestart(return(expr), restart) ── Error ('test-Gumbel.R:41:3'): log_pdf.Gumbel works correctly ──────────────── <packageNotFoundError/error/condition> Error in `loadNamespace(x)`: there is no package called 'revdbayes' Backtrace: ▆ 1. ├─testthat::expect_equal(...) at test-Gumbel.R:41:3 2. │ └─testthat::quasi_label(enquo(object), label, arg = "object") 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. ├─base::unname(log_pdf(g2, x2)) 5. ├─distributions3::log_pdf(g2, x2) 6. ├─distributions3:::log_pdf.Gumbel(g2, x2) 7. │ └─distributions3::apply_dpqr(...) 8. │ └─base::vapply(at, FUN, numeric(n), d = d, ...) 9. │ └─distributions3 (local) FUN(X[[i]], ...) 10. └─base::loadNamespace(x) 11. └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL) 12. └─base (local) withOneRestart(expr, restarts[[1L]]) 13. └─base (local) doWithOneRestart(return(expr), restart) ── Error ('test-Gumbel.R:48:3'): cdf.Gumbel works correctly ──────────────────── <packageNotFoundError/error/condition> Error in `loadNamespace(x)`: there is no package called 'revdbayes' Backtrace: ▆ 1. ├─testthat::expect_equal(...) at test-Gumbel.R:48:3 2. │ └─testthat::quasi_label(enquo(object), label, arg = "object") 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. ├─base::unname(cdf(g2, x2)) 5. ├─distributions3::cdf(g2, x2) 6. ├─distributions3:::cdf.Gumbel(g2, x2) 7. │ └─distributions3::apply_dpqr(...) 8. │ └─base::vapply(at, FUN, numeric(n), d = d, ...) 9. │ └─distributions3 (local) FUN(X[[i]], ...) 10. └─base::loadNamespace(x) 11. └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL) 12. └─base (local) withOneRestart(expr, restarts[[1L]]) 13. └─base (local) doWithOneRestart(return(expr), restart) ── Error ('test-Gumbel.R:56:3'): quantile.Gumbel works correctly ─────────────── <packageNotFoundError/error/condition> Error in `loadNamespace(x)`: there is no package called 'revdbayes' Backtrace: ▆ 1. ├─testthat::expect_equal(...) at test-Gumbel.R:56:3 2. │ └─testthat::quasi_label(enquo(object), label, arg = "object") 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. ├─base::unname(quantile(g2, pvec)) 5. ├─stats::quantile(g2, pvec) 6. ├─distributions3:::quantile.Gumbel(g2, pvec) 7. │ └─distributions3::apply_dpqr(...) 8. │ └─base::vapply(at, FUN, numeric(n), d = d, ...) 9. │ └─distributions3 (local) FUN(X[[i]], ...) 10. └─base::loadNamespace(x) 11. └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL) 12. └─base (local) withOneRestart(expr, restarts[[1L]]) 13. └─base (local) doWithOneRestart(return(expr), restart) ── Error ('test-Gumbel.R:63:3'): cdf.Gumbel and quantile.Gumbel are consistent ── <packageNotFoundError/error/condition> Error in `loadNamespace(x)`: there is no package called 'revdbayes' Backtrace: ▆ 1. ├─testthat::expect_equal(unname(cdf(g2, quantile(g2, pvec))), pvec) at test-Gumbel.R:63:3 2. │ └─testthat::quasi_label(enquo(object), label, arg = "object") 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. ├─base::unname(cdf(g2, quantile(g2, pvec))) 5. ├─distributions3::cdf(g2, quantile(g2, pvec)) 6. ├─distributions3:::cdf.Gumbel(g2, quantile(g2, pvec)) 7. │ └─distributions3::apply_dpqr(...) 8. │ └─base::stopifnot(...) 9. ├─stats::quantile(g2, pvec) 10. ├─distributions3:::quantile.Gumbel(g2, pvec) 11. │ └─distributions3::apply_dpqr(...) 12. │ └─base::vapply(at, FUN, numeric(n), d = d, ...) 13. │ └─distributions3 (local) FUN(X[[i]], ...) 14. └─base::loadNamespace(x) 15. └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL) 16. └─base (local) withOneRestart(expr, restarts[[1L]]) 17. └─base (local) doWithOneRestart(return(expr), restart) ── Error ('test-Gumbel.R:79:3'): vectorization of a Gumbel distribution work correctly ── <packageNotFoundError/error/condition> Error in `loadNamespace(x)`: there is no package called 'revdbayes' Backtrace: ▆ 1. ├─distributions3::random(d) at test-Gumbel.R:79:3 2. ├─distributions3:::random.Gumbel(d) 3. │ └─distributions3::apply_dpqr(...) 4. │ └─base::replicate(at, FUN(n, d = d)) 5. │ └─base::sapply(...) 6. │ └─base::lapply(X = X, FUN = FUN, ...) 7. │ └─distributions3 (local) FUN(X[[i]], ...) 8. │ └─distributions3 (local) FUN(n, d = d) 9. └─base::loadNamespace(x) 10. └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL) 11. └─base (local) withOneRestart(expr, restarts[[1L]]) 12. └─base (local) doWithOneRestart(return(expr), restart) ── Error ('test-Gumbel.R:138:3'): named return values for Gumbel distribution work correctly ── <packageNotFoundError/error/condition> Error in `loadNamespace(x)`: there is no package called 'revdbayes' Backtrace: ▆ 1. ├─testthat::expect_equal(names(random(d, 1)), LETTERS[1:length(d)]) at test-Gumbel.R:138:3 2. │ └─testthat::quasi_label(enquo(object), label, arg = "object") 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. ├─distributions3::random(d, 1) 5. ├─distributions3:::random.Gumbel(d, 1) 6. │ └─distributions3::apply_dpqr(...) 7. │ └─base::replicate(at, FUN(n, d = d)) 8. │ └─base::sapply(...) 9. │ └─base::lapply(X = X, FUN = FUN, ...) 10. │ └─distributions3 (local) FUN(X[[i]], ...) 11. │ └─distributions3 (local) FUN(n, d = d) 12. └─base::loadNamespace(x) 13. └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL) 14. └─base (local) withOneRestart(expr, restarts[[1L]]) 15. └─base (local) doWithOneRestart(return(expr), restart) ── Error ('test-RevWeibull.R:31:3'): random.RevWeibull works correctly ───────── <packageNotFoundError/error/condition> Error in `loadNamespace(x)`: there is no package called 'revdbayes' Backtrace: ▆ 1. ├─testthat::expect_length(random(g3), 1) at test-RevWeibull.R:31:3 2. │ └─testthat::quasi_label(enquo(object), arg = "object") 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. ├─distributions3::random(g3) 5. ├─distributions3:::random.RevWeibull(g3) 6. │ └─distributions3::apply_dpqr(...) 7. │ └─distributions3 (local) FUN(at, d = d, ...) 8. └─base::loadNamespace(x) 9. └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL) 10. └─base (local) withOneRestart(expr, restarts[[1L]]) 11. └─base (local) doWithOneRestart(return(expr), restart) ── Error ('test-RevWeibull.R:45:3'): pdf.RevWeibull works correctly ──────────── <packageNotFoundError/error/condition> Error in `loadNamespace(x)`: there is no package called 'revdbayes' Backtrace: ▆ 1. ├─testthat::expect_equal(...) at test-RevWeibull.R:45:3 2. │ └─testthat::quasi_label(enquo(object), label, arg = "object") 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. ├─base::unname(pdf(g3, x3)) 5. ├─distributions3::pdf(g3, x3) 6. ├─distributions3:::pdf.RevWeibull(g3, x3) 7. │ └─distributions3::apply_dpqr(...) 8. │ └─base::vapply(at, FUN, numeric(n), d = d, ...) 9. │ └─distributions3 (local) FUN(X[[i]], ...) 10. └─base::loadNamespace(x) 11. └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL) 12. └─base (local) withOneRestart(expr, restarts[[1L]]) 13. └─base (local) doWithOneRestart(return(expr), restart) ── Error ('test-RevWeibull.R:53:3'): log_pdf.RevWeibull works correctly ──────── <packageNotFoundError/error/condition> Error in `loadNamespace(x)`: there is no package called 'revdbayes' Backtrace: ▆ 1. ├─testthat::expect_equal(...) at test-RevWeibull.R:53:3 2. │ └─testthat::quasi_label(enquo(object), label, arg = "object") 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. ├─base::unname(log_pdf(g3, x3)) 5. ├─distributions3::log_pdf(g3, x3) 6. ├─distributions3:::log_pdf.RevWeibull(g3, x3) 7. │ └─distributions3::apply_dpqr(...) 8. │ └─base::vapply(at, FUN, numeric(n), d = d, ...) 9. │ └─distributions3 (local) FUN(X[[i]], ...) 10. └─base::loadNamespace(x) 11. └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL) 12. └─base (local) withOneRestart(expr, restarts[[1L]]) 13. └─base (local) doWithOneRestart(return(expr), restart) ── Error ('test-RevWeibull.R:60:3'): cdf.RevWeibull works correctly ──────────── <packageNotFoundError/error/condition> Error in `loadNamespace(x)`: there is no package called 'revdbayes' Backtrace: ▆ 1. ├─testthat::expect_equal(...) at test-RevWeibull.R:60:3 2. │ └─testthat::quasi_label(enquo(object), label, arg = "object") 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. ├─base::unname(cdf(g3, x3)) 5. ├─distributions3::cdf(g3, x3) 6. ├─distributions3:::cdf.RevWeibull(g3, x3) 7. │ └─distributions3::apply_dpqr(...) 8. │ └─base::vapply(at, FUN, numeric(n), d = d, ...) 9. │ └─distributions3 (local) FUN(X[[i]], ...) 10. └─base::loadNamespace(x) 11. └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL) 12. └─base (local) withOneRestart(expr, restarts[[1L]]) 13. └─base (local) doWithOneRestart(return(expr), restart) ── Error ('test-RevWeibull.R:68:3'): quantile.RevWeibull works correctly ─────── <packageNotFoundError/error/condition> Error in `loadNamespace(x)`: there is no package called 'revdbayes' Backtrace: ▆ 1. ├─testthat::expect_equal(...) at test-RevWeibull.R:68:3 2. │ └─testthat::quasi_label(enquo(object), label, arg = "object") 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. ├─base::unname(quantile(g3, pvec)) 5. ├─stats::quantile(g3, pvec) 6. ├─distributions3:::quantile.RevWeibull(g3, pvec) 7. │ └─distributions3::apply_dpqr(...) 8. │ └─base::vapply(at, FUN, numeric(n), d = d, ...) 9. │ └─distributions3 (local) FUN(X[[i]], ...) 10. └─base::loadNamespace(x) 11. └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL) 12. └─base (local) withOneRestart(expr, restarts[[1L]]) 13. └─base (local) doWithOneRestart(return(expr), restart) ── Error ('test-RevWeibull.R:75:3'): cdf.RevWeibull and quantile.RevWeibull are consistent ── <packageNotFoundError/error/condition> Error in `loadNamespace(x)`: there is no package called 'revdbayes' Backtrace: ▆ 1. ├─testthat::expect_equal(unname(cdf(g3, quantile(g3, pvec))), pvec) at test-RevWeibull.R:75:3 2. │ └─testthat::quasi_label(enquo(object), label, arg = "object") 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. ├─base::unname(cdf(g3, quantile(g3, pvec))) 5. ├─distributions3::cdf(g3, quantile(g3, pvec)) 6. ├─distributions3:::cdf.RevWeibull(g3, quantile(g3, pvec)) 7. │ └─distributions3::apply_dpqr(...) 8. │ └─base::stopifnot(...) 9. ├─stats::quantile(g3, pvec) 10. ├─distributions3:::quantile.RevWeibull(g3, pvec) 11. │ └─distributions3::apply_dpqr(...) 12. │ └─base::vapply(at, FUN, numeric(n), d = d, ...) 13. │ └─distributions3 (local) FUN(X[[i]], ...) 14. └─base::loadNamespace(x) 15. └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL) 16. └─base (local) withOneRestart(expr, restarts[[1L]]) 17. └─base (local) doWithOneRestart(return(expr), restart) ── Error ('test-RevWeibull.R:89:3'): vectorization of a RevWeibull distribution work correctly ── <packageNotFoundError/error/condition> Error in `loadNamespace(x)`: there is no package called 'revdbayes' Backtrace: ▆ 1. ├─distributions3::random(d) at test-RevWeibull.R:89:3 2. ├─distributions3:::random.RevWeibull(d) 3. │ └─distributions3::apply_dpqr(...) 4. │ └─base::replicate(at, FUN(n, d = d)) 5. │ └─base::sapply(...) 6. │ └─base::lapply(X = X, FUN = FUN, ...) 7. │ └─distributions3 (local) FUN(X[[i]], ...) 8. │ └─distributions3 (local) FUN(n, d = d) 9. └─base::loadNamespace(x) 10. └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL) 11. └─base (local) withOneRestart(expr, restarts[[1L]]) 12. └─base (local) doWithOneRestart(return(expr), restart) ── Error ('test-RevWeibull.R:146:3'): named return values for RevWeibull distribution work correctly ── <packageNotFoundError/error/condition> Error in `loadNamespace(x)`: there is no package called 'revdbayes' Backtrace: ▆ 1. ├─testthat::expect_equal(names(random(d, 1)), LETTERS[1:length(d)]) at test-RevWeibull.R:146:3 2. │ └─testthat::quasi_label(enquo(object), label, arg = "object") 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. ├─distributions3::random(d, 1) 5. ├─distributions3:::random.RevWeibull(d, 1) 6. │ └─distributions3::apply_dpqr(...) 7. │ └─base::replicate(at, FUN(n, d = d)) 8. │ └─base::sapply(...) 9. │ └─base::lapply(X = X, FUN = FUN, ...) 10. │ └─distributions3 (local) FUN(X[[i]], ...) 11. │ └─distributions3 (local) FUN(n, d = d) 12. └─base::loadNamespace(x) 13. └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL) 14. └─base (local) withOneRestart(expr, restarts[[1L]]) 15. └─base (local) doWithOneRestart(return(expr), restart) [ FAIL 40 | WARN 4 | SKIP 0 | PASS 2364 ] Error: Test failures Execution halted Flavor: r-devel-linux-x86_64-debian-gcc