render_file: Render file from Google Drive

Description Usage Arguments Value

View source: R/files_manager.R

Description

Render file from Google Drive if there have been edits

To know more about trackdown workflow and features see trackdown-package help page.

Usage

1
2
3
4
5
6
render_file(
  file,
  gfile = basename(file),
  gpath = "trackdown",
  shared_drive = NULL
)

Arguments

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 NULL to upload directly at the root level, although it is not recommended.

shared_drive

character. The name of a Google Drive shared drive (optional).

Value

'TRUE' if file from Google Drive was saved and rendered, 'FALSE' otherwise


trackdown documentation built on Dec. 19, 2021, 5:06 p.m.