BARIS_set_fromJSON: Sets memoise cache function

Description Usage Arguments Value Examples

View source: R/memoise.R

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

1
BARIS_set_fromJSON(cache_folder = tempdir())

Arguments

cache_folder

The local folder where to save files

Value

A memoised function

Examples

1
2
3
4
## Not run: 
mem_fromJSON <- BARIS_set_fromJSON()

## End(Not run)

BARIS documentation built on July 2, 2020, 2:26 a.m.