Skip to content

Commit 5594d69

Browse files
authored
Merge pull request #206 from tidymodels/rc-0-1-0
RC 0.1.0
2 parents 48ebdf8 + 5c2b76c commit 5594d69

File tree

17 files changed

+99
-104
lines changed

17 files changed

+99
-104
lines changed

.Rbuildignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,3 +18,4 @@
1818
^LICENSE\.md$
1919
^cran-comments\.md$
2020
^CRAN-RELEASE$
21+
^CRAN-SUBMISSION$

.github/workflows/pkgdown.yaml

Lines changed: 16 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,13 @@
1-
# Workflow derived from https://github.com/r-lib/actions/tree/master/examples
1+
# Workflow derived from https://github.com/r-lib/actions/tree/v2/examples
22
# Need help debugging build failures? Start at https://github.com/r-lib/actions#where-to-find-help
3-
# Add Config/Needs/website: tidyverse/tidytemplate to DESCRIPTION
43
on:
54
push:
65
branches: [main, master]
7-
tags: ['*']
86
pull_request:
97
branches: [main, master]
8+
release:
9+
types: [published]
10+
workflow_dispatch:
1011

1112
name: pkgdown
1213

@@ -18,28 +19,24 @@ jobs:
1819
steps:
1920
- uses: actions/checkout@v2
2021

21-
- uses: r-lib/actions/setup-pandoc@v1
22+
- uses: r-lib/actions/setup-pandoc@v2
2223

23-
- uses: r-lib/actions/setup-r@v1
24+
- uses: r-lib/actions/setup-r@v2
2425
with:
2526
use-public-rspm: true
2627

27-
- uses: r-lib/actions/setup-r-dependencies@v1
28+
- uses: r-lib/actions/setup-r-dependencies@v2
2829
with:
29-
extra-packages: r-lib/pkgdown
30+
extra-packages: any::pkgdown, local::.
3031
needs: website
3132

32-
- name: Install package
33-
run: R CMD INSTALL .
34-
3533
- name: Build site
36-
if: github.event_name == 'pull_request'
37-
run: |
38-
Rscript -e 'pkgdown::build_site()'
34+
run: Rscript -e 'pkgdown::build_site_github_pages(new_process = FALSE, install = FALSE)'
3935

40-
- name: Deploy package
41-
if: github.event_name == 'push'
42-
run: |
43-
git config --local user.name "$GITHUB_ACTOR"
44-
git config --local user.email "$GITHUB_ACTOR@users.noreply.github.com"
45-
Rscript -e 'pkgdown::deploy_to_branch(new_process = FALSE)'
36+
- name: Deploy to GitHub pages 🚀
37+
if: github.event_name != 'pull_request'
38+
uses: JamesIves/github-pages-deploy-action@4.1.4
39+
with:
40+
clean: false
41+
branch: gh-pages
42+
folder: docs

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@
33
.Rproj.user
44
.DS_Store
55
tests/.DS_Store
6-
docs/.DS_Store
6+
docs

DESCRIPTION

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
Package: dials
22
Title: Tools for Creating Tuning Parameter Values
3-
Version: 0.0.10.9001
3+
Version: 0.1.0
44
Authors@R: c(
55
person("Max", "Kuhn", , "max@rstudio.com", role = "aut"),
66
person("Hannah", "Frick", , "hannah@rstudio.com", role = c("aut", "cre")),
7-
person("RStudio", role = "cph")
7+
person("RStudio", role = c("cph", "fnd"))
88
)
99
Description: Many models contain tuning parameters (i.e. parameters that
1010
cannot be directly estimated from the data). These tools can be used
@@ -46,5 +46,3 @@ Encoding: UTF-8
4646
LazyData: true
4747
Roxygen: list(markdown = TRUE)
4848
RoxygenNote: 7.1.2
49-
Remotes:
50-
tidymodels/hardhat

NEWS.md

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,30 @@
1-
# dials (development version)
1+
# dials 0.1.0
22

33
## New parameters
44

55
* `summary_stat()` is a new parameter for use in `recipes::step_window()`.
66

77
* A general `class_weights()` parameter was added for imbalanced models.
88

9-
* Three new parameters for prior distribution specification related to
10-
`parsnip::bart()`.
9+
* `prior_outcome_range()`, `prior_terminal_node_coef()`, and
10+
`prior_terminal_node_expo()` are new parameters for prior distribution
11+
specification related to `parsnip::bart()`.
1112

1213
* `num_knots()` and `survival_link()` are new parameters for spline survival
1314
models (@mattwarkentin, #195).
1415

15-
* `vocabulary_size()` is a new parameter used in `textrecipes::step_tokenize_sentencepiece()` and `textrecipes::step_tokenize_bpe()`.
16+
* `vocabulary_size()` is a new parameter used in
17+
`textrecipes::step_tokenize_sentencepiece()` and `textrecipes::step_tokenize_bpe()`.
1618

1719
## Other changes
1820

19-
* New link to article explaining how to make custom parameter objects.
21+
* The new `extract_parameter_dials()` method supersedes `pull_dials_object()`
22+
which has been deprecated.
2023

2124
* `activation()` now supports values of `"tanh"`.
2225

23-
* New `extract_parameter_dials()` method for parameter sets of class `parameters`.
24-
25-
* `pull_dials_object()` has been deprecated.
26+
* New link to article explaining how to make custom parameter objects was added
27+
to the pkgdown site.
2628

2729

2830
# dials 0.0.10

R/pull_dials_object.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
#' @export
2626
pull_dials_object <- function(x, id, ...) {
2727
lifecycle::deprecate_warn(
28-
"0.0.11",
28+
"0.1.0",
2929
"pull_dials_object()",
3030
"hardhat::extract_parameter_dials()"
3131
)

README.Rmd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ knitr::opts_chunk$set(
1818
# dials
1919

2020
[![R-CMD-check](https://github.com/tidymodels/dials/workflows/R-CMD-check/badge.svg)](https://github.com/tidymodels/dials/actions)
21-
[![Codecov test coverage](https://codecov.io/gh/tidymodels/dials/branch/main/graph/badge.svg)](https://codecov.io/gh/tidymodels/dials?branch=main)
21+
[![Codecov test coverage](https://codecov.io/gh/tidymodels/dials/branch/main/graph/badge.svg)](https://app.codecov.io/gh/tidymodels/dials?branch=main)
2222
[![CRAN_Status_Badge](http://www.r-pkg.org/badges/version/dials)](https://CRAN.R-project.org/package=dials)
2323
[![Downloads](http://cranlogs.r-pkg.org/badges/dials)](https://CRAN.R-project.org/package=dials)
2424
[![lifecycle](https://img.shields.io/badge/lifecycle-stable-brightgreen.svg)](https://lifecycle.r-lib.org/articles/stages.html)

README.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55

66
[![R-CMD-check](https://github.com/tidymodels/dials/workflows/R-CMD-check/badge.svg)](https://github.com/tidymodels/dials/actions)
77
[![Codecov test
8-
coverage](https://codecov.io/gh/tidymodels/dials/branch/main/graph/badge.svg)](https://codecov.io/gh/tidymodels/dials?branch=main)
9-
[![CRAN\_Status\_Badge](http://www.r-pkg.org/badges/version/dials)](https://CRAN.R-project.org/package=dials)
8+
coverage](https://codecov.io/gh/tidymodels/dials/branch/main/graph/badge.svg)](https://app.codecov.io/gh/tidymodels/dials?branch=main)
9+
[![CRAN_Status_Badge](http://www.r-pkg.org/badges/version/dials)](https://CRAN.R-project.org/package=dials)
1010
[![Downloads](http://cranlogs.r-pkg.org/badges/dials)](https://CRAN.R-project.org/package=dials)
1111
[![lifecycle](https://img.shields.io/badge/lifecycle-stable-brightgreen.svg)](https://lifecycle.r-lib.org/articles/stages.html)
1212

@@ -52,8 +52,9 @@ By contributing to this project, you agree to abide by its terms.
5252
issue](https://github.com/tidymodels/dials/issues).
5353

5454
- Either way, learn how to create and share a
55-
[reprex](https://reprex.tidyverse.org/articles/articles/learn-reprex.html) (a minimal, reproducible example),
56-
to clearly communicate about your code.
55+
[reprex](https://reprex.tidyverse.org/articles/articles/learn-reprex.html)
56+
(a minimal, reproducible example), to clearly communicate about your
57+
code.
5758

5859
- Check out further details on [contributing guidelines for tidymodels
5960
packages](https://www.tidymodels.org/contribute/) and [how to get

_pkgdown.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,13 @@
1-
url: https://dials.tidymodels.org
1+
url: https://dials.tidymodels.org/
22

33
template:
4+
package: tidytemplate
45
bootstrap: 5
56
bslib:
6-
danger: "#CA225E"
77
primary: "#CA225E"
8-
package: tidytemplate
8+
includes:
9+
in_header: |
10+
<script defer data-domain="dials.tidymodels.org,all.tidymodels.org" src="https://plausible.io/js/plausible.js"></script>
911
1012
development:
1113
mode: auto

cran-comments.md

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,15 @@
1-
## R CMD check results
2-
3-
0 errors | 0 warnings | 1 note
4-
51
## revdepcheck results
62

7-
We checked 17 reverse dependencies, comparing R CMD check results across CRAN
8-
and dev versions of this package.
3+
We checked 19 reverse dependencies, comparing R CMD check results across CRAN and dev versions of this package.
94

105
* We saw 0 new problems
11-
* We failed to check 0 packages
6+
* We failed to check 1 packages
7+
8+
Issues with CRAN packages are summarised below.
9+
10+
### Failed to check
11+
12+
* bayesmodels (NA)
1213

1314
## Submission 0.0.10
1415

0 commit comments

Comments
 (0)