Printing a tree of R extraction scripts

Printing a tree of R extraction scripts

# S3 method for class 'rxs'
knit_print(
  x,
  rxsStructure = NULL,
  headingLevel = 3,
  echoPartial = FALSE,
  partialFile = NULL,
  ...
)

# S3 method for class 'rxs'
print(
  x,
  rxsStructure = NULL,
  headingLevel = 3,
  forceKnitrOutput = FALSE,
  echoPartial = FALSE,
  partialFile = NULL,
  ...
)

rxs_partial(
  x,
  rxsStructure = NULL,
  headingLevel = x$headingLevel,
  printPlots = TRUE,
  echoPartial = FALSE,
  partialFile = NULL,
  ...
)

Arguments

x

The Rxs tree

rxsStructure

Optionally, the rxs structure

headingLevel

The level of the top-most R Markdown heading

echoPartial

Whether to echo (show) the R code chunks in the partial

partialFile

Optionally (and advanced) the path to a file with an R Markdown partial.

...

Passed on to rmdpartials::partial().

forceKnitrOutput

Force output as if knitr would be knitting (to test stuff in the console).

printPlots

Whether to print plots

Value

The partial, or for the print function, the printed information (invisibly).

The partial, or for the print function, the printed information (invisibly).