has_package: Does the source provide a package?

Description Usage Examples

View source: R/source.r

Description

Does the source provide a package?

Usage

1

Examples

1
2
3
4
5
6
7
offline_packages()
has_package(cran("source"), "ggplot2")
has_package(cran("binary"), "ggplot2")
has_package(installed(), "ggplot2")
has_package(cran("source"), "ggplot4")
has_package(cran("binary"), "ggplot4")
has_package(installed(), "ggplot4")

hadley/packman documentation built on May 17, 2019, 11:04 a.m.