Learn R Programming

markmyassignment (version 0.8.8)

expect_function_self_contained: 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.