Skip to content

Commit 50e76ab

Browse files
committed
Skeleton of the non-active build_geneSBML() function
1 parent 6c2a408 commit 50e76ab

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

R/evaluation_funs.R

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -698,4 +698,27 @@
698698

699699
}
700700

701+
# `build_geneSBML` deprecated, for compatibility --------
702+
703+
#' Create a SBML model from gene Entrez IDs (not active anymore).
704+
#'
705+
#' @description
706+
#' Function `bulid_geneSBML()` is not active anymore and was replaced by
707+
#' much more robust \code{\link{get_regulation}} with a slightly different
708+
#' interface and output.
709+
#' Calling `bulid_geneSBML()` returns `NULL` with a warning.
710+
#'
711+
#' @inheritParams get_regulation
712+
#'
713+
#' @export
714+
715+
build_geneSBML <- function(x, ...) {
716+
717+
warning("The function is not active anymore, please use `get_regulation()` instead.",
718+
call. = FALSE)
719+
720+
return(NULL)
721+
722+
}
723+
701724
# END --------

0 commit comments

Comments
 (0)