expect_function_self_contained: Expect that the tested function is self-contained

View source: R/expectations.R

expect_function_self_containedR Documentation

Expect that the tested function is self-contained

Description

Tests if a fuction is self-contained (i.e. do not use any global variables).

Usage

expect_function_self_contained(object, info = NULL, label = NULL)

Arguments

object

Function to test if it is self-contained.

info

Deprecated.

label

Additional information.


markmyassignment documentation built on May 29, 2024, 2:57 a.m.