Skip to content

Commit bce7a45

Browse files
authored
Merge pull request #104 from zachcp/cranchecks23
More small fixes to R for CRAN release
2 parents 20c6914 + 656421d commit bce7a45

File tree

11 files changed

+18
-17
lines changed

11 files changed

+18
-17
lines changed

rcdk/DESCRIPTION

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
Package: rcdk
22
Version: 3.5.0
3-
Date: 2019-01-21
3+
Date: 2020-03-06
44
Title: Interface to the 'CDK' Libraries
55
Authors@R: c(person('Rajarshi', 'Guha', role=c('aut',"cph"), email='rajarshi.guha@gmail.com'),
66
person('Zachary', 'Charlop-Powers', role=c('cre'), email='zach.charlop.powers@gmail.com'),
77
person('Emma', 'Schymanski', role=c('ctb'), email='schymane@gmail.com'))
88
Depends:
9-
rcdklibs (>= 2.0)
9+
rcdklibs (>= 2.3)
1010
Imports:
1111
fingerprint,
1212
rJava,
@@ -22,6 +22,7 @@ Suggests:
2222
SystemRequirements: Java JDK 8 or higher
2323
License: LGPL
2424
LazyLoad: yes
25+
LazyData: true
2526
Description: Allows the user to access functionality in the
2627
'CDK', a Java framework for chemoinformatics. This allows the user to load
2728
molecules, evaluate fingerprints, calculate molecular descriptors and so on.

rcdk/R/formula.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -560,7 +560,7 @@ get.isotope.pattern.generator <- function(minAbundance = NULL) {
560560
#' @return A numeric value between 0 and 1 indicating the similarity between the two patterns
561561
#' @seealso \code{\link{get.isotope.pattern.similarity}}
562562
#' @export
563-
#' @references \url{http://cdk.github.io/cdk/2.0/docs/api/org/openscience/cdk/formula/IsotopePatternSimilarity.html}
563+
#' @references \url{http://cdk.github.io/cdk/2.3/docs/api/org/openscience/cdk/formula/IsotopePatternSimilarity.html}
564564
#' @author Miguel Rojas Cherto
565565
compare.isotope.pattern <- function(iso1, iso2, ips = NULL) {
566566
cls <- unique(c(class(iso1), class(iso2)))

rcdk/R/rcdk.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
#' Note that this is a static object that is created at package load time,
1515
#' and the same instance is returned whenever this function is called.
1616
#'
17-
#' @return An instance of \href{http://cdk.github.io/cdk/2.2/docs/api/org/openscience/cdk/silent/SilentChemObjectBuilder.html}{SilentChemObjectBuilder}
17+
#' @return An instance of \href{http://cdk.github.io/cdk/2.3/docs/api/org/openscience/cdk/silent/SilentChemObjectBuilder.html}{SilentChemObjectBuilder}
1818
#' @export
1919
#' @author Rajarshi Guha (\email{rajarshi.guha@@gmail.com})
2020
get.chem.object.builder <- function() {

rcdk/R/smiles.R

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@
22
#'
33
#' The CDK supports a variety of customizations for SMILES generation including
44
#' the use of lower case symbols for aromatic compounds to the use of the ChemAxon
5-
#' \href{https://www.chemaxon.com/marvin-archive/latest/help/formats/cxsmiles-doc.html}{CxSmiles}
5+
#' \href{http://www.chemeddl.org/tools/marvin/help/formats/cxsmiles-doc.html}{CxSmiles}
66
#' format. Each 'flavor' is represented by an integer and multiple
77
#' customizations are bitwise OR'ed. This method accepts the names of one or
88
#' more customizations and returns the bitwise OR of them.
9-
#' See \href{https://cdk.github.io/cdk/2.0/docs/api/index.html?org/openscience/cdk/smiles/SmiFlavor.html}{CDK documentation}
9+
#' See \href{https://cdk.github.io/cdk/2.3/docs/api/index.html?org/openscience/cdk/smiles/SmiFlavor.html}{CDK documentation}
1010
#' for the list of flavors and what they mean.
1111
#'
1212
#' @param flavors A character vector of flavors. The default is \code{Generic}
@@ -42,7 +42,7 @@
4242
#' @md
4343
#' @return A numeric representing the bitwise `OR`` of the specified flavors
4444
#' @seealso \code{\link{get.smiles}}
45-
#' @references \href{https://cdk.github.io/cdk/2.0/docs/api/index.html?org/openscience/cdk/smiles/SmiFlavor.html}{CDK documentation}
45+
#' @references \href{https://cdk.github.io/cdk/2.3/docs/api/index.html?org/openscience/cdk/smiles/SmiFlavor.html}{CDK documentation}
4646
#' @examples
4747
#' m <- parse.smiles('C1C=CCC1N(C)c1ccccc1')[[1]]
4848
#' get.smiles(m)

rcdk/inst/cont/rcdk.jar

0 Bytes
Binary file not shown.

rcdk/inst/unitTests/runit.match.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ test.mcs2 <- function() {
6464
lapply(mols, do.aromaticity)
6565
lapply(mols, do.typing)
6666
mcs <- get.mcs(mols[[1]], mols[[2]], FALSE)
67-
checkEquals("matrix", class(mcs))
67+
checkTrue(inherits(mcs, "matrix"))
6868
checkEquals(9, nrow(mcs))
6969
checkEquals(2, ncol(mcs))
7070
}

rcdk/man/compare.isotope.pattern.Rd

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

rcdk/man/get.chem.object.builder.Rd

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

rcdk/man/smiles.flavors.Rd

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

rcdk/vignettes/molform.Rmd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ formula <- get.mol2formula(molecule,charge=0)
4444
Note that the above formula object is a `CDKFormula-class`. This class
4545
contains some attributes that defines a molecular formula. For example,
4646
the mass, the charge, the isotopes, the character representation of the
47-
molecular formula and the [IMolecularFormula](https://cdk.github.io/cdk/2.0/docs/api/org/openscience/cdk/interfaces/IMolecularFormula.html) `jobjRef` object.
47+
molecular formula and the [IMolecularFormula](https://cdk.github.io/cdk/2.3/docs/api/org/openscience/cdk/interfaces/IMolecularFormula.html) `jobjRef` object.
4848

4949
The molecular mass, charge and string representation for this formula are given by
5050
```{r}

0 commit comments

Comments
 (0)