Skip to content

Error occurred when creating the faers object #7

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

Closed
powerhorse1986 opened this issue Dec 5, 2024 · 2 comments
Closed

Error occurred when creating the faers object #7

powerhorse1986 opened this issue Dec 5, 2024 · 2 comments

Comments

@powerhorse1986
Copy link

Hi,

I am trying to learn how to use the package. And I followed the instructions on this github. However, I encountered an error when ran my own code shown as following:

data1 <- faers(2005, "q4", dir = system.file("extdata", package = "faers"), compress_dir = tempdir())

And the error information is:
Error in handle_setopt(handle, ..., noprogress = TRUE) :
Invalid or unsupported value when setting curl option 'timeout'
In addition: Warning message:
In handle_setopt(handle, ..., noprogress = TRUE) :
NAs introduced by coercion to integer range

Would you please suggest how to get this fixed?
Thank you.
Li

@Yunuuuu
Copy link
Owner

Yunuuuu commented Dec 13, 2024

It seems the newest curl breakdown the package. A quick fix maybe use curl version of 5.0.0

@Yunuuuu
Copy link
Owner

Yunuuuu commented Dec 21, 2024

should fix by 2610efc

@Yunuuuu Yunuuuu closed this as completed Dec 21, 2024
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

2 participants