From 2d93e6cb7b2399b12a687f1c63a6b729f0cf2cdc Mon Sep 17 00:00:00 2001 From: DavisVaughan Date: Wed, 29 Mar 2023 09:51:09 -0400 Subject: [PATCH 1/4] Update `cran-comments.md` --- cran-comments.md | 123 +---------------------------------------------- 1 file changed, 1 insertion(+), 122 deletions(-) diff --git a/cran-comments.md b/cran-comments.md index 553f40a9..3b175523 100644 --- a/cran-comments.md +++ b/cran-comments.md @@ -1,122 +1 @@ -## revdepcheck results - -We checked 23 reverse dependencies, comparing R CMD check results across CRAN and dev versions of this package. - - * We saw 0 new problems - * We failed to check 0 packages - -## 1.2.0 Submission - -This is a minor release of hardhat that rolls back some of the changes made in -hardhat 1.0.0. - -## 1.1.0 Submission - -This is a minor release of hardhat that follows up on the 1.0.0 release to fix -a bug that we accidentally introduced. Models fit with hardhat 0.2.0 were no -longer able to call `predict()` if hardhat 1.0.0 was installed. That was -unintentional, and has been fixed. - -## 1.0.0 Submission - -This is a major release of hardhat to signify that we feel that it is stable. It includes a breaking change regarding how recipe roles are handled in `forge()`. It also includes a few new functions useful for case weight handling throughout tidymodels. - -## 0.2.0 Submission - -This submission adds a few more `extract_*()` generics, moves `tune()` to hardhat from tune, and fixes a few bugs. - -## 0.1.6 Submission - -This submission adds a new family of `extract_*()` generics for usage in other tidymodels packages. It also formally removes support for logical `indicators` in `default_formula_blueprint()`, which has been soft deprecated for awhile now. - -## 0.1.5 Submission - -This submission adds limited support for sparse matrix output. - -## 0.1.4 Submission - -This submission tweaks the `indicators` argument of `default_formula_blueprint()` to allow for one hot encoding. It also fixes a small bug with character columns. - -## 0.1.3 Submission - -This submission keeps hardhat up to date with vctrs 0.3.0 and fixes a few bugs -regarding novel factor levels. - -## 0.1.2 Submission - -This submission fixes a `stringsAsFactors` note and slightly tweaks how recipes are preprocessed. - -## 0.1.1 Submission - -This submission fixes the test error from the new recipes 0.1.8 update. - -## 0.1.0 Resubmission - -### Review 3 - 2019-12-06 - -> You have examples for unexported functions which cannot run in this way. -Please either add hardhat::: to the function calls in the examples, omit -these examples or export these functions. e.g. scream(), shrink(), in -scream.Rd and shrink.Rd - -Both `scream()` and `shrink()` are already exported, and their help files do not use any unexported functions. - -> \dontrun{} should only be used if the example really cannot be executed -(e.g. because of missing additional software, missing API keys, ...) by -the user. That's why wrapping examples in \dontrun{} adds the comment -("# Not run:") as a warning for the user. -Does not seem necessary. -Please unwrap the examples if they are executable in < 5 sec, or replace -\dontrun{} with \donttest{}. - -Removed all uses of `\dontrun{}`. - -> Please add \value to .Rd files regarding exported methods and explain -the functions results in the documentation. -(See: Writing R Extensions - -) -If a function does not return a value, please document that too, e.g. -\value{None}. - -Added return value descriptions for all exported functions. - -### Review 2 - 2019-11-28 - -> Please omit the redundant 'Toolkit for' from your title. - -Changed the Title from "A Toolkit for the Construction of Modeling Packages" to "Construct Modeling Packages". - -> The Description field is intended to be a (one paragraph) description -of what the package does and why it may be useful. Please elaborate. - -Changed the Description from: - -"Provides infrastructure for building new modeling packages, including functionality around preprocessing, predicting, and validating input." - -to: - -"Building modeling packages is hard. A large amount of effort generally goes into providing an implementation for a new method that is efficient, fast, and correct, but often less emphasis is put on the user interface. A good interface requires specialized knowledge about S3 methods and formulas, which the average package developer might not have. The goal of 'hardhat' is to reduce the burden around building new modeling packages by providing functionality for preprocessing, predicting, and validating input." - -> If there are references describing (the theoretical backgrounds of) the -methods in your package, please add these in the description field of -your DESCRIPTION file in the form -authors (year) -authors (year) -authors (year, ISBN:...) -or if those are not available: -with no space after 'doi:', 'arXiv:', 'https:' and angle brackets for -auto-linking. - -There are no references for the methods in this package. - -### Review 1 - 2019-11-21 - -> Found the following (possibly) invalid URLs: - URL: https://github.com/tidymodels/hardhat/actions?workflow=R-CMD-check - From: README.md - Status: 404 - Message: Not Found - -Removed invalid URL link as requested. It is valid when signed in to GitHub, -but 404s otherwise. +There are no expected revdep failures. From 93a7818cac16e65c60c4153c054569e700fc21f5 Mon Sep 17 00:00:00 2001 From: DavisVaughan Date: Wed, 29 Mar 2023 09:51:30 -0400 Subject: [PATCH 2/4] Increment version number to 1.3.0 --- DESCRIPTION | 2 +- NEWS.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/DESCRIPTION b/DESCRIPTION index ec256aa1..5340ef25 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -1,6 +1,6 @@ Package: hardhat Title: Construct Modeling Packages -Version: 1.2.0.9000 +Version: 1.3.0 Authors@R: c( person("Davis", "Vaughan", , "davis@posit.co", role = c("aut", "cre")), person("Max", "Kuhn", , "max@posit.co", role = "aut"), diff --git a/NEWS.md b/NEWS.md index a5950fc1..84d611f3 100644 --- a/NEWS.md +++ b/NEWS.md @@ -1,4 +1,4 @@ -# hardhat (development version) +# hardhat 1.3.0 * New family of `spruce_*_multiple()` functions to support standardizing multi-outcome predictions (#223, with contributions from @cregouby). From fd7dcead5d49b1caee405b8d36b48224c23dc783 Mon Sep 17 00:00:00 2001 From: DavisVaughan Date: Wed, 29 Mar 2023 14:31:40 -0400 Subject: [PATCH 3/4] CRAN-SUBMISSION --- CRAN-SUBMISSION | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 CRAN-SUBMISSION diff --git a/CRAN-SUBMISSION b/CRAN-SUBMISSION new file mode 100644 index 00000000..1a17f393 --- /dev/null +++ b/CRAN-SUBMISSION @@ -0,0 +1,3 @@ +Version: 1.3.0 +Date: 2023-03-29 18:31:28 UTC +SHA: 93a7818cac16e65c60c4153c054569e700fc21f5 From 402d6651a32149fe5395fb0a8dc21df91f285859 Mon Sep 17 00:00:00 2001 From: DavisVaughan Date: Thu, 30 Mar 2023 08:25:26 -0400 Subject: [PATCH 4/4] Delete CRAN-SUBMISSION --- CRAN-SUBMISSION | 3 --- 1 file changed, 3 deletions(-) delete mode 100644 CRAN-SUBMISSION diff --git a/CRAN-SUBMISSION b/CRAN-SUBMISSION deleted file mode 100644 index 1a17f393..00000000 --- a/CRAN-SUBMISSION +++ /dev/null @@ -1,3 +0,0 @@ -Version: 1.3.0 -Date: 2023-03-29 18:31:28 UTC -SHA: 93a7818cac16e65c60c4153c054569e700fc21f5