cache_version_files: A function for caching information about document state

Description Usage Arguments Value

Description

A function for caching information about document state

Usage

1
2
3
cache_version_files(doc_id, source, rendered_md,
  cache_dir = getOption("gd.cache"), doc_revision = NULL,
  remote_ast = NULL)

Arguments

doc_id

The Google ID of the document

source

The Rmd source file at the time of the run

rendered_md

The rendered md of the Rmd source file at the time of the run

cache_dir

The dir used for caching

doc_revision

Optional. Google's version number for the remote doc. Will be determined with a call to latest_revision_from_local_metadata if NULL (the default)

remote_ast

Optional. The filepath to the Pandoc AST of the remote Google doc at doc_version. Will be retrieved from the remote document if NULL (the default)

Value

Nothing


brendan-r/googdown documentation built on May 13, 2019, 5:09 a.m.