R/caches.R

# store caches in an environment, not as global variables assigned with <<-
# https://stackoverflow.com/questions/41954302/where-to-create-package-environment-variables
assign(x = "sos4R_caches", value = new.env())
utils::globalVariables("sos4R_caches")

Try the sos4R package in your browser

Any scripts or data that you put into this service are public.

sos4R documentation built on July 9, 2020, 5:07 p.m.