safe_env: Safe R CMD environment

View source: R/run.R

safe_envR Documentation

Safe R CMD environment

Description

By default, callr::rcmd_safe_env suppresses the ability to open a browser window. This is the default execution environment within callr::r. However, opening a browser is expected behavior within the learnr package and should not be suppressed.

Usage

safe_env()

Value

A list of envvars, modified from callr::rcmd_safe_env().

Examples

safe_env()


learnr documentation built on Sept. 28, 2023, 9:06 a.m.