Skip to content

878 merge fill_desc and set_options #1040

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 7 commits into from
May 26, 2023

Conversation

ilyaZar
Copy link
Contributor

@ilyaZar ilyaZar commented May 20, 2023

Fix #878.

Not sure (since it's been a while ..) if it is still planned to be a breaking change as mentioned in #878 (comment) .

It need not be a breaking change for the moment so here is a "careful" version with a deprecation note for the user in the docs:

  1. Add a new parameter set_options = FALSE to fill_desc(), so set_golem_options() will not run per default. However, set_golem_options() is run when that flag is TRUE (see commit 1 to this PR).

  2. That default FALSE is set inside files 01_start.R and a_start.Rmd for the user, adding a comment about future deprecation (see commit 2 to this PR).

  3. For testing purposes one can set_options = TRUE in “build.R” (commit 3 to this PR) for some time.

@ilyaZar ilyaZar force-pushed the 878-merge-fill_desc-and-set_options branch from 15d25fb to 9834cd7 Compare May 25, 2023 07:06
ilyaZar added 3 commits May 25, 2023 14:03
- defaults to FALSE for retrocompatibility
- add documentation informing about future deprecation
- add a note that set_options flag will be TRUE in future golem version but keep the default to FALSE inside 01_start.R and corresponding vignette for the moment
Since set_options=TRUE:

- remove manual setting of set_options=TRUE inside mantests/build.R
- update docs for fill_desc() this param

also: add missing one-liner description for role=c("aut", "cre") inside 01_start.R and a_start.Rmd which is consistent with the short descriptions of the other parameters in these files
@ilyaZar ilyaZar force-pushed the 878-merge-fill_desc-and-set_options branch from 9834cd7 to 5fca427 Compare May 25, 2023 12:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants