knitr::opts_chunk$set( collapse = TRUE, comment = "#>", fig.path = "README-" )
A simple interface to rprojroot
.
The logic to find a project root based on certain criteria is packaged in the
rprojroot
package.
Many projects might not need the full power, and the complexity that comes with it.
Meet here
:
library(here) here() here("DESCRIPTION") here("R", "here.R")
Install from CRAN via
install.packages("here")
Install from GitHub via
devtools::install_github("r-lib/here")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.