{{#Rmd}} ---{{#github}} output: github_document {{/github}} {{#^github}} output: md_document: variant: markdown_github {{/github}} --- ```{r, echo = FALSE} knitr::opts_chunk$set( collapse = TRUE, comment = "#>", fig.path = "README-" ) ``` {{/Rmd}} # {{{ package }}} The goal of {{{package}}} is to ... {{#github}} ## Installation You can install {{{ package }}} from github with: {{#Rmd}} ```{r gh-installation, eval = FALSE} {{/Rmd}} {{^Rmd}} ``` r {{/Rmd}} # install.packages("devtools") devtools::install_github("{{{username}}}/{{{repo}}}") ``` {{/github}} ## Example This is a basic example which shows you how to solve a common problem: {{#Rmd}} ```{r example} {{/Rmd}} {{^Rmd}}``` r {{/Rmd}} ## basic example code ```