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

All functions that take a Census API key as an argument now use Sys.getenv("CENSUS_API_KEY") by default #112

Closed
wants to merge 30 commits into from

Conversation

rossellhayes
Copy link
Contributor

This PR ensures that all functions that take a Census API key as an argument now use Sys.getenv("CENSUS_API_KEY") as their default value. This moves logic that was previously internal to the function for handling NULL values into the function signature.

Package documentation now also makes explicit that this environment variable is checked by default. Previously, this behavior was not documented in many functions that used NULL as their default value.

This PR adds cli and rlang to the list of package dependencies, but these packages were already implicit dependencies, because they are depended on by pre-existing dependencies like dplyr and purrr.

@1beb
Copy link
Collaborator

1beb commented Nov 28, 2023

Closing here, merging into dev in #120

@1beb 1beb closed this Nov 28, 2023
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.

3 participants