Skip to content

Commit

Permalink
fixes for cran
Browse files Browse the repository at this point in the history
  • Loading branch information
mdancho84 committed Apr 5, 2021
1 parent 5a8f05a commit 1b6e26b
Show file tree
Hide file tree
Showing 9 changed files with 12 additions and 7 deletions.
4 changes: 2 additions & 2 deletions CRAN-RELEASE
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
This package was submitted to CRAN on 2020-11-06.
Once it is accepted, delete this file and tag the release (commit 88b8260).
This package was submitted to CRAN on 2021-04-05.
Once it is accepted, delete this file and tag the release (commit 5a8f05a).
1 change: 0 additions & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ URL: https://github.com/business-science/modeltime.ensemble
BugReports: https://github.com/business-science/modeltime.ensemble/issues
License: MIT + file LICENSE
Encoding: UTF-8
LazyData: true
Depends:
modeltime (>= 0.5.1),
modeltime.resample (>= 0.1.0),
Expand Down
2 changes: 2 additions & 0 deletions R/ensemble_average.R
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
#' underlying models forecast at each timestamp
#'
#' @examples
#' \donttest{
#' library(tidymodels)
#' library(modeltime)
#' library(modeltime.ensemble)
Expand All @@ -46,6 +47,7 @@
#' .interactive = FALSE,
#' .conf_interval_show = FALSE
#' )
#' }
#'
#' @export
ensemble_average <- function(object, type = c("mean", "median")) {
Expand Down
2 changes: 1 addition & 1 deletion R/ensemble_model_spec.R
Original file line number Diff line number Diff line change
Expand Up @@ -79,13 +79,13 @@
#' `doFuture`. Then set `control = control_grid(allow_par = TRUE)`
#'
#' @examples
#' \donttest{
#' library(tidymodels)
#' library(modeltime)
#' library(modeltime.ensemble)
#' library(tidyverse)
#' library(timetk)
#'
#' \donttest{
#' # Step 1: Make resample predictions for submodels
#' resamples_tscv <- training(m750_splits) %>%
#' time_series_cv(
Expand Down
2 changes: 2 additions & 0 deletions R/ensemble_weighted.R
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
#'
#'
#' @examples
#' \donttest{
#' library(tidymodels)
#' library(modeltime)
#' library(modeltime.ensemble)
Expand Down Expand Up @@ -50,6 +51,7 @@
#' .interactive = FALSE,
#' .conf_interval_show = FALSE
#' )
#' }
#'
#' @export
ensemble_weighted <- function(object, loadings, scale_loadings = TRUE) {
Expand Down
2 changes: 2 additions & 0 deletions man/ensemble_average.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion man/ensemble_model_spec.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions man/ensemble_weighted.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 0 additions & 2 deletions tests/testthat/test-recursive.R
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@ context("TEST: RECURSIVE ENSEMBLES")

test_that("recursive ensemble 1 - single / recipe / parsnip", {

skip_on_cran()

FORECAST_HORIZON <- 24

m750_extended <- m750 %>%
Expand Down

0 comments on commit 1b6e26b

Please sign in to comment.