Skip to content

Commit

Permalink
update news, docs, cran comments
Browse files Browse the repository at this point in the history
  • Loading branch information
nhejazi committed Sep 23, 2021
1 parent bf6b13b commit 5c1dc7f
Show file tree
Hide file tree
Showing 8 changed files with 46 additions and 34 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -44,4 +44,4 @@ Suggests:
randomForest
LazyData: true
VignetteBuilder: knitr
RoxygenNote: 7.1.1.9000
RoxygenNote: 7.1.2
11 changes: 8 additions & 3 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
# origami 1.0.5
* Addition of `glmnet` to package `Suggests` since used in the vignette.
* Resolve issue stemming from the partial matching of argument names
(https://github.com/tlverse/origami/issues/56) by specifying throughout.

# origami 1.0.4
* Fix the incorrect use of `future.apply` by including `future.seed = TRUE`,
as per https://github.com/tlverse/origami/issues/48.
Expand All @@ -6,10 +11,10 @@
* Sped up all pooled time-series fold functions with `lapply`.
* All pooled time-series fold functions (`folds_rolling_origin_pooled`,
`folds_rolling_window_pooled`, `folds_vfold_rolling_origin_pooled`,
`folds_vfold_rolling_window_pooled`) now allow for variability in the
number of observations for each independent unit (i.e. subject).
`folds_vfold_rolling_window_pooled`) now allow for variability in the
number of observations for each independent unit (i.e., the subject).
* Added test for pooled time-series cross-validation with multi-unit time-series
to test the update above. In this test, the total number of observations
to test the update above. In this test, the total number of observations
and the time-points for which there are observations varies across the units.

# origami 1.0.3
Expand Down
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ estimate of the mean:
``` r
library(stringr)
library(origami)
#> origami v1.0.3: Generalized Framework for Cross-Validation
#> origami v1.0.4: Generalized Framework for Cross-Validation
set.seed(4795)

data(mtcars)
Expand All @@ -87,7 +87,6 @@ head(mtcars)
#> Hornet 4 Drive 21.4 6 258 110 3.08 3.215 19.44 1 0 3 1
#> Hornet Sportabout 18.7 8 360 175 3.15 3.440 17.02 0 0 3 2
#> Valiant 18.1 6 225 105 2.76 3.460 20.22 1 0 3 1

# build a cv_fun that wraps around lm
cv_lm <- function(fold, data, reg_form) {
# get name and index of outcome variable from regression formula
Expand Down
7 changes: 3 additions & 4 deletions cran-comments.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
## Test environments
* latest macOS (local), R 3.6.0
* ubuntu 14.04 (on travis-ci), R 3.6.1
* ubuntu 18.04 (local), R 3.6.2
* windows (on appveyor-ci), R 3.6.1
* ubuntu 20.04 (local + GitHub Actions), R 4.1.1
* macOS 10.15 (local + GitHub Actions), R 4.1.1
* windows 2019 (on GitHub Actions), R 4.1.1

## R CMD check results
There were no ERRORs, WARNINGs, or NOTEs
Expand Down
41 changes: 21 additions & 20 deletions docs/articles/generalizedCV.html

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

3 changes: 1 addition & 2 deletions docs/index.html

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

11 changes: 10 additions & 1 deletion docs/news/index.html

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

2 changes: 1 addition & 1 deletion docs/pkgdown.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ pkgdown: 1.6.1
pkgdown_sha: ~
articles:
generalizedCV: generalizedCV.html
last_built: 2021-08-29T15:59Z
last_built: 2021-09-23T20:30Z
urls:
reference: http://tlverse.org/origami/reference
article: http://tlverse.org/origami/articles
Expand Down

0 comments on commit 5c1dc7f

Please sign in to comment.