-
Notifications
You must be signed in to change notification settings - Fork 20
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
cr_works(dois = single_doi) returned a data.frame, not a tibble #184
cr_works(dois = single_doi) returned a data.frame, not a tibble #184
Conversation
backtick quoting prevents breakpoints from working
Codecov Report
@@ Coverage Diff @@
## master #184 +/- ##
=======================================
Coverage 50.76% 50.76%
=======================================
Files 30 30
Lines 1499 1499
=======================================
Hits 761 761
Misses 738 738
Continue to review full report at Codecov.
|
thanks @martinjhnhadley for this. you don't always have to make an issue. i'd say make an issue first if it's "sufficiently complex" |
please add the .Rproj file to .gitignore |
Is it not more useful to have it not gitignored? Other ropensci packages have them, I think it’s a useful standard. |
I don't use rstudio for the most part |
any thoughts @martinjhnhadley ? |
Done 😃 |
thanks much @martinjhnhadley |
Description
cr_works()
returned a tibble of results in every case except when provided with a single DOI to thedois
argument. This meant a loss of data in theauthors
and other columns.Related Issue
I didn't make an issue for this PR... should I always make an issue before doing the PR?
Example
Here's how the existing package handles a single DOI:
Created on 2019-02-28 by the reprex package (v0.2.1)
And here's how it behaves now
Created on 2019-02-28 by the reprex package (v0.2.1)