Expect that a given package is used

Share:

Description

Tests that the following packages is used.

Usage

1
expect_attached_package(object, info = NULL)

Arguments

object

Package to check for.

info

Extra information to be included in the message (useful when writing tests in loops).

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.