# \donttest{
# Download time will depend on the size of the area you wish to access
# climate data for and your internet connection speed.
# Create temporary file
temp_path <- tempfile()
# Download the WorldClim data
chelsa(
output_dir = temp_path
)
# Reset user options
unlink(file.path(temp_path))
# Note that unlike worldclim() we do not specify the location argument
# because it is not yet possible to extract smaller tile sections
# }
Run the code above in your browser using DataLab