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


mjdufort/miscHelpers documentation built on Feb. 4, 2024, 7:44 p.m.