Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@malcolmbarrett
Copy link
Contributor

auth_message() checks if usethis is installed, but it throws an error if it's not (when I saw this in the wild, it threw an error, then printed the second message). This PR changes the related argument of requireNamespace() to quietly = TRUE to only return TRUE/FALSE, not throw an error.

@nathancday
Copy link
Member

Lovely, thank you for the fix!

@ijlyttle ijlyttle requested a review from nathancday August 21, 2020 11:31
@ijlyttle
Copy link
Member

ijlyttle commented Aug 21, 2020

@malcolmbarrett - thanks!

@nathancday - I have added a couple things, as I could not bring myself to ask Malcom to add a NEWS item after fixing a bug out-of-the blue :). If this all looks OK to you, I am fine to squash-and-merge.

@nathancday nathancday merged commit 7c0f1f4 into r-box:master Aug 21, 2020
@malcolmbarrett malcolmbarrett deleted the fix_usethis_error branch August 21, 2020 18:26
@malcolmbarrett
Copy link
Contributor Author

Ha, a little commit like this hardly deserves a news item! Anyway, my pleasure; we're using this package extensively on our team, and I greatly appreciate your hard work on it!

@malcolmbarrett
Copy link
Contributor Author

The really amazing thing, @ijlyttle, is that I was in an environment without usethis 🤣

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