This test demonstrates some of the major features of the maven plugin by creating a minimal R plugin from a set of annotated java classes.
library(devtools)
# assuming you have cloned this repository locally:
load_all("~/Git/r6-generator-maven-plugin-test/r-library")
# install_github("terminological/r6-generator-maven-plugin-test",subdir="r-library")
# a basic smoke test
J <- testRapi::JavaApi$get()
# exploring the API using autocomplete in RStudio
# is a matter of typing J$<ctrl-space>
tmp = J$FeatureTest$new()
tmp$doHelloWorld()
# generated documentation available
?testRapi-package
?testRapi::JavaApi
?testRapi::MinimalExample
?testRapi::FeatureTest
?testRapi::MoreFeatureTest
?testRapi::BounceTest
?testRapi::FactoryTest
Checkout the features
see the full docs
see the r package
see the javadoc