When I have a specific package, I change default parameters of att_amend_desc(), like pkg_ignore or extra.suggest. I'd like to be able to run att_amend_desc() directly in my console, but using my parameters, without having to go to the "dev_history" file where this line of code is written
Validation
[x] I can run att_amend_desc() with parameters, and it replaces the config file
[x] I can run att_amend_desc(use.config = TRUE) from anywhere, directly in the console, and it uses the last version of parameters of att_amend_desc() stored in a config file
(running the last chunk of the flat file dev/flat_save_att_params.Rmd both perform inflate() + att_amend_dec() with saved config :)
[x] The user is informed about what is happening
(when updating config)
(when using config)
[x] I have the possibility to run a temporary version of att_amend_desc() with some parameters, without changing the config file (default behavior)
(e.g., removing two pkgs from suggest)
Tech
[x] att_amend_desc() has two new parameters named update.config = FALSE and use.config = FALSE by default
#' @param update.config logical Should the list of parameter be saved for later use with use.config
#' @param use.config logical Should the att_amend_desc use the parameters saved in config
#' @param path.y character Path to yaml config file
Context
When I have a specific package, I change default parameters of
att_amend_desc()
, likepkg_ignore
orextra.suggest
. I'd like to be able to runatt_amend_desc()
directly in my console, but using my parameters, without having to go to the "dev_history" file where this line of code is writtenValidation
att_amend_desc()
with parameters, and it replaces the config fileatt_amend_desc(use.config = TRUE)
from anywhere, directly in the console, and it uses the last version of parameters ofatt_amend_desc()
stored in a config file(running the last chunk of the flat file
dev/flat_save_att_params.Rmd
both performinflate()
+att_amend_dec()
with saved config :)(when updating config)
(when using config)
att_amend_desc()
with some parameters, without changing the config file (default behavior)(e.g., removing two pkgs from suggest)
Tech
att_amend_desc()
has two new parameters namedupdate.config = FALSE
anduse.config = FALSE
by default