lax: Be lax in an otherwise strict environment

Description Usage Arguments Examples

View source: R/lax.R

Description

This temporarily removes the shims added by strict so that you can execute code that would otherwise not be allowed

Usage

1
lax(code)

Arguments

code

Code to execute.

Examples

1
2
3
4
5
lax({
  mtcars[, 1]

  sapply(1:10, runif)
})

hadley/strict documentation built on May 27, 2019, 7:26 a.m.