CDK-R / cdkr

Integrating R and the CDK
https://cdk-r.github.io/cdkr/
42 stars 27 forks source link

Need a New Release #99

Closed zachcp closed 4 years ago

zachcp commented 4 years ago

rcdk is currently orphaned: https://cran.r-project.org/web/packages/rcdk/index.html.

This is my fault as I didn't update the correct Java version fast enough. in its current status it will start to break other people's submissions (dependent packages will fail). As per the official R documentation, we should be checking for Java Version using the following.

I can update and submit but I do not know if there is a special process for ORPHANED packages.

.jinit()
jv <- .jcall("java/lang/System", "S", "getProperty", "java.runtime.version")
if(substr(jv, 1L, 2L) == "1.") {
  jvn <- as.numeric(paste0(strsplit(jv, "[.]")[[1L]][1:2], collapse = "."))
  if(jvn < 1.8) stop("Java >= 8 is needed for this package but not available")
}
rajarshi commented 4 years ago

Thanks for catching this as I've been pointing people to the latest code on Github. Definitely should put out a new release

zachcp commented 4 years ago

Needed Before Resubmission to CRAN

Desired before Resubmisison to CRAN

zachcp commented 4 years ago

most of the document updates can be found in #101. If that looks good and is pulled i can write the news and bump and work on submission to CRAN. This needs to be a simultaneous rCDKlibs and rCDK release due to new requirement for CDK >= 2.3

rajarshi commented 4 years ago

Just merged in the updates from #101 - all looks good.

zachcp commented 4 years ago

Final PR for Cran acceptance: https://cran.r-project.org/web/packages/rcdk/index.html Current Package: https://cran.r-project.org/web/packages/rcdk/index.html