Skip to content

Commit 0abffe7

Browse files
authored
Merge pull request #124 from zachcp/crancompat
Crancompat
2 parents a0dfd5a + bbc70f7 commit 0abffe7

File tree

8 files changed

+81
-4
lines changed

8 files changed

+81
-4
lines changed

rcdk/NAMESPACE

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ export(convert.implicit.to.explicit)
77
export(copy.image.to.clipboard)
88
export(do.aromaticity)
99
export(do.isotopes)
10+
export(do.typing)
1011
export(eval.atomic.desc)
1112
export(eval.desc)
1213
export(generate.2d.coordinates)

rcdk/R/deprecated_functions.R

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
################################################################################
2+
#' Deprecated functions in the rcdk package.
3+
#'
4+
#' These functions are provided for compatibility with older version of
5+
#' the phyloseq package. They may eventually be completely
6+
#' removed.
7+
#'
8+
#' @usage deprecated_rcdk_function(x, value, ...)
9+
#' @rdname rcdk-deprecated
10+
#' @name rcdk-deprecated
11+
#' @param x For assignment operators, the object that will undergo a replacement
12+
#' (object inside parenthesis).
13+
#' @param value For assignment operators, the value to replace with
14+
#' (the right side of the assignment).
15+
#' @param ... For functions other than assignment operators,
16+
#' parameters to be passed to the modern version of the function (see table).
17+
#' @docType package
18+
#' @export do.typing
19+
#' @aliases deprecated_rcdk_function do.typing
20+
#' @details
21+
#' \tabular{rl}{
22+
#' \code{do.typing} \tab now a synonym for \code{\link{set.atom.types}}\cr
23+
#' }
24+
#'
25+
deprecated_rcdk_function <- function(x, value, ...){return(NULL)}
26+
do.typing <- function(...){.Deprecated("set.atom.types", package="rcdk");return(set.atom.types(...))}
27+
################################################################################

rcdk/man/do.aromaticity.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/do.isotopes.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.desc.categories.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.volume.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/rcdk-deprecated.Rd

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

rcdk/man/view.table.Rd

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

0 commit comments

Comments
 (0)