expect_attached_package: Expect that a given package is used

Description Usage Arguments

View source: R/expectations.R

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).


markmyassignment documentation built on May 29, 2017, 1:37 p.m.

Search within the markmyassignment package
Search all R packages, documentation and source code