Skip to contents

Assign a value to the redcapcustodian.env environment, retrievable with get_package_scope_var

Assign a value to the redcapcustodian.env environment, retrievable with get_package_scope_var

Usage

set_package_scope_var(key, value)

set_package_scope_var(key, value)

Arguments

key

The identifying string to store as the lookup key

value

The value to store

Examples

if (FALSE) { # \dontrun{
  set_package_scope_var("hello", "world")
  hello <- get_package_scope_var("hello")
} # }
if (FALSE) { # \dontrun{
  set_package_scope_var("hello", "world")
  hello <- get_package_scope_var("hello")
} # }