Skip to content
This repository has been archived by the owner on Feb 26, 2019. It is now read-only.

DavidRGriswold/gdoc_griswold_fork

 
 

Repository files navigation

Project Status: Abandoned – Initial development has started, but there has not yet been a stable, usable release; the project has been abandoned and the author(s) do not intend on continuing development.

Build Status Build status

gdoc

This package contains an R Markdown template for compiling and uploading .Rmd files to Google Docs. It is an experiment produced at the ROpenSci 2016 Unconf.

Install

devtools::install_github('ropenscilabs/gdoc')

Use

The gtemplate() function will create a test document with default name test.Rmd.

my_rmd = gtemplate()

Render your file:

rmarkdown::render(my_rmd)

Or, for any file:

library(gdoc)
rmarkdown::render(my_rmd, output_format=gdoc())

If you want to use the RStudio "Knit" button to render, you'll have to pre-authenticate with Google Docs before knitting, like so:

`gd_auth()`

About

Mixed Google/R workflows Fork

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • R 100.0%