Published June 18, 2018
| Version v0.2.0
Software
Open
PredictiveEcology/reproducible: v0.2.0
Authors/Creators
- 1. Canadian Forest Service, Government of Canada
Description
Known issues: https://github.com/PredictiveEcology/reproducible/issues
version 0.2.0 New featuresnew functions:
prepInputsto aid in data downloading and preparation problems, solved in a reproducible, Cache-aware way.postProcesswhich is a wrapper for sequences of several other new functions (cropInputs,fixErrors,projectInputs,maskInputs,writeOutputs, anddetermineFilename)downloadFilecan handle Google Drive and ftp/http(s) fileszipCacheandmergeCachecompareNAdoes comparisons with NA as a possible value e.g.,compareNA(c(1,NA), c(2, NA))returnsFALSE, TRUE
Cache -- new features:
- new arguments
showSimilar,verbosewhich can help with debugging - new argument
useCachewhich allows turning caching on and off at a high level (e.g., options("useCache")) - new argument
cacheIdwhich allows user to hard code a result from a Cache - deprecated arguments:
digestPathContent-->quick,compareRasterFileLength-->length - Cache arguments now propagate inward to nested
Cachefunction calls, unless explicitly set on the inner functions - more precise messages provided upon each use
- many more
userTagsadded automatically to cache entries so much more powerful searching viashowCache(userTags="something")
- new arguments
clearCacheandshowCachenow give messages and require user intervention if request toclearCachewould be large quantities of data deletedmemoise::memoisenow used on 3rd run through an identicalCachecall, dramatically speeding up in most cases- new options:
reproducible.cachePath,reproducible.quick,reproducible.useMemoise,reproducible.useCache,reproducible.useragent,reproducible.verbose asPathhas a new argument indicating how deep should the path be considered when included in caching (only relevant whenquick = TRUE)- New vignette on using Cache
- Cache is
parallel-safe, meaning there aretryCatcharound every attempt at writing to SQLite database so it can be used safely on multi-threaded machines - bug fixes, unit tests, more
importsfor packages e.g.,stats - updates for R 3.6.0 compact storage of sequence vectors
- experimental pipes (
%>%,%C%) and assign%<% - several performance enhancements
Files
PredictiveEcology/reproducible-v0.2.0.zip
Files
(707.3 kB)
| Name | Size | Download all |
|---|---|---|
|
md5:f852a91ef5930b5935f15cd7d93c73a9
|
707.3 kB | Preview Download |
Additional details
Related works
- Is supplement to
- https://github.com/PredictiveEcology/reproducible/tree/v0.2.0 (URL)