Skip to content
This repository has been archived by the owner on Jun 24, 2022. It is now read-only.

provides documentation and tests for the r6-generator-maven-plugin

License

Notifications You must be signed in to change notification settings

terminological/r6-generator-maven-plugin-test

Repository files navigation

r6-generator-maven-plugin-test

R-CMD-check

DOI

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

About

provides documentation and tests for the r6-generator-maven-plugin

Resources

License

Stars

Watchers

Forks

Packages

No packages published