Internal function to cache remote file
cache_remote(url, ignore_missing, cache, basename = NULL, verbosity = 1)location of a remote file
if TRUE, warns for download status
TRUE, save file in system's temporary folder and load it
from the next time
name of temporary file to preserve file extensions. If
NULL, random string will be used.
0: output errors only
1: output errors and warnings (default)
2: output a brief summary message
3: output detailed file-related messages