BARIS_set_fromJSON: Sets memoise cache function

View source: R/memoise.R

BARIS_set_fromJSONR Documentation

Sets memoise cache function

Description

Uses the memoise package to set a cache function for jsonlite::fromJSON The choice of the cache folder defines where to save the local files. If not set, will use tempdir()

Usage

BARIS_set_fromJSON(cache_folder = tempdir())

Arguments

cache_folder

The local folder where to save files

Value

A memoised function

Examples

## Not run: 
mem_fromJSON <- BARIS_set_fromJSON()

## End(Not run)

BARIS documentation built on April 4, 2022, 1:07 a.m.