Package uk.co.terminological.rjava
Annotation Type RBlocking
Methods marked by this annotation will be included in the R library api.
A blocking function may take a long time to execute and is delegated to
a java thread allowing interruption of the call if the R session is interrupted.
examples field is used to populate .Rd files
- Version:
- $Id: $Id
- Author:
- terminological
-
Optional Element Summary
Optional Elements
-
Element Details
-
examples
String[] examplesPopulate R examples. For non static methods this will be combined with @RClass(exampleSetup) annotation to construct a complete example. For static methods (and constructors) the examples will be run as is. Use try({}) in examples you are not sure about or are developing. Please use single quotes only in R expressions (don't try escaping double quotes)- Returns:
- A list of R commands that will be executed as an example of this function.
- Default:
- {}
-
tests
String[] testsPopulate R testthat tests. For non static methods this will be combined with @RClass(testSetup) annotation to construct a complete test. For static methods (and constructors) the examples will be run as is. Use try({}) in examples you are not sure about or are developing. Please use single quotes only in R expressions (don't try escaping double quotes)- Returns:
- A list of R commands that will be executed as a test of this function.
- Default:
- {}
-