Package uk.co.terminological.rjava
Annotation Type RClass
This annotation identifies a class as part of an R library api
Fields here will populate data in DESCRIPTION file and allow
R to load dependencies when it loads the R library api
- Version:
- $Id: $Id
- Author:
- terminological
-
Optional Element Summary
Optional ElementsModifier and TypeOptional ElementDescriptionString[]
The common setup for examples of non-static functions in this class.String[]
A set of R library dependencies specified as the CRAN library nameString[]
A set of R library suggestions specified as the CRAN library nameString[]
The common setup for tests of non-static functions in this class.
-
Element Details
-
imports
String[] importsA set of R library dependencies specified as the CRAN library name- Returns:
- the imports packages to add to the DESCRIPTION file
- Default:
- {}
-
suggests
String[] suggestsA set of R library suggestions specified as the CRAN library name- Returns:
- the suggests packages to add to the DESCRIPTION file
- Default:
- {}
-
exampleSetup
String[] exampleSetupThe common setup for examples of non-static functions in this class.- Returns:
- must be valid R code that provides necessary setup for manual examples of the generated code.
- Default:
- {}
-
testSetup
String[] testSetupThe common setup for tests of non-static functions in this class.- Returns:
- must be valid R code that provides necessary setup for testing the generated code.
- Default:
- {}
-