Skip to content
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

Update create_config() to use dynamic dots #39

Merged
merged 5 commits into from
Jan 3, 2024
Merged

Update create_config() to use dynamic dots #39

merged 5 commits into from
Jan 3, 2024

Conversation

joshwlambert
Copy link
Member

This PR updates the behaviour of create_config() as suggested in PR #33. The function is updated to use dynamic dots, and therefore the {rlang} dependency is added to the package. The behaviour of the function is changed to disallow silently swallowing arguments in the dots (...) and instead error if the argument names do not match the config argument list.

Tests for create_config() are updated and new tests are added to check new functionality. Function documentation is updated and dynamic dots is linked.

@joshwlambert
Copy link
Member Author

Closing and reopening the PR to trigger organisation workflows after GHA commit.

@joshwlambert joshwlambert reopened this Jan 3, 2024
@joshwlambert joshwlambert merged commit 852b820 into main Jan 3, 2024
9 checks passed
@joshwlambert joshwlambert deleted the dyn-dots branch January 3, 2024 15:40
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