Render an RMarkdown file and upload output to SharePoint

render_to_sharepoint(input_path, site, drive, dest_path, ...)

Arguments

input_path

Path to the `.Rmd` file.

site

SharePoint site name (e.g. "Rail").

drive

SharePoint drive name (e.g. "Reports").

dest_path

Path inside the SharePoint drive to upload to.

...

Additional arguments passed to `rmarkdown::render()`.