local_r_package_info: Read the metadata of local R package sources

View source: R/build-runtime.R

local_r_package_infoR Documentation

Read the metadata of local R package sources

Description

Reads the DESCRIPTION of each source folder, or the one in a source tarball's top-level folder. resolve_local_packages() calls this, and the later steps of an export take its result rather than reading again.

Usage

local_r_package_info(paths)

Arguments

paths

Character vector. Paths to package source folders or .tar.gz / .tgz source tarballs.

Value

A list with one element per path, named by package. Each element holds path, package, version, deps (the package names from Depends, Imports and LinkingTo, without R) and is_dir.


shinyelectron documentation built on Dec. 3, 2026, 9:07 a.m.