forked from r-lib/here
-
Notifications
You must be signed in to change notification settings - Fork 1
/
README.Rmd
49 lines (36 loc) · 875 Bytes
/
README.Rmd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
---
output:
github_document:
html_preview: false
---
<!-- README.md is generated from README.Rmd. Please edit that file -->
```{r, echo = FALSE}
knitr::opts_chunk$set(
collapse = TRUE,
comment = "#>",
fig.path = "README-"
)
```
# here
[![Travis-CI Build Status](https://travis-ci.org/r-lib/here.svg?branch=master)](https://travis-ci.org/r-lib/here)
A simple interface to [`rprojroot`](https://github.com/r-lib/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`:
```{r}
library(here)
here()
here("DESCRIPTION")
here("R", "here.R")
```
## Installation
Install from CRAN via
``` r
install.packages("here")
```
Install from GitHub via
``` r
devtools::install_github("r-lib/here")
```