Skip to content

Commit b46b264

Browse files
authored
Merge pull request #5 from CDK-R/202402-29
Update CDK Jars to 2.9
2 parents 55dbd00 + 34fc5f1 commit b46b264

File tree

150 files changed

+88
-23
lines changed

Some content is hidden

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

150 files changed

+88
-23
lines changed

.Rbuildignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,3 +8,7 @@ cdk/
88
cdk.zip
99
revdep/
1010
^CRAN-SUBMISSION$
11+
^_pkgdown\.yml$
12+
^docs$
13+
^pkgdown$
14+
^\.github$

.github/.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
*.html

.github/workflows/pkgdown.yaml

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
# Workflow derived from https://github.com/r-lib/actions/tree/v2/examples
2+
# Need help debugging build failures? Start at https://github.com/r-lib/actions#where-to-find-help
3+
on:
4+
push:
5+
branches: [main, master]
6+
pull_request:
7+
branches: [main, master]
8+
release:
9+
types: [published]
10+
workflow_dispatch:
11+
12+
name: pkgdown
13+
14+
jobs:
15+
pkgdown:
16+
runs-on: ubuntu-latest
17+
# Only restrict concurrency for non-PR jobs
18+
concurrency:
19+
group: pkgdown-${{ github.event_name != 'pull_request' || github.run_id }}
20+
env:
21+
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
22+
permissions:
23+
contents: write
24+
steps:
25+
- uses: actions/checkout@v4
26+
27+
- uses: r-lib/actions/setup-pandoc@v2
28+
29+
- uses: r-lib/actions/setup-r@v2
30+
with:
31+
use-public-rspm: true
32+
33+
- uses: r-lib/actions/setup-r-dependencies@v2
34+
with:
35+
extra-packages: any::pkgdown, local::.
36+
needs: website
37+
38+
- name: Build site
39+
run: pkgdown::build_site_github_pages(new_process = FALSE, install = FALSE)
40+
shell: Rscript {0}
41+
42+
- name: Deploy to GitHub pages 🚀
43+
if: github.event_name != 'pull_request'
44+
uses: JamesIves/github-pages-deploy-action@v4.5.0
45+
with:
46+
clean: false
47+
branch: gh-pages
48+
folder: docs

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,5 @@
33
.RData
44
.Ruserdata
55
cdk/
6-
revdep/
6+
revdep/
7+
docs

CRAN-SUBMISSION

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

DESCRIPTION

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,12 @@
11
Package: rcdklibs
2-
Version: 2.8
3-
Date: 2022-09-20
4-
Authors@R: c(person('Rajarshi', 'Guha', role=c('aut'), email='rajarshi.guha@gmail.com'),
5-
person('Zachary', 'Charlop-Powers', role=c('cre'), email='zach.charlop.powers@gmail.com'),
6-
person('CDK Project', '', role=c('ctb', 'cph'), comment='CDK Java library contained in multiple jar files'))
2+
Version: 2.9
3+
Date: 2024-03-02
4+
Authors@R: c(
5+
person('Rajarshi', 'Guha', ,'rajarshi.guha@gmail.com', role=c('aut'),
6+
comment = c(ORCID = "0000-0001-7403-8819")),
7+
person('Zachary', 'Charlop-Powers', ,'zach.charlop.powers@gmail.com',role=c('cre'),
8+
comment = c(ORCID = "0000-0001-8816-4680")),
9+
person('CDK Project', '', role=c('ctb', 'cph'), comment='CDK Java library contained in multiple jar files'))
710
Depends:
811
R (>= 2.0.0),
912
rJava
@@ -16,4 +19,5 @@ Description: An R interface to the Chemistry Development Kit, a Java library
1619
interact with the CDK using 'rJava'. However 'rcdk' exposes functionality in a more
1720
idiomatic way. The CDK library itself is released as LGPL and the sources can be
1821
obtained from <https://github.com/cdk/cdk>.
19-
RoxygenNote: 7.2.1
22+
RoxygenNote: 7.3.1
23+
URL: https://cdk-r.github.io/rcdklibs/

Makefile

Lines changed: 6 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11

2-
CDK_VERSION=2.8
3-
JAR_DIR=cdk/cdk-cdk-$(CDK_VERSION)/bundle/target/cdk-bundle-2.8/WEB-INF/lib
2+
CDK_VERSION=2.9
3+
JAR_DIR=cdk/cdk-cdk-$(CDK_VERSION)/bundle/target/cdk-bundle-$(CDK_VERSION)/WEB-INF/lib
44

55
cdk.zip:
66
wget -O cdk.zip https://github.com/cdk/cdk/archive/refs/tags/cdk-$(CDK_VERSION).zip
@@ -10,17 +10,13 @@ build: cdk.zip
1010
unzip cdk.zip -d cdk
1111
# 88 - 92 is cdk-pdb
1212
# 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
13+
# 248-252 is cdk-pdbcml
14+
# 372-376 is cdk-iordf
15+
sed -i .bak -e '88,92d;148,157d;248,252d;372,376d;' cdk/cdk-cdk-$(CDK_VERSION)/bundle/pom.xml
1616
cd cdk/cdk-cdk-$(CDK_VERSION)/bundle && mvn compile war:war -P jdk11-plus && cd ../../..
1717

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
2118

22-
23-
prepare: build guava
19+
prepare: build
2420
# find cdk/ -name "*.jar" | parallel "cp {} inst/cont/{/}"
2521
cp $(JAR_DIR)/*jar inst/cont/
2622

NEWS.md

Lines changed: 6 additions & 0 deletions

README.Rmd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ The goal of rcdklibs is to provide the [CDK](https://github.com/cdk/cdk) jarfile
2626
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
2828
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)
29+
API. The libs provided in this release correspond to the [2.9 Release](https://github.com/cdk/cdk/releases/tag/cdk-2.9)
3030

3131

3232
```

README.md

Lines changed: 2 additions & 2 deletions

0 commit comments

Comments
 (0)