lax: Be lax in an otherwise strict environment

View source: R/lax.R

laxR Documentation

Be lax in an otherwise strict environment

Description

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

Usage

lax(code)

Arguments

code

Code to execute.

Examples

lax({
  mtcars[, 1]

  sapply(1:10, runif)
})

hadley/strict documentation built on July 5, 2025, 6:46 a.m.