here v0.1

0

Monthly downloads

0th

Percentile

A Simpler Way to Find Your Files

Constructs paths to your project's files. The 'here()' function uses a reasonable heuristics to find your project's files, based on the current working directory at the time when the package is loaded. Use it as a drop-in replacement for 'file.path()', it will always locate the files relative to your project root.

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

Installation

here isn't on CRAN yet, install from GitHub via

devtools::install_github("krlmlr/here")

Functions in here

Name Description
here Find your files
No Results!

Last month downloads

Details

License GPL-3
Encoding UTF-8
LazyData true
Date 2017-05-27
URL https://github.com/krlmlr/here, http://krlmlr.github.io/here
BugReports https://github.com/krlmlr/here/issues
RoxygenNote 6.0.1
NeedsCompilation no
Packaged 2017-05-27 20:53:11 UTC; muelleki
Repository CRAN
Date/Publication 2017-05-28 06:13:04 UTC
imports rprojroot (>= 1.2)
Contributors

Include our badge in your README

[![Rdoc](http://www.rdocumentation.org/badges/version/here)](http://www.rdocumentation.org/packages/here)