Closed matildabrown closed 10 months ago
Current workaround:
library(rWCVP)
wcvp_summary("Eucalyptus","genus") # throws the error
# Error in curl::curl_fetch_memory(url, handle = handle) :
# Timeout was reached: [sftp.kew.org] Connection timeout after 10001 ms
# setting up 'local' versions using rWCVPdata
# (without checking the version)
names <- rWCVPdata::wcvp_names
distributions <- rWCVPdata::wcvp_distributions
#using the local versions
wcvp_summary("Eucalyptus","genus",
wcvp_names = names,
wcvp_distributions = distributions)
The quiet 'wcvp_check_version' (strictly
rWCVPdata
but called byrWCVP
) triggers this error if no internet connection:Desired behaviour: Check if internet connection available; if not, give warning:
Warning: Cannot verify whether rWCVP is using the latest version of the WCVP.
Will fix in next update.