knitr::opts_chunk$set(
  collapse = TRUE,
  comment = "#>",
  fig.path = "README-"
)

here

Travis-CI Build Status

A simple interface to rprojroot.

Motivation

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")

Installation

Install from CRAN via

install.packages("here")

Install from GitHub via

devtools::install_github("r-lib/here")


krlmlr/here documentation built on May 6, 2019, 6:07 p.m.