You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to SpaDES Users
Dear All,
I just pushed a major set of updates for Caching in SpaDES, including a major update to the help document describing caching ... ?cache
Deal correctly with S4 methods and Rasters. The previous version of cache stumbled under many fairly common situations (Rasters, S4 methods). To defend my earlier version, I had assumed that the archivist version would have handled S4 methods, but it doesn't.
Cache function. I added a function Cache (upper case) that doesn't require cacheRepo to be specified if used inside a module, and it doesn't conflict with archivist::cache, so you can just write Cache( ) instead of SpaDES::cache( )
Module Caching. I added a major new functionality... a whole module can be cached now if the parameter .useCache is TRUE.
Cache help file. Major update to describe the 3 levels that currently can be used (model level [i.e,. spades call], module-level, function-level)
If you find that it is not working as anticipated, please try to describe it (and make a reproducible example if possible), but it should be pretty good.
Alex Chubaty
unread,
Oct 28, 2016, 7:55:11 PM10/28/16
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to SpaDES Users
Just to clarify, this change has been made in the development branch only. It is not yet in the master (CRAN) version of the package.