Description Usage Arguments Value
View source: R/files_manager.R
Download edited version of a file from Google Drive updating the local
version with the new changes.
Use with caution as local version of the file will be
overwritten!
To know more about trackdown
workflow and features see
trackdown-package
help page.
1 2 3 4 5 6 7 | download_file(
file,
gfile = NULL,
gpath = "trackdown",
shared_drive = NULL,
rm_gcomments = FALSE
)
|
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). |
rm_gcomments |
[experimental] logical value indicating whether or not to remove Google comments. |
'TRUE' if file from Google Drive was saved, 'FALSE' otherwise
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.