r

r6-generator

R can use RJava or jsr223 to communicate with java. R also has a class system called R6. If you want to use a java library with native rJava or jsr223 in R there is potentially a lot of glue code needed, and R library specific packaging configuration required. However if you don't mind writing an R-centric API in Java you can generate all of this glue code using a few java annotations and the normal javadoc annotations. This plugin aims to provide an annotation processor that writes that glue code and creates a fairly transparent connection between Java code and R code, with a minimum of hard work. The focus of this is streamlining the creation of R libraries by Java developers, rather than allowing access to arbitrary Java code from R. The ultimate aim of this plugin to allow java developers to provide simple APIs for their libraries, package their library using Maven, push it to github and for that to become seamlessly available as an R library, with a minimal amount of fuss. A focus is on trying to produce CI ready libraries tested with Github workflows and ready for CRAN submission.
https://github.com/terminological/r6-generator
MIT License
Rob Challen
Files download
File Operation
r6-generator-0.5.4.pom download
Apache Maven
<dependency>
  <groupId>io.github.terminological</groupId>
  <artifactId>r6-generator</artifactId>
  <version>0.5.4</version>
  <type>pom</type>
</dependency>
Gradle Groovy
implementation 'io.github.terminological:r6-generator:0.5.4'
Gradle Kotlin
implementation("io.github.terminological:r6-generator:0.5.4")
Scala SBT
libraryDependencies += "io.github.terminological" % "r6-generator" % "0.5.4"
Groovy Grape
@Grapes(
  @Grab(group='io.github.terminological', module='r6-generator', version='0.5.4')
)
Apache Ivy
<dependency org="io.github.terminological" name="r6-generator" rev="0.5.4" />
Leiningen
[io.github.terminological/r6-generator "0.5.4"]
Apache Buildr
'io.github.terminological:r6-generator:jar:0.5.4'
Dependencies
The project has no third-party dependencies