expect_function_code {markmyassignment}R 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.


[Package markmyassignment version 0.8.8 Index]