README.md

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() starts at /home/travis/build/r-lib/here
here()
#> [1] "/home/travis/build/r-lib/here"
here("DESCRIPTION")
#> [1] "/home/travis/build/r-lib/here/DESCRIPTION"
here("R", "here.R")
#> [1] "/home/travis/build/r-lib/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.