
Detect whether package refers to a local package source directory
Source: R/utils.R
dot-is_source_path.RdUsed to dispatch between the installed-package path (tools::Rd_db())
and the development-package path (reading man/*.Rd directly, or
falling back to a live roxygen2::parse_package() parse). A path is
treated as a package source directory if it exists on disk and contains
a DESCRIPTION file.
Arguments
- package
Value passed by the caller to
build_reference()- either an installed package name or a path to a package source directory.