library(RPamisc) library(tidyverse) library(knitr) options(scipen = 10) knitr::opts_chunk$set(echo = FALSE, message = FALSE, warning = FALSE, comment = "")
mtcars[1:7,] %>% knitr::kable()
\newpage
commit <- gert::git_info()$commit repo_url <- usethis::git_remotes() %>% stringr::str_replace(":", "/") %>% stringr::str_replace("git@", "https://") %>% stringr::str_replace("\\.git$", paste0("/tree/", commit)) repo_label <- str_replace(repo_url, "/tree.*$", "")
The code and supporting resources for this report are located at r repo_label
.
Generated r Sys.time()
references: - id: fenner2012a title: One-click science marketing author: - family: Fenner given: Martin container-title: Nature Materials volume: 11 URL: 'http://dx.doi.org/10.1038/nmat3283' DOI: 10.1038/nmat3283 issue: 4 publisher: Nature Publishing Group page: 261-263 type: article-journal issued: year: 2012 month: 3
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.