Skip to content

Commit 55dbd00

Browse files
authored
Merge pull request #4 from zachcp/2022-unbundle
Prepare for 2.8 release
2 parents c1f2d12 + d2d3896 commit 55dbd00

File tree

102 files changed

+111
-24
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

102 files changed

+111
-24
lines changed

.Rbuildignore

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,10 @@
1+
Makefile
2+
README.Rmd
13
^cran-comments.md$
24
^.*\.Rproj$
35
^\.Rproj\.user$
4-
^README_DEV.md$
6+
^README_DEV.md$
7+
cdk/
8+
cdk.zip
9+
revdep/
10+
^CRAN-SUBMISSION$

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,5 @@
22
.Rhistory
33
.RData
44
.Ruserdata
5+
cdk/
6+
revdep/

CRAN-SUBMISSION

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
Version: 2.8
2+
Date: 2022-09-25 14:59:30 UTC
3+
SHA: 8ddc5f4711377a7064523221ce36f75b18a67110

DESCRIPTION

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
Package: rcdklibs
2-
Version: 2.3
3-
Date: 2020-02-22
2+
Version: 2.8
3+
Date: 2022-09-20
44
Authors@R: c(person('Rajarshi', 'Guha', role=c('aut'), email='[email protected]'),
55
person('Zachary', 'Charlop-Powers', role=c('cre'), email='[email protected]'),
66
person('CDK Project', '', role=c('ctb', 'cph'), comment='CDK Java library contained in multiple jar files'))
77
Depends:
88
R (>= 2.0.0),
9-
rJava (>= 0.9-8)
9+
rJava
1010
License: LGPL
1111
Title: The CDK Libraries Packaged for R
1212
Description: An R interface to the Chemistry Development Kit, a Java library
@@ -16,4 +16,4 @@ Description: An R interface to the Chemistry Development Kit, a Java library
1616
interact with the CDK using 'rJava'. However 'rcdk' exposes functionality in a more
1717
idiomatic way. The CDK library itself is released as LGPL and the sources can be
1818
obtained from <https://github.com/cdk/cdk>.
19-
RoxygenNote: 7.0.2
19+
RoxygenNote: 7.2.1

Makefile

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
2+
CDK_VERSION=2.8
3+
JAR_DIR=cdk/cdk-cdk-$(CDK_VERSION)/bundle/target/cdk-bundle-2.8/WEB-INF/lib
4+
5+
cdk.zip:
6+
wget -O cdk.zip https://github.com/cdk/cdk/archive/refs/tags/cdk-$(CDK_VERSION).zip
7+
8+
9+
build: cdk.zip
10+
unzip cdk.zip -d cdk
11+
# 88 - 92 is cdk-pdb
12+
# 148-157 is cdk-builder3d and builder3d-tools
13+
# 238-242 is cdk-pdbcml
14+
# 343-337 is cdk-iordf
15+
sed -i .bak -e '88,92d;148,157d;238,242d;343,347d;' cdk/cdk-cdk-$(CDK_VERSION)/bundle/pom.xml
16+
cd cdk/cdk-cdk-$(CDK_VERSION)/bundle && mvn compile war:war -P jdk11-plus && cd ../../..
17+
18+
# guava:
19+
# wget -O inst/cont/guava-31.1-jre.jar https://repo1.maven.org/maven2/com/google/guava/guava/31.1-jre/guava-31.1-jre.jar
20+
# wget -O inst/cont/failureaccess-1.0.1.jar https://repo1.maven.org/maven2/com/google/guava/failureaccess/1.0.1/failureaccess-1.0.1.jar
21+
22+
23+
prepare: build guava
24+
# find cdk/ -name "*.jar" | parallel "cp {} inst/cont/{/}"
25+
cp $(JAR_DIR)/*jar inst/cont/
26+
27+
28+
clean:
29+
rm cdk.zip
30+
rm -rf cdk/
31+
32+
33+
all: clean prepare
34+

NEWS

Lines changed: 0 additions & 6 deletions
This file was deleted.

NEWS.md

Lines changed: 23 additions & 0 deletions

README.Rmd

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,14 +19,14 @@ knitr::opts_chunk$set(
1919
[![Build Status](https://api.travis-ci.org/CDK-R/rcdklibs.svg?branch=master)](https://travis-ci.org/CDK-R/rcdklibs)
2020
[![CRAN Version](https://www.r-pkg.org/badges/version/rcdklibs?color=green)](https://cran.r-project.org/package=rcdklibs)
2121
[![CRAN Downloads](http://cranlogs.r-pkg.org/badges/grand-total/rcdklibs?color=green)](https://cran.r-project.org/package=rcdklibs)
22-
[![CRAN Downloads Monthyl](http://cranlogs.r-pkg.org/badges/last-month/rcdklibs?color=green)](https://cran.r-project.org/package=rcdklbs)
22+
[![CRAN Downloads Monthyl](http://cranlogs.r-pkg.org/badges/last-month/rcdklibs?color=green)](https://cran.r-project.org/package=rcdklibs)
2323
<!-- badges: end -->
2424

2525
The goal of rcdklibs is to provide the [CDK](https://github.com/cdk/cdk) jarfiles
26-
and therby facilitate chemoinformatic analysis within the R ecosystem. The
26+
and thereby facilitate chemoinformatic analysis within the R ecosystem. The
2727
primary consumer of `rcdklibs` is the [rcdk](https://github.com/CDK-R/cdkr) package
28-
but all of CDK's functionality can be accessed by the standard [rJava](https://cran.r-project.org/web/packages/rJava/index.html)
29-
API. The libs provided in this release correspond to the [2.3 Release](http://cdk.github.io/cdk/2.3/docs/api/org/openscience/cdk/AtomContainer.html)
28+
but all of CDK's functionality can be accessed by the standard [rJava]( https://CRAN.R-project.org/package=rJava)
29+
API. The libs provided in this release correspond to the [2.8 Release](https://github.com/cdk/cdk/releases/tag/cdk-2.8)
3030

3131

3232
```

README.md

Lines changed: 9 additions & 9 deletions

cran-comments.md

Lines changed: 25 additions & 0 deletions

0 commit comments

Comments
 (0)