Skip to content

Commit

Permalink
Merge pull request #124 from zachcp/crancompat
Browse files Browse the repository at this point in the history
Crancompat
  • Loading branch information
rajarshi authored Jul 11, 2021
2 parents a0dfd5a + bbc70f7 commit 0abffe7
Show file tree
Hide file tree
Showing 8 changed files with 81 additions and 4 deletions.
1 change: 1 addition & 0 deletions rcdk/NAMESPACE
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ export(convert.implicit.to.explicit)
export(copy.image.to.clipboard)
export(do.aromaticity)
export(do.isotopes)
export(do.typing)
export(eval.atomic.desc)
export(eval.desc)
export(generate.2d.coordinates)
Expand Down
27 changes: 27 additions & 0 deletions rcdk/R/deprecated_functions.R
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
################################################################################
#' Deprecated functions in the rcdk package.
#'
#' These functions are provided for compatibility with older version of
#' the phyloseq package. They may eventually be completely
#' removed.
#'
#' @usage deprecated_rcdk_function(x, value, ...)
#' @rdname rcdk-deprecated
#' @name rcdk-deprecated
#' @param x For assignment operators, the object that will undergo a replacement
#' (object inside parenthesis).
#' @param value For assignment operators, the value to replace with
#' (the right side of the assignment).
#' @param ... For functions other than assignment operators,
#' parameters to be passed to the modern version of the function (see table).
#' @docType package
#' @export do.typing
#' @aliases deprecated_rcdk_function do.typing
#' @details
#' \tabular{rl}{
#' \code{do.typing} \tab now a synonym for \code{\link{set.atom.types}}\cr
#' }
#'
deprecated_rcdk_function <- function(x, value, ...){return(NULL)}
do.typing <- function(...){.Deprecated("set.atom.types", package="rcdk");return(set.atom.types(...))}
################################################################################
2 changes: 1 addition & 1 deletion rcdk/man/do.aromaticity.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion rcdk/man/do.isotopes.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion rcdk/man/get.desc.categories.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion rcdk/man/get.volume.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

31 changes: 31 additions & 0 deletions rcdk/man/rcdk-deprecated.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

18 changes: 18 additions & 0 deletions rcdk/man/view.table.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 0abffe7

Please sign in to comment.