ls_: List package files

Description Usage Arguments Value See Also Examples

View source: R/runpkg.R

Description

List package files

Usage

1
ls_(pkg, path = "/")

Arguments

pkg

the name (and optionally the version) of an npm package. (e.g. 'jquery', '[email protected]')

path

character string with a path pointing to a package folder. This is used as the :file part of https://unpkg.com/:[email protected]:version/:file

Value

a htmltools::htmlDependency object

See Also

download_files

Examples

1
2
3
ls_("jquery")
ls_("jquery", "dist")
ls_("[email protected]", "external/sizzle")

cpsievert/runpkg documentation built on Sept. 13, 2017, 4:46 a.m.