opts_knit$set(base.dir='./', fig.path='', out.format='md') opts_chunk$set(prompt=TRUE, comment='', results='markup') # See yihui.name/knitr/options for more Knitr options. ##### Put other setup R code here
Gitbook.io is under active development. The gitbookInfo
function will indicate whether a new version of Gitbook is available.
gitbookInfo()
If a new version is available, the installGitbook
function will install the latest version.
installGitbook()
Additionally, the checkForGitbook
function will also indicate whether Gitbook is installed and available but will not check the Node Package Modules website for the currently available version.
checkForGitbook()
The quiet
parameter will not print any messages. The function returns a logical indicating whether Gitbook is available or not. This may be useful if you are automating your Gitbook development.
isAvailable <- checkForGitbook(quiet=TRUE) isAvailable
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.