expect_function_code: Expect function contain code

Description Usage Arguments

View source: R/expectations.R

Description

Test that a given code string exists in function

Usage

1
2
3
4
5
6
7
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.


markmyassignment documentation built on Sept. 5, 2021, 5:42 p.m.