lsp: List package contents

View source: R/lsp.R

lspR Documentation

List package contents

Description

List the names of all objects in a package, optionally filtered for pattern matches. Borrowed from @_inundata

Usage

lsp(package, all.names=FALSE, pattern)

Arguments

package

the package object name (not quoted)

all.names

logical, whether to include object names beginning with a '.'. Passed to ls.

pattern

a regular expression, passed to ls. Only names matching pattern are returned.

Value

a vector of object names


BenaroyaResearch/miscHelpers documentation built on April 13, 2025, 9:52 p.m.