-
Notifications
You must be signed in to change notification settings - Fork 75
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
YAML config file management similar to the config package #623
Comments
Related: #622 |
On second thought, the |
And manually implementing inheritance without the |
#622 (comment) and #622 (comment) are relevant and make this issue worth considering. |
Reasons in favor:
Reasons against:
Sys.setenv(TAR_CONFIG = tempfile())
tar_config_set(
script = "alternate_script.R",
store = "alterante_store"
) So I will table this issue for now and revisit it if there is a specific need. |
On second thought, not really. Configuration spaces like "default" are for individual projects, and new users generally have prior intuition about that. |
Notes:
|
After some tinkering, I do plan to implement
|
Almost done with the implementation, just need to populate the tests below: targets/tests/testthat/test-tar_config_set.R Lines 198 to 232 in b1f9c30
targets/tests/testthat/test-tar_config_unset.R Lines 15 to 21 in b1f9c30
|
Prework
Description
The
config
package would make the existing_targets.yaml
/tar_config_set()
/tar_config_get()
system more powerful. I am particularly interested in inheritance. This would make it easier to create sub-projects.The text was updated successfully, but these errors were encountered: