Skip to content

Commit e14d8f1

Browse files
authored
RC 1.2.0 (#304)
* correct version number * Polish NEWS * nothing of note * Increment version number to 1.2.0 * Add `CRAN-SUBMISSION` * remove `CRAN-SUBMISSION`
1 parent c9a7863 commit e14d8f1

File tree

5 files changed

+14
-17
lines changed

5 files changed

+14
-17
lines changed

DESCRIPTION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Package: dials
22
Title: Tools for Creating Tuning Parameter Values
3-
Version: 1.1.0.9000
3+
Version: 1.2.0
44
Authors@R: c(
55
person("Max", "Kuhn", , "max@posit.co", role = "aut"),
66
person("Hannah", "Frick", , "hannah@posit.co", role = c("aut", "cre")),

NEWS.md

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
1-
# dials (development version)
1+
# dials 1.2.0
2+
3+
## New parameters
24

3-
* Deprecation of `pull_dials_object()` has been escalated to an error. Please
4-
use `extract_parameter_dials()` instead (#265).
5-
65
* Added `trim_amount()` for `recipes::step_impute_mean()`.
76

87
* Added `num_runs()` for `recipes::step_nnmf()` (#281).
@@ -11,12 +10,16 @@
1110

1211
* Added `validation_set_prop()` for `embed::step_discretize_xgb()` (#280).
1312

13+
## Other changes
14+
15+
* Deprecation of `pull_dials_object()` has been escalated to an error. Please use `extract_parameter_dials()` instead (#265).
16+
17+
* The methods `grid_regular.workflow()`, `grid_random.workflow()`, `grid_max_entropy.workflow()`, and `grid_latin_hypercube.workflow()` have been deprecated (#302).
18+
1419
* The constructor functions for single parameters, `new_quant_param()` and `new_qual_param()`, as well as for parameter sets, `parameters_constr()`, now have improved handling of the call shown in error messages (#291, #295).
1520

1621
* The constructor for parameter sets, `parameters_constr()`, now checks that all inputs have the same length (#295).
1722

18-
* The methods `grid_regular.workflow()`, `grid_random.workflow()`, `grid_max_entropy.workflow()`, and `grid_latin_hypercube.workflow()` have been deprecated (#302).
19-
2023

2124
# dials 1.1.0
2225

R/constructors.R

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ new_quant_param <- function(type = c("double", "integer"),
8888
call = caller_env()) {
8989
if (lifecycle::is_present(default)) {
9090
lifecycle::deprecate_warn(
91-
when = "1.0.1",
91+
when = "1.1.0",
9292
what = "new_quant_param(default)"
9393
)
9494
}
@@ -187,7 +187,7 @@ new_qual_param <- function(type = c("character", "logical"),
187187
...,
188188
call = caller_env()) {
189189
if (lifecycle::is_present(default)) {
190-
lifecycle::deprecate_warn(when = "1.0.1", what = "new_qual_param(default)")
190+
lifecycle::deprecate_warn(when = "1.1.0", what = "new_qual_param(default)")
191191
}
192192

193193
type <- arg_match0(type, values = c("character", "logical"))

cran-comments.md

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +0,0 @@
1-
## revdepcheck results
2-
3-
We checked 24 reverse dependencies, comparing R CMD check results across CRAN and dev versions of this package.
4-
5-
* We saw 0 new problems
6-
* We failed to check 0 packages

tests/testthat/_snaps/constructors.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -287,7 +287,7 @@
287287
label = c(foo = "Foo"))
288288
Condition
289289
Warning:
290-
The `default` argument of `new_quant_param()` is deprecated as of dials 1.0.1.
290+
The `default` argument of `new_quant_param()` is deprecated as of dials 1.1.0.
291291

292292
---
293293

@@ -296,5 +296,5 @@
296296
default = TRUE, label = c(foo = "Foo"))
297297
Condition
298298
Warning:
299-
The `default` argument of `new_qual_param()` is deprecated as of dials 1.0.1.
299+
The `default` argument of `new_qual_param()` is deprecated as of dials 1.1.0.
300300

0 commit comments

Comments
 (0)