Package: assessor Check: tests New result: ERROR Running ‘testthat.R’ [14s/14s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > # This file is part of the standard setup for testthat. > # It is recommended that you do not modify it. > # > # Where should you do additional test configuration? > # Learn more about the roles of various files in: > # * https://r-pkgs.org/testing-design.html#sec-tests-files-overview > # * https://testthat.r-lib.org/articles/special-files.html > > library(testthat) > library(assessor) > > test_check("assessor") Saving _problems/test-semiconti-49.R Saving _problems/test-semiconti-50.R Classes and Methods for R originally developed in the Political Science Computational Laboratory Department of Political Science Stanford University (2002-2015), by and under the direction of Simon Jackman. hurdle and zeroinfl functions by Achim Zeileis. [ FAIL 2 | WARN 0 | SKIP 0 | PASS 11 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Failure ('test-semiconti.R:49:3'): Tweedie residuals are the same with the reference residuals ── Expected `resid_semiconti(model1, plot = F)` to be identical to `newp`. Differences: `names(actual)` is absent `names(expected)` is a character vector ('1', '2', '3', '4', '5', ...) ── Failure ('test-semiconti.R:50:3'): Tweedie residuals are the same with the reference residuals ── Expected `resid_semiconti(model2, plot = F)` to be identical to `newp2`. Differences: `names(actual)` is absent `names(expected)` is a character vector ('1', '2', '3', '4', '5', ...) [ FAIL 2 | WARN 0 | SKIP 0 | PASS 11 ] Error: ! Test failures. Execution halted Package: ChainLadder Check: re-building of vignette outputs New result: ERROR Error(s) in re-building vignettes: ... --- re-building ‘ChainLadder.Rmd’ using rmarkdown Quitting from ChainLadder.Rmd:1241-1244 [unnamed-chunk-59] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Error in `as.vector()`: ! cannot coerce type 'closure' to vector of type 'any' --- Backtrace: ▆ 1. └─ChainLadder::glmReserve(GenIns, mse.method = "boot") 2. └─tweedie::rtweedie(...) 3. └─base::as.vector(rt) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Error: processing vignette 'ChainLadder.Rmd' failed with diagnostics: cannot coerce type 'closure' to vector of type 'any' --- failed re-building ‘ChainLadder.Rmd’ SUMMARY: processing the following file failed: ‘ChainLadder.Rmd’ Error: Vignette re-building failed. Execution halted Package: GlmSimulatoR Check: tests New result: ERROR Running ‘testthat.R’ [8s/8s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > library(testthat) > library(GlmSimulatoR) > > test_check("GlmSimulatoR") Saving _problems/test_internal_functions-148.R Saving _problems/test_simulate_tweedie-99.R [ FAIL 2 | WARN 0 | SKIP 0 | PASS 396 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test_internal_functions.R:146:3'): Confirm functions return a matrix with correct dimensions ── Error in `as.vector(x, mode)`: cannot coerce type 'closure' to vector of type 'any' Backtrace: ▆ 1. ├─testthat::expect_true(...) at test_internal_functions.R:146:3 2. │ └─testthat::quasi_label(enquo(object), label) 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. └─GlmSimulatoR:::create_tweedie(...) 5. ├─base::matrix(...) 6. └─tweedie::rtweedie(...) 7. └─base::as.vector(rt) ── Error ('test_simulate_tweedie.R:99:3'): Ancillary parameter function works if ancillary is provided ── Error in `as.vector(x, mode)`: cannot coerce type 'closure' to vector of type 'any' Backtrace: ▆ 1. ├─testthat::expect_true(...) at test_simulate_tweedie.R:99:3 2. │ └─testthat::quasi_label(enquo(object), label) 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. ├─simulate_tweedie(ancillary = 1) %>% nrow() 5. ├─base::nrow(.) 6. └─GlmSimulatoR::simulate_tweedie(ancillary = 1) 7. └─GlmSimulatoR (local) make_response(mu, N, ancillary) 8. ├─base::matrix(...) 9. └─tweedie::rtweedie(...) 10. └─base::as.vector(rt) [ FAIL 2 | WARN 0 | SKIP 0 | PASS 396 ] Error: ! Test failures. Execution halted Package: insight Check: dependencies in R code New result: WARNING Missing or unexported object: ‘tweedie::logLiktweedie’