All functions

Cache()

Saves a wide variety function call outputs to disk and optionally RAM, for recovery later

CacheDigest()

The exact digest function that Cache uses

CacheGeo()

Cache-like function for spatial domains

createCache() loadFromCache() extractFromCache() rmFromCache() CacheDBFile() CacheStorageDir() CacheStoredFile() CacheDBTableName() CacheIsACache()

Low-level functions to create and work with a cache

Checksums()

Calculate checksum

Copy()

Recursive copying of nested environments, and other "hard to copy" objects

Filenames()

Return the filename(s) from a Raster* object

asPath()

Coerce a character string to a class "Path"

assessDataType()

Assess the appropriate raster layer data type

basename2()

A version of base::basename that is NULL resistant

checkAndMakeCloudFolderID()

Check for presence of checkFolderID (for Cache(useCloud))

checkPath()

Check directory path

checkRelative()

An alternative to basename and dirname when there are sub-folders

cloudDownload()

Download from cloud, if necessary

compareNA()

NA-aware comparison of two vectors

convertPaths() convertRasterPaths()

Change the absolute path of a file

copySingleFile() copyFile()

Copy a file using robocopy on Windows and rsync on Linux/macOS

.debugCache()

Attach debug info to return for Cache

determineFilename()

Determine filename, either automatically or manually

.file.move()

Move a file to a new location – Defunct – use hardLinkOrCopy

.isMemoised()

Evaluate whether a cacheId is memoised

.removeCacheAtts()

Remove attributes that are highly varying

.requireNamespace()

Provide standard messaging for missing package dependencies

.wrap() .unwrap()

Deal with class for saving to and loading from Cache or Disk

downloadFile()

A wrapper around a set of downloading functions

downloadRemote()

Download a remote file

extractFromArchive()

Extract files from archive

fastMask()

Faster operations on rasters (DEPRECATED because terra::mask is fast)

fixErrorsIn()

Fix common errors in GIS layers, using terra

gdalProject() gdalResample() gdalMask()

3-Step postProcess sequence for SpatRasters using gdalwarp

internetExists() urlExists()

Checks for existed of a url or the internet using https://CRAN.R-project.org

isUpdated()

Has a cached object has been updated?

keepOrigGeom()

Keep original geometries of sf objects

linkOrCopy()

Hardlink, symlink, or copy a file

listNamed()

Create a list with names from object names

loadFile()

Load a file from the cache

mergeCache()

Merge two cache repositories together

messageDF() messagePrepInputs() messagePreProcess() messageCache() messageQuestion() .messageFunctionFn() messageColoured()

Use message with a consistent use of verbose

movedCache()

Deal with moved cache issues

normPath() normPathRel()

Normalize file paths

objSize() objSizeSession()

Wrapper around lobstr::obj_size

paddedFloatToChar()

Convert numeric to character with padding

postProcess()

Generic function to post process objects

postProcessTo() postProcessTerra() maskTo() projectTo() cropTo() writeTo()

Transform a GIS dataset so it has the properties (extent, projection, mask) of another

preProcessParams() preProcess()

Download, checksum, extract files

.prefix() .suffix()

Add a prefix or suffix to the basename part of a file path

prepInputs()

Download and optionally post-process files

.prepareFileBackedRaster()

Copy the file-backing of a file-backed Raster* object

rasterRead()

A helper to getOption("reproducible.rasterRead")

getRelative() makeRelative()

Relative paths

remapFilenames()

Remap file names

reproducible reproducible-package

The reproducible package

reproducibleOptions()

reproducible options

retry()

A wrapper around try that retries on failure

saveToCache()

Save an object to Cache

searchFull() searchFullEx()

Search up the full scope for functions

set.randomseed()

Set seed with a random value using Sys.time()

.setSubAttrInList()

Set subattributes within a list by reference

studyAreaName()

Get a unique name for a given study area

tempdir2()

Make a temporary (sub-)directory

tempfile2()

Make a temporary file in a temporary (sub-)directory

minFn() maxFn() dataType2() nlayers2() values2()

Get min or maximum value of a (Spat)Raster

.unrarPath

The known path for unrar or 7z

clearCache() cc() showCache() keepCache()

Examining and modifying the cache

writeFuture()

Write to cache repository, using future::future