Development packages are looked-up according to rules
defined in a file .Rpackages
in the user's home directory.
find_devpackage(x, error = TRUE)
A character string containing the path to the package.
name of the development package to lookup.
logical that indicates if an error is thrown when the project root directory could not be found.
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.