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.


MansMeg/markmyassignment documentation built on Jan. 31, 2024, 4:11 p.m.