Description Usage Arguments Value
View source: R/files_manager.R
Replaces the content of an existing file in Google Drive with the contents of
a local file. It is also possible to update (or upload if not already
present) the output (pdf or html) of the file specifying the
path_output
argument. In case of html files, if pagedown
package and Chrome are available, users can decide to upload a pdf version of
the html file.
Use with caution as tracked changes in the Google Drive file will be
lost!
To know more about trackdown
workflow and features see
trackdown-package
help page.
1 2 3 4 5 6 7 8 |
file |
character. The path of a local '.Rmd' or '.Rnw' file. |
gfile |
character. The name of a Google Drive file (defaults to local file name). |
gpath |
character. (Sub)directory in My Drive or a shared drive
(optional). By default files are uploaded in the folder "trackdown". To
specify another folder the full path is required (e.g.,
"trackdown/my_folder"). Use |
shared_drive |
character. The name of a Google Drive shared drive (optional). |
hide_code |
logical value indicating whether to remove code from the text document (chunks and header). Placeholders of type "[[chunk-<name>]]" are displayed instead. |
path_output |
default |
a dribble of the uploaded file (and output if specified)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.