Alias for jeksterslabRutils::util_render() with the following arguments:

  • dir = getwd()

  • recursive = TRUE

  • files = NULL

  • par = FALSE

  • ncores = NULL

rrender(
  dir = getwd(),
  recursive = TRUE,
  files = NULL,
  par = FALSE,
  ncores = NULL
)

Arguments

dir

Character string. Directory which contains target files. Ignored if file is NOT NULL.

recursive

Logical. If TRUE, recursively render all R scripts (.R, .r) and R Markdown files (.Rmd, .rmd) in dir. Ignored if file is NOT NULL.

files

Character vector. Vector of files to render.

par

Logical. If TRUE, use multiple cores.

ncores

Integer. Number of cores to use if par = TRUE. If unspecified, defaults to detectCores() - 1.

See also