expect_function_code: Expect function contain code

View source: R/expectations.R

expect_function_codeR Documentation

Expect function contain code

Description

Test that a given code string exists in function

Usage

expect_function_code(
  object,
  expected,
  info = NULL,
  label = NULL,
  expected.label = NULL
)

Arguments

object

Function to check for mandatory code

expected

Expected arguments in function.

info

Deprecated.

label

Additional information.

expected.label

Deprecated.


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