Learn R Programming

markmyassignment (version 0.6.0)

expect_attached_package: Expect that a given package is used

Description

Tests that the following packages is used.

Usage

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