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

Cryptic failure, Error in curl::curl_fetch_memory(url, handle = handle) #6

Open
peterjc opened this issue Jan 31, 2017 · 0 comments
Open

Comments

@peterjc
Copy link
Contributor

peterjc commented Jan 31, 2017

I've tried running this on my own ORCID,

$ git diff
diff --git a/checkmydois.R b/checkmydois.R
index c5ff9b6..bcf45c8 100644
--- a/checkmydois.R
+++ b/checkmydois.R
@@ -7,7 +7,7 @@ library(dplyr)
 library(httr)
 
 #Put your ORCID ID below
-your.ORCID.ID <- "0000-0002-3520-2046"
+your.ORCID.ID <- "0000-0001-9513-9993"
 
 #This gets your list of works with identifiers from ORCID
 #Thanks to Scott Chamberlain for this step https://github.com/ropensci/rorcid/issues/31

I know that many of these papers are paywalled, so perhaps this is not unexpected - but the error message is cryptic:

$ Rscript checkmydois.R ; echo "Return code $?"

Attaching package: ‘dplyr’

The following objects are masked from ‘package:stats’:

    filter, lag

The following objects are masked from ‘package:base’:

    intersect, setdiff, setequal, union

 [1] "http://doi.org/10.1111/mpp.12280"               
... <snip> ...
Warning message:
In rm(vec) : object 'vec' not found
Error in curl::curl_fetch_memory(url, handle = handle) : 
  Failure when receiving data from the peer
Calls: http_status ... request_fetch -> request_fetch.write_memory -> <Anonymous> -> .Call
Execution halted
Return code 1
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

No branches or pull requests

1 participant