Closed achubaty closed 6 years ago
@melinahoule This may be relevant to our discussions today
note that my changes made in 3e56cf9 aren't checksumming or doing anything special when checking for local copies of modules -- just looking for a presence of a few files and checking the version. this should be made more robust.
This issue was moved to PredictiveEcology/SpaDES.core#17
Although the files exist locally,
downloadModule
is still checking for the existence of the module remotely for download.This is a bigger problem with GitHub's API rate limits because only a few calls to
downloadModule
are needed to trigger a 403 error. ThecheckModule()
call early in thedownloadModule()
function is being called without first checking to see whether files exist locally. It's worth implementing a local check/checksum for module code, in addition to the checks for downloading data.