A suite of caching tools for use in R, particularly when processing dynamic documents