cameronbracken / pgfSweave

Quality graphics and speedy compilation with Sweave
http://r-forge.r-project.org/projects/pgfsweave/
29 stars 6 forks source link

Pass through setCacheDir and getCacheDir #37

Closed halpo closed 12 years ago

halpo commented 12 years ago

NAMESPACE needs to be updated to export setCacheDir and getCacheDir not only import them importFrom(cacheSweave, "getCacheDir", "setCacheDir") export("getCacheDir", "setCacheDir")

this will avoid the error R> library(pgfSweave) R>setCacheDir(".cache") Error: could not find function "setCacheDir" Execution halted

cameronbracken commented 12 years ago

fixed by https://github.com/cameronbracken/pgfSweave/commit/9cc009512dd0968a17ba056deab5b56b55a58534