CRAN Package Check Results for Package trendeval

Last updated on 2025-04-12 20:52:01 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.1.0 10.26 83.34 93.60 ERROR
r-devel-linux-x86_64-debian-gcc 0.1.0 6.95 60.42 67.37 ERROR
r-devel-linux-x86_64-fedora-clang 0.1.0 155.20 ERROR
r-devel-linux-x86_64-fedora-gcc 0.1.0 153.62 ERROR
r-devel-macos-arm64 0.1.0 53.00 OK
r-devel-macos-x86_64 0.1.0 82.00 OK
r-devel-windows-x86_64 0.1.0 12.00 88.00 100.00 ERROR
r-patched-linux-x86_64 0.1.0 9.76 81.05 90.81 ERROR
r-release-linux-x86_64 0.1.0 ERROR
r-release-macos-arm64 0.1.0 45.00 OK
r-release-macos-x86_64 0.1.0 71.00 OK
r-release-windows-x86_64 0.1.0 14.00 110.00 124.00 ERROR
r-oldrel-macos-arm64 0.1.0 OK
r-oldrel-macos-x86_64 0.1.0 81.00 OK
r-oldrel-windows-x86_64 0.1.0 14.00 110.00 124.00 ERROR

Additional issues

M1mac

Check Details

Version: 0.1.0
Check: Rd cross-references
Result: NOTE Found the following Rd file(s) with Rd \link{} targets missing package anchors: calculate_mae.Rd: trending_model calculate_rmse.Rd: trending_model calculate_rsq.Rd: trending_model Please provide package anchors for all Rd \link{} targets not in the package itself and the base packages. Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, r-devel-windows-x86_64, r-patched-linux-x86_64

Version: 0.1.0
Check: examples
Result: ERROR Running examples in ‘trendeval-Ex.R’ failed The error most likely occurred in: > base::assign(".ptime", proc.time(), pos = "CheckExEnv") > ### Name: evaluate_resampling > ### Title: Resampling approach for model evaluation > ### Aliases: evaluate_resampling evaluate_resampling.default > ### evaluate_resampling.trending_model evaluate_resampling.list > > ### ** Examples > > x <- rnorm(100, mean = 0) > y <- rpois(n = 100, lambda = exp(x + 1)) > dat <- data.frame(x = x, y = y) > model <- trending::glm_model(y ~ x, poisson) > models <- list( + poisson_model = trending::glm_model(y ~ x, poisson), + linear_model = trending::lm_model(y ~ x) + ) > > evaluate_resampling(model, dat) Error in `rsample::vfold_cv()`: ! Leave-one-out cross-validation is not supported by this function. ✖ You set `v` to `nrow(data)`, which would result in a leave-one-out cross-validation. ℹ Use `loo_cv()` in this case. Backtrace: ▆ 1. ├─trendeval::evaluate_resampling(model, dat) 2. └─trendeval:::evaluate_resampling.trending_model(model, dat) 3. └─rsample::vfold_cv(data, v = v, repeats = repeats) 4. └─rsample:::vfold_splits(...) 5. └─rsample:::check_v(v, n, prevent_loo = prevent_loo, call = rlang::caller_env()) 6. └─cli::cli_abort(...) 7. └─rlang::abort(...) Execution halted Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, r-patched-linux-x86_64, r-release-linux-x86_64

Version: 0.1.0
Check: examples
Result: ERROR Running examples in ‘trendeval-Ex.R’ failed The error most likely occurred in: > ### Name: evaluate_resampling > ### Title: Resampling approach for model evaluation > ### Aliases: evaluate_resampling evaluate_resampling.default > ### evaluate_resampling.trending_model evaluate_resampling.list > > ### ** Examples > > x <- rnorm(100, mean = 0) > y <- rpois(n = 100, lambda = exp(x + 1)) > dat <- data.frame(x = x, y = y) > model <- trending::glm_model(y ~ x, poisson) > models <- list( + poisson_model = trending::glm_model(y ~ x, poisson), + linear_model = trending::lm_model(y ~ x) + ) > > evaluate_resampling(model, dat) Error in `rsample::vfold_cv()`: ! Leave-one-out cross-validation is not supported by this function. ✖ You set `v` to `nrow(data)`, which would result in a leave-one-out cross-validation. ℹ Use `loo_cv()` in this case. Backtrace: ▆ 1. ├─trendeval::evaluate_resampling(model, dat) 2. └─trendeval:::evaluate_resampling.trending_model(model, dat) 3. └─rsample::vfold_cv(data, v = v, repeats = repeats) 4. └─rsample:::vfold_splits(...) 5. └─rsample:::check_v(v, n, prevent_loo = prevent_loo, call = rlang::caller_env()) 6. └─cli::cli_abort(...) 7. └─rlang::abort(...) Execution halted Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-devel-windows-x86_64, r-release-windows-x86_64, r-oldrel-windows-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.