Skip to contents

Pubcontext dispatches contextualized code.

Usage

pubcontext(
  jupyter_code = NULL,
  knitr_code = NULL,
  rstudio_code = NULL,
  interactive_code = NULL,
  non_interactive_code = NULL,
  raise = FALSE,
  .envir = parent.frame(),
  .local_envir = parent.frame()
)

Arguments

jupyter_code

jupyter client code

knitr_code

knitr client code

rstudio_code

rstudio client code

interactive_code

interactive script client code

non_interactive_code

non-interactive script client code

raise

boolean, if TRUE, raise errors

.envir

environment in which to evaluate code block

.local_envir

environment in which to process logs