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

no specific dependency version dependency for curl leads to fail on R4.1 #72

Closed
e-kotov opened this issue Sep 5, 2024 · 2 comments
Closed

Comments

@e-kotov
Copy link
Member

e-kotov commented Sep 5, 2024

library(spanishoddata)
> Sys.setenv(SPANISH_OD_DATA_DIR = "~/spanish_od_data")
> dates <- c("2020-02-14")
> d_1 <- spod_get(type = "od", zones = "distr", dates = dates)
 0s 0s 0s 0s 0s 0s 0s 0s 0sData version detected from dates: 1                                                                                                                    0s
No data links xml files found, getting latest v1 data links xml
Saving the file to: /home/rstudio/spanish_od_data/data_links_v1_2024-09-05.xml
 [100%] Downloaded 901442 bytes...
Using existing data links xml: /home/rstudio/spanish_od_data/data_links_v1_2024-09-05.xml
Downloading approximately 0.07 GB of data.                                                                                                             0s
Error: 'multi_download' is not an exported object from 'namespace:curl'

Need to check when curl introduced the multi_download and depend on this minimal version. That may lead to a requirement of a certain R 4.x version.

@e-kotov
Copy link
Member Author

e-kotov commented Sep 5, 2024

Apparently it is {curl} v 5.0.0
https://github.com/jeroen/curl/blob/a97f53b26ec7c0d696babeca1a6f349b3379d5d5/NEWS#L36-L37

5.0.0
 - New function multi_download() which supports concurrent downloads and resuming

@e-kotov
Copy link
Member Author

e-kotov commented Sep 5, 2024

Closed with #73

@e-kotov e-kotov closed this as completed Sep 5, 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

1 participant