runExample: Run one of the test examples.

View source: R/examples.R

runExampleR Documentation

Run one of the test examples.

Description

Compile and run a test example (runExample() shows all available examples).

Usage

runExample(
  name = NULL,
  all = FALSE,
  thisR = TRUE,
  clean = FALSE,
  exfolder = NULL,
  dontrun = FALSE,
  subarch = TRUE,
  ...
)

Arguments

name

Character name of example.

all

Run all the test examples?

thisR

Run inside this R?

clean

Cleanup before compile?

exfolder

Alternative folder with examples.

dontrun

Build only (don't run) and remove temporary object files ?

subarch

Build in sub-architecture specific folder ?

...

Passed to compile.


TMB documentation built on Sept. 11, 2024, 7:06 p.m.

Related to runExample in TMB...