Open arendsee opened 7 months ago
The issue reported in #71 about curl timing out is happening in the tests here. It appears to be unrelated to my new code.
On my personal Linux machine this works:
> db_url <- 'ftp://ftp.ncbi.nih.gov/pub/taxonomy/taxdmp.zip'
> db_path_file = "z.zip"
> curl::curl_download(db_url, db_path_file, quiet = TRUE)
This also works:
> taxizedb::db_download_ncbi()
Using libcurl 8.5.0, OpenSSL/3.2.0, R 4.3.2, and curl_5.2.0
On my server at work I encountered the same time out problem as the check here and @bergalu in #71.
Description
This commit adds a "path" keyword argument to the
db_download_*
files that allows the user to bypass the taxonomy database download step and use a custom local file.Related Issue
Fixes #71, or at least provides a workaround.
Example