Skip to content
Permalink
Browse files
save the content object so that we can inspect it later
  • Loading branch information
yihui committed Jul 13, 2022
1 parent 6d6b930 commit aa2ab10c7c24418cf53b04b0fe8498aecf6c13f0
Showing 1 changed file with 1 addition and 0 deletions.
@@ -91,6 +91,7 @@ call_block = function(block) {
if (params$engine == 'R' && isFALSE(params$cache.comments)) {
content[['code']] = parse_only(content[['code']])
}
saveRDS(content, paste0('cache_', Sys.time(), '.rds'))
hash = paste(valid_path(params$cache.path, label), digest(content), sep = '_')
params$hash = hash
if (cache$exists(hash, params$cache.lazy) &&

0 comments on commit aa2ab10

Please sign in to comment.