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

fix : allow to load package even if SENDGRID_API is defined #56

Merged
merged 2 commits into from
Dec 7, 2023

Conversation

VincentGuyader
Copy link
Contributor

fix : add a try in .onLoad to avoid the issue we had when SENDGRID_API is defined and.

We ran into this issue when building a package depending on sendgridr, the check failed because of setting non-interactively a key into keyring.

(maybe setting an if (interactive()) should be a better approach)

fix : add a try in .onLoad to avoid the issue we had when SENDGRID_API is defined and. 

We ran into this issue when building a package depending on sendgridr, the check failed because of setting non-interactively a key into keyring.


(maybe setting an if (interactive()) should be a better approach)
add silent=TRUE in try() to avoid error in check log
@mrchypark
Copy link
Owner

Thank you for pr! I like your idea.

@mrchypark mrchypark merged commit 92aae8e into mrchypark:main Dec 7, 2023
5 checks passed
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