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.
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
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.
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
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
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
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.
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
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.
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
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.
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
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.
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
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