[R-pkg-devel] Best way to cache a dataframe available for all functions in a package

Dirk Eddelbuettel edd @end|ng |rom deb|@n@org
Fri Nov 26 16:09:43 CET 2021


Agreed. I have used `.pkgenv` in a few packages (digest, rpushbullet, ...),
and usually added a comment that it is package-global.

And so have a few others:

 https://github.com/search?l=R&q=org%3Acran+pkgenv&type=Code

Dirk

-- 
https://dirk.eddelbuettel.com | @eddelbuettel | edd using debian.org



More information about the R-package-devel mailing list