Skip to contents

Dispatches based on .is_source_path(), mirroring .read_rd_db().

Usage

.read_exported_names(package)

Arguments

package

Name of an installed package, or a path to a local package source directory.

Value

Character vector of exported names, or NULL if export status couldn't be determined (see the installed/source variants for when that happens) - callers should treat NULL as "unknown", not as "no exports".