gdoc v0.0.0.9000

by Jennifer Bryan

An R Markdown Template for Google Docs

What the package does (one paragraph).

Readme

Project Status: WIP - Initial development is in progress, but there has not yet been a stable, usable release suitable for the public. 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()`

Functions in gdoc

Name Description
gdoc Create a Google Doc from an R Markdown File
gd_auth Get a Google token
No Results!

Details

Include our badge in your README

[![Rdoc](http://www.rdocumentation.org/badges/version/gdoc)](http://www.rdocumentation.org/packages/gdoc)