Skip to content

Commit

Permalink
version 0.3.2
Browse files Browse the repository at this point in the history
  • Loading branch information
mitchelloharawild authored and cran-robot committed Nov 29, 2021
1 parent de49ed3 commit 50ca79c
Show file tree
Hide file tree
Showing 60 changed files with 496 additions and 245 deletions.
11 changes: 5 additions & 6 deletions DESCRIPTION
@@ -1,6 +1,6 @@
Package: fabletools
Title: Core Tools for Packages in the 'fable' Framework
Version: 0.3.1
Version: 0.3.2
Authors@R:
c(person(given = "Mitchell",
family = "O'Hara-Wild",
Expand Down Expand Up @@ -33,7 +33,7 @@ Depends: R (>= 3.1.3)
Imports: tsibble (>= 0.9.0), tibble (>= 1.4.1), ggplot2 (>= 3.0.0),
tidyselect, rlang (>= 0.4.5), stats, dplyr (>= 1.0.0), tidyr
(>= 1.1.0), generics, R6, utils, vctrs (>= 0.2.2),
distributional, progressr, lifecycle
distributional (>= 0.2.2), progressr, lifecycle
Suggests: covr, crayon, fable (>= 0.2.0), future.apply, knitr, pillar
(>= 1.0.1), feasts (>= 0.1.2), rmarkdown, spelling, testthat,
tsibbledata (>= 0.2.0), lubridate, Matrix
Expand All @@ -42,10 +42,9 @@ RdMacros: lifecycle
ByteCompile: true
Encoding: UTF-8
Language: en-GB
LazyData: true
RoxygenNote: 7.1.1
RoxygenNote: 7.1.2
NeedsCompilation: no
Packaged: 2021-03-16 15:57:54 UTC; mitchell
Packaged: 2021-11-29 05:24:40 UTC; mitchell
Author: Mitchell O'Hara-Wild [aut, cre],
Rob Hyndman [aut],
Earo Wang [aut],
Expand All @@ -54,4 +53,4 @@ Author: Mitchell O'Hara-Wild [aut, cre],
David Holt [ctb]
Maintainer: Mitchell O'Hara-Wild <mail@mitchelloharawild.com>
Repository: CRAN
Date/Publication: 2021-03-16 22:10:03 UTC
Date/Publication: 2021-11-29 05:50:02 UTC
115 changes: 59 additions & 56 deletions MD5
@@ -1,98 +1,100 @@
711b1551fa11f01a6cd38859fe2efd0f *DESCRIPTION
5a5e08c49894bf24d168ce1936f60cde *NAMESPACE
af0ad9442cd0a283bc1d05e5d8c2ac9f *NEWS.md
b4be2f8c6db88d242e618e4c6266baa2 *R/accessors.R
045ffdb1efba8e6625b34a76a3257387 *R/accuracy.R
61c3121db97a901e34741fd9f0263974 *R/aggregate.R
87cb76ab414fb9122ae402159b3463ba *DESCRIPTION
2088a71998e1286be944bdd15ee6a5ad *NAMESPACE
40e22a1e6e57dc6813874d3f08eba419 *NEWS.md
6818752e746ee789976f6a5fc64f4aac *R/accessors.R
bf909dd6e67741e80005b459a5d58a2f *R/accuracy.R
73b83033c151154449f1d3e415b8a5be *R/aggregate.R
43196b3a91f03002efa4e99f6a94ce8c *R/box_cox.R
1db81c79416e183d71b7778b6e64efe5 *R/broom.R
57a90b98118a55ffe469f684bc18c210 *R/broom.R
cbaef737d494327d79afb92b21ccf254 *R/compat-purrr.R
3ef1dbefefb9435a8d4622f7f72463ef *R/components.R
b3d0d03ff262d36d1ca4da9509b6309f *R/components.R
a28cc83ee3ccd2c8df47710b23882cde *R/dable.R
355cc3401ddea9c3460fa4acaf32caa3 *R/definitions.R
9ad0ddbab62e1b98e2505bc165ed6818 *R/dplyr-dable.R
1374c58ef646487f08897d728757ac7f *R/dplyr-fable.R
7252803d29321966bbf4e38726a39d8f *R/dplyr-mable.R
f0cfa99a08bf99c3f0b2f8b4ab386305 *R/equation.R
7098a40958f70fe046ac023fe5e08167 *R/estimate.R
64f37c3dd4a10e5294289295362de566 *R/fable.R
107f3f1345981e1d0ba82cdc7ecaba18 *R/fable.R
7d82bf977dc75cafa7afdc18ba21caa0 *R/fabletools-package.R
b686e5ff453a1ee396fa6b1fe3d8df10 *R/features.R
e54cc1931cda26b79430b41ac893acc8 *R/features.R
c7e1cf6c64869618c861edf9977af576 *R/fitted.R
010effec27cc34eca53b76a7502b405f *R/forecast.R
b49a5f15d5bad65d8d8130ed36a4e9b9 *R/frequency.R
67e6a5d3ba54719dd492a1d41b6eef5e *R/generate.R
5c281910f6ed0e75b0590e23601e243b *R/forecast.R
45e19ce8bfce438dd436fa5aaf72acbb *R/frequency.R
0747d29fe61def5a67a0208136153165 *R/generate.R
6dbd4202a2f0de2202fc735856214508 *R/guess.R
6727867795e631fa91abbd4a37da1b14 *R/hilo.R
6debd8e95d1c5000623f3b48e02c371a *R/interpolate.R
4072f6fa9d0730cbbc46b13612ccf18e *R/hypothesise.R
facafeaa5b00dd81f759ba7499b88f17 *R/interpolate.R
ec7eb945353800bd0a071b15a124538f *R/lst_mdl.R
4d52c3872258b21b021c0910dd6a4279 *R/mable.R
e3e716bfedbb5bf02090bb2affd47cb6 *R/mable.R
6cae1fdb6734995e8625daba498c6297 *R/mdl_ts.R
d5a36d1279e7fb7a372d9de1f7786d7a *R/model.R
4aaaf1626ce168def4a4b445af32b14d *R/model_combination.R
29956ecc10adc8b296dcb5c9d2e56755 *R/model_decomposition.R
ea1d9ad7b329da5b73adaba42b384fc3 *R/model.R
cfa096eebc6da8b157da7bdd1f951ff5 *R/model_combination.R
24ef7c0858e1dbf67b37d603fff4fcdc *R/model_decomposition.R
df6f7d3d9bcc6fc1a989f7d821aef85c *R/model_null.R
200ccace4ef4ea1dd983923c1d85cf1a *R/outliers.R
9263b54db853b06611fdc2a70851e555 *R/parse.R
c8c67a0676e16771757a3248abd50343 *R/plot.R
54a4b199f0df9f37aab70ca8523e4a7a *R/reconciliation.R
563cc27af1b423c80650eb8508c58877 *R/reexports.R
fb03bdad6d773df26247ec8c684ab9fa *R/refit.R
157a9d62a5f8cd992fd918fc234571fd *R/plot.R
a2230ea36725caed699b8387cdeb007e *R/reconciliation.R
6b5d6331387fc0e228c0332a3b7a464f *R/reexports.R
6bdb5113dd636553aac1aa541cbafb7b *R/refit.R
2ca682e8231f7f02cae0fa4128a134bc *R/report.R
37902979ade9836ebf0184e100d1f5ea *R/residuals.R
769ed22fb489b0d681c816b58705f808 *R/residuals.R
fe30a66e973d94f152eeec90864b4a15 *R/response.R
3b97f5a5e9a75acc13c57789c1846c47 *R/specials.R
3540d6df50b07474e0b0bdaf434869be *R/specials.R
c8d51f09ab597e1c57ce666882e39544 *R/stream.R
cbdf350bf426c9729a4078546d47e95c *R/tbl_utils.R
c65cf167631341af48b62aee71a0bf3f *R/temporal_aggregation.R
fc5f777d65ed634b0e30f3558edac4ac *R/transform.R
2c2807619d68338517a09daedfa6835f *R/traverse.R
c720c5ba58764e6f7a9f0a3ffae5274b *R/utils.R
aa2d52dbd3b07f0063bcecf1b0557eb9 *R/utils.R
729d8de2770d3f84fe73a05729ae0893 *R/vctrs-dable.R
dab5adb8761ae06ce0b0a77f179dbe2d *R/vctrs-fable.R
1382e6f97d0c5e050b539401080b1445 *R/vctrs-mable.R
359693f4d933f294f0b020f2ede5a211 *R/vctrs-mable.R
429e331e5243dfe52ca88543986b6551 *R/xregs.R
9eed4b755fab99446a41a2bb44576600 *R/zzz.R
ede9c0dfaa26943c7201004142c62154 *README.md
f51f7f88342e1c25fa1698cf144fccd2 *build/fabletools.pdf
7eb496ef237bef5602361369382e5a68 *README.md
aee20b8d7ee9edf8d0acad553e6d00a1 *build/fabletools.pdf
10e18aae8aba14bc6c6ca44a71fdc68a *build/vignette.rds
6f2a90e451213e60197c308eacb8ab71 *inst/WORDLIST
337e8aea48048e9a28a19ed1b3c45068 *inst/WORDLIST
7bab195f754cc0017bd80d6b93536606 *inst/doc/extension_models.R
5a159266a4d4a7fc70c5e5702e4ccd9c *inst/doc/extension_models.Rmd
3b7ab31593d3e28ffcf168fa5afad682 *inst/doc/extension_models.html
3db90035f384c7932d6e854e7435054a *inst/doc/extension_models.html
cff23ee87902f0ba1c751ada29f20fc2 *man/MAAPE.Rd
2cb004482006e49a4ec956d90b70ba75 *man/accuracy.Rd
775252575ce852d15fe54f6006fb2720 *man/agg_vec.Rd
43aa0440d1cdc453de0081523bcce21a *man/accuracy.Rd
d2fa9e9eb9773e7276e81d28dcdbb3e8 *man/agg_vec.Rd
dc05205882b73f99f1648380c722902d *man/aggregate_index.Rd
6306ce6869a6c1de33c801c85eb4a115 *man/aggregate_key.Rd
e968b46684b00b9b8bd4d19a68c26414 *man/aggregation-vctrs.Rd
c62dddfed7dc7cef64a9d94c8d9e2952 *man/as-dable.Rd
ea4a261519a8f938bbca31e2c82960ba *man/as-fable.Rd
551b9a81c42c40e09d806b815c9a3892 *man/as_mable.Rd
66a2707f658afdf5a01f5e2ea3f99bce *man/augment.Rd
146fdeeb16a79170cae2137bb874835a *man/autoplot.dcmp_ts.Rd
37c1e2a9ecc19e127e3f57071ef31b85 *man/autoplot.fbl_ts.Rd
f2269ba3a524bc34aa69f39e3e9bf530 *man/autoplot.tbl_ts.Rd
ad1b60cd02c70baf4d82abb30680b726 *man/augment.Rd
ff27cb3120ef511e0b6dd411c936be87 *man/autoplot.dcmp_ts.Rd
92425c4816b80c19ab816be830c19fba *man/autoplot.fbl_ts.Rd
3f79dc5f57d0fbcfeb38e358eac64bd5 *man/autoplot.tbl_ts.Rd
8c636a927212d183a7c3850bfe0084da *man/bias_adjust.Rd
5936ee99ccba59b5b3d8b902ea2e59cc *man/bottom_up.Rd
cab019073996dcc2d5aba968f04fb033 *man/box_cox.Rd
3c109b101def27d5a9504671d485be4b *man/combination_ensemble.Rd
cbd465b6b7674866572de9547b4fe6a5 *man/combination_model.Rd
2e30198d56a15bf0273219ef691c03f1 *man/combination_ensemble.Rd
2265cc6d00a9b29b10a0c529e4a63f61 *man/combination_model.Rd
a05e8d28e484429d41c5b2dfb9d43f98 *man/combination_weighted.Rd
ad3ec7083e2f5972ee6f1600a949705d *man/common_xregs.Rd
51dd35a03ae3539a0cbb0352b8622fd4 *man/components.Rd
832973e06a39f6f33d9b9f906d11d5cb *man/components.Rd
44b374027aa1634b32e0fbcfa4431971 *man/construct_fc.Rd
311d01a7b31c53ed10632df3d81e6a37 *man/dable-vctrs.Rd
15f9f26ed1c93dd7002271493b6e2ad3 *man/dable.Rd
e33da4e74d468e1f7f39bdd49fa0dc6d *man/decomposition_model.Rd
b239ede51bf51c71c1782cabb709e532 *man/decomposition_model.Rd
e1f7abf486d9fea0be41bc15437188a4 *man/directional_accuracy_measures.Rd
b25292c8e68222ccb2515be39f786a14 *man/distribution_accuracy_measures.Rd
53a375e40412ae201e85e85515429cc6 *man/distribution_accuracy_measures.Rd
630c282ff1e8b7e32c0eeb8a3c801305 *man/distribution_var.Rd
a0fdb24d9d15c5c5630de61a05615a2e *man/estimate.Rd
b90659d7ad6d41d261b314c79e9aeeff *man/fable-vctrs.Rd
c23404d1cf73d4a9f55c8de604b7afcf *man/fable.Rd
ceab2d3ac333d693e97f3d80c615aabc *man/fabletools-package.Rd
4979625095c46d61760fc11d033e7968 *man/fabletools-package.Rd
0103d444a1b6f7328765a533af6d6553 *man/feature_set.Rd
ec8728a7f60b2e0ebfc43040de6b2c3d *man/features.Rd
8f93b5d113ffbb7ad4448bbd22c4b0e8 *man/features.Rd
8012d04e6cc0ebfd1aee0489e94f9146 *man/features_by_pkg.Rd
e9d950335b569185499416191d1337ef *man/features_by_tag.Rd
cdb7be9efaa25f3cca4cf33ade6e1394 *man/figures/README-example-1.png
Expand All @@ -108,23 +110,24 @@ c3978703d8f40f2679795335715e98f4 *man/figures/lifecycle-experimental.svg
53b3f893324260b737b3c46ed2a0e643 *man/figures/lifecycle-stable.svg
1c1fe7a759b86dc6dbcbe7797ab8246c *man/figures/lifecycle-superseded.svg
a02805f10249e06ffd570832856db160 *man/fitted.mdl_df.Rd
6cfc29f83588cede20aaea88a94356a7 *man/forecast.Rd
ccf455ea3ed2b6cef664acb5d4e373e2 *man/forecast.Rd
676fd82e0d71779c4d0a82460c183616 *man/freq_tools.Rd
896b295e4f7253eb75d5a8fe59046556 *man/generate.mdl_df.Rd
70fb188b1c61ab008f7f771af22a2903 *man/glance.Rd
5d329f99afdf481c3860e9cb39815f5e *man/interpolate.Rd
f64be4ec92640f545c0ac84afcffa922 *man/generate.mdl_df.Rd
3c866d37bd834c880c4d0acdb467c242 *man/glance.Rd
fb9812ef811612b6646ad8686647aef4 *man/hypothesize.mdl_df.Rd
a7ef1ffd6ae8a8dc68ab2700620e13b0 *man/interpolate.Rd
e8a5223160a4a939cd6dd5a59676f30f *man/interval_accuracy_measures.Rd
b9c7fa4747f3a212a0b7853b21f807a5 *man/is_aggregated.Rd
96062f4c4b65037642ec23dfa30ad05e *man/is_dable.Rd
b6ba18a3867cf077b10e8fc0bf563121 *man/is_fable.Rd
b942ade165ab9f0bf37e7c0988cf26b7 *man/is_mable.Rd
ef48c67bf01ee8ca6814a55ce87c3522 *man/is_model.Rd
ccbf937cd020d3fc33038ccbe2d6f72e *man/mable-vctrs.Rd
0901c7b645dce8757e70b8d393d70123 *man/mable.Rd
f317ca219973aa156a0ee9593cab437e *man/mable.Rd
07dca109d2ea56ef5d4f8997c0f4748f *man/mable_vars.Rd
301048bbd74fdbb5d5312063b5a13803 *man/middle_out.Rd
796365246bc1be40f6e63057bcf72187 *man/min_trace.Rd
fc1f352a34744f1cea8032c687771d32 *man/model.Rd
be9bb5b305fe1a4f062ba86d089625ab *man/model.Rd
1393b3cb5b12c9184a7e56bc397c088f *man/model_lhs.Rd
f0fda8a3f7df861905315f24d5799a65 *man/model_rhs.Rd
b3786690676b4f812ab2640a36c24ed2 *man/model_sum.Rd
Expand All @@ -137,25 +140,25 @@ fd11d262287dcffaedb4719e387c59ab *man/outliers.Rd
bdc8cb57affb2b7ffc1f2e2b0d54ed11 *man/parse_model_lhs.Rd
3fd1c33a565c1fbfed2b04be25d993e7 *man/parse_model_rhs.Rd
474792508988b76d6d1ae9ee579932cd *man/point_accuracy_measures.Rd
09f5c01e1553360588bcf5295a5896aa *man/reconcile.Rd
b0ccee1c18f9fcd1fb6a809c3af2fe99 *man/reexports.Rd
ae4b89a3df014dd2482498729b839312 *man/refit.Rd
cb19f90ef22302afe188ec08c93fad05 *man/reconcile.Rd
14d1fcb9e595616c89abc46f93591430 *man/reexports.Rd
d626054ca8d93616014cad7ea95ed1b2 *man/refit.Rd
7f923d344b049883e5ada968e6330f52 *man/register_feature.Rd
fe74782d2d7a04c98808abda763e18ff *man/report.Rd
51b8a397bf92000659fe9efaab4a3783 *man/residuals.mdl_df.Rd
04285043236595c6e83ccd810d402608 *man/response.Rd
b55489638f729e2380e2d96f4716b1d6 *man/response_vars.Rd
a51f43537bddd5e20fc9206074bf59e0 *man/scenarios.Rd
f24d13481193aa4e4beaa2ada30ef98d *man/skill_score.Rd
00cf2afa7bde97104fd27fd54fed2c54 *man/skill_score.Rd
0e9e1a771dc255c708fdf2717b0dcb04 *man/special_xreg.Rd
83b079e6ae9511eaf3088c462f9d75df *man/stream.Rd
750aaaefa9aa2044f8b40f8a48bdecaf *man/tidy.Rd
54aa9c8842561ba9af5d0f7232510432 *man/tidy.Rd
74b8186caf6db910744ce117f81e1e32 *man/top_down.Rd
9e68d7156db1ba73e94464d68fd2c308 *man/traverse.Rd
4980cb795255188f627f650622c4bf80 *man/unpack_hilo.Rd
4bf7ba0f683d07e48d465d0a4a558d7f *man/validate_formula.Rd
8176e3fbb47046d5f7220e147a102483 *tests/testthat.R
cdd548370717b42a9738c73daee45d1d *tests/testthat/Rplots.pdf
6e0a181fa68c195a63f7d6f3b48667f4 *tests/testthat/Rplots.pdf
d086dba90b013cec5dda344fb7938612 *tests/testthat/setup-data.R
b93b054b076aba90b60d8f5a0fd9198d *tests/testthat/setup-models.R
6b683cb35b10e316ea6f1d5bcbf69b40 *tests/testthat/test-accuracy.R
Expand All @@ -165,7 +168,7 @@ fe6bbb7d8ad033dd4f3c4658bc1edb3e *tests/testthat/test-decomposition-model.R
5445de0d6ca8a6ebf5e15cdf81c7a14a *tests/testthat/test-fable.R
68676adae765873e84c710e4469d8311 *tests/testthat/test-features.R
110ecf6015c56a0680480e0af09ad5d9 *tests/testthat/test-generate.R
52d27f4f5d640493e50d59cbf9c608e0 *tests/testthat/test-graphics.R
43c858e1aea216118650b2d1067d3b9f *tests/testthat/test-graphics.R
168f179d9969262e0ce4baca71542b6e *tests/testthat/test-hilo.R
5c512358f60a3b13c0f15a11e67a83e4 *tests/testthat/test-interpolate.R
1618029c438b05810e96ba9ae4f72cf9 *tests/testthat/test-mable.R
Expand Down
5 changes: 5 additions & 0 deletions NAMESPACE
Expand Up @@ -102,6 +102,8 @@ S3method(group_by,grouped_fbl)
S3method(group_data,mdl_df)
S3method(hfitted,mdl_ts)
S3method(hilo,fbl_ts)
S3method(hypothesize,mdl_df)
S3method(hypothesize,mdl_ts)
S3method(interpolate,mdl_df)
S3method(interpolate,mdl_ts)
S3method(invert_transformation,transformation)
Expand Down Expand Up @@ -238,6 +240,7 @@ export(bottom_up)
export(box_cox)
export(combination_ensemble)
export(combination_model)
export(combination_weighted)
export(common_periods)
export(common_xregs)
export(components)
Expand All @@ -262,6 +265,7 @@ export(glance)
export(guide_level)
export(hfitted)
export(hilo)
export(hypothesize)
export(interpolate)
export(interval_accuracy_measures)
export(inv_box_cox)
Expand Down Expand Up @@ -352,6 +356,7 @@ importFrom(generics,components)
importFrom(generics,equation)
importFrom(generics,generate)
importFrom(generics,glance)
importFrom(generics,hypothesize)
importFrom(generics,interpolate)
importFrom(generics,refit)
importFrom(generics,tidy)
Expand Down
26 changes: 26 additions & 0 deletions NEWS.md
@@ -1,3 +1,29 @@
# fabletools 0.3.2

## New features

* Added `hypothesize()` generic for running statistical tests on a trained model.
* Added `combination_weighted()` function for producing a combination model with
arbitrary weights.

## Improvements

* The fallback residuals() method now handles transformations when
`type = "innovation"`.
* Improved supported expressions for producing combination models. The
appropriate response variable is now simplified for all functions that produce
that original response variable. This notably includes `0.7*mdl1 + 0.3*mdl2` -
if `mdl1` and `mdl2` are models with the same response variables, then the
resulting combination model will also have the same response variable.
* Documentation improvements.

## Bug fixes

* Fixed issue with exogenous regressors (`xreg`) in reconciliation methods that
partially forecast the hierarchy.
* Fixed issue with keys being dropped when several `mdl_df` (mable) objects were
combined.

# fabletools 0.3.1

## New features
Expand Down
2 changes: 1 addition & 1 deletion R/accessors.R
Expand Up @@ -19,7 +19,7 @@ response_vars.mdl_df <- function(x){
}
#' @export
response_vars.mdl_ts <- function(x){
vapply(x$response, rlang::as_string, FUN.VALUE = character(1L))
vapply(x$response, rlang::as_label, FUN.VALUE = character(1L))
}
#' @export
response_vars.dcmp_ts <- function(x){
Expand Down

0 comments on commit 50ca79c

Please sign in to comment.