Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

find_devpackage

Find Path to Development Package Root Directory


Description

Development packages are looked-up according to rules defined in a file .Rpackages in the user's home directory.

Usage

find_devpackage(x, error = TRUE)

Arguments

x

name of the development package to lookup.

error

logical that indicates if an error is thrown when the project root directory could not be found.

Specification of package path

Package paths are specified in a list with:

  • unnamed elements: character strings give path to directories to lookup for sub-directories that match exactly the package's name;

  • named element containing character strings: these are paths that are looked up only for packages that match the element name. If the element name contains any of the characters *?()$^\\][, then it is matched using regular expression.


pkgmaker

Development Utilities for R Packages

v0.32.2
GPL (>= 2)
Authors
Renaud Gaujoux [aut, cre]
Initial release
2020-10-20

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.