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

cr_prefixes and prefixes which are not found #130

Closed
globbestael opened this issue Feb 14, 2017 · 3 comments
Closed

cr_prefixes and prefixes which are not found #130

globbestael opened this issue Feb 14, 2017 · 3 comments
Labels
Milestone

Comments

@globbestael
Copy link

globbestael commented Feb 14, 2017

Hi,

When prefixes are not found, no object is created

prefixNames <- cr_prefixes(prefixes = c("10.1038", "10.1684", "10.1109"))
Error in x[sapply(x, function(y) if (is.null(y) || length(y) == 0) TRUE else FALSE)] <- NA : 
  invalid subscript type 'list'
In addition: Warning message:
404: Resource not found. - (prefixes/10.1684) 

Maybe my poor knowledge of R?

regards

@sckott
Copy link
Contributor

sckott commented Feb 14, 2017

thanks, looks like a bug, i'll have a look

@sckott sckott added the bug label Feb 14, 2017
@sckott sckott added this to the v0.7 milestone Feb 14, 2017
@sckott sckott closed this as completed in bfa84ef Feb 14, 2017
@sckott
Copy link
Contributor

sckott commented Feb 14, 2017

@globbestael reinstall devtools::install_github("ropensci/rcrossref") and try again, should be fixed

@globbestael
Copy link
Author

Thanks. Works OK now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants