-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #99 from ramses-antibiotics/develop
Merge Ramses v0.5.0
- Loading branch information
Showing
93 changed files
with
5,356 additions
and
3,436 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,6 +5,6 @@ | |
doc | ||
Meta | ||
.idea | ||
*.sqlite | ||
*.duckdb | ||
inst/doc | ||
docs |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
|
||
|
||
#' Deprecated functions in package \pkg{Ramses}. | ||
#' | ||
#' @description The functions listed below are deprecated and will be defunct in | ||
#' the near future. When possible, alternative functions with similar | ||
#' functionality are also mentioned. Help pages for deprecated functions are | ||
#' available at \code{help("<function>-deprecated")}. | ||
#' \itemize{ | ||
#' \item{\code{\link[Ramses]{therapy_table}()} is now known as | ||
#' \code{\link[Ramses]{longitudinal_table}()}} | ||
#' } | ||
#' @name Ramses-deprecated | ||
#' @keywords internal | ||
NULL | ||
|
||
|
||
#' Get the therapy table (DEPRECATED) | ||
#' | ||
#' @param object an object of class \code{TherapyEpisode} | ||
#' @param collect if \code{TRUE}, collect the remote \code{tbl_sql} and return a local | ||
#' \code{tbl_df}. The default is \code{FALSE}, and simply returns the remote \code{tbl_sql} | ||
#' @return an object of class \code{tbl} | ||
#' @rdname therapy_table-deprecated | ||
#' @description This function is now deprecated. Please use | ||
#' \code{\link{longitudinal_table}()}. | ||
#' @seealso \code{\link{Ramses-deprecated}} | ||
#' @export | ||
therapy_table <- function(object, collect = FALSE) { | ||
.Deprecated("longitudinal_table") | ||
longitudinal_table( | ||
x = object, | ||
collect = collect | ||
) | ||
} | ||
|
||
|
||
#' Create database bridge tables | ||
#' | ||
#' @param conn a database connection | ||
#' @param overwrite if \code{TRUE}, will overwrite any existing | ||
#' database table. The default is \code{FALSE} | ||
#' @rdname bridge_spell_therapy_overlap-deprecated | ||
#' @description This function is now deprecated. Please use | ||
#' \code{\link{bridge_encounter_therapy_overlap}()}. | ||
#' @seealso \code{\link{bridge_tables}}, \code{\link{Ramses-deprecated}} | ||
#' @export | ||
bridge_spell_therapy_overlap <- function(conn, | ||
overwrite = FALSE) { | ||
.Deprecated("bridge_encounter_therapy_overlap") | ||
bridge_encounter_therapy_overlap( | ||
conn = conn, | ||
overwrite = overwrite | ||
) | ||
} | ||
|
Oops, something went wrong.