R/sim_ode_shiny.R

Defines functions sim_ode_shiny

Documented in sim_ode_shiny

#' Simulate ODE and create a Shiny app
#'
#' This function has been deprecated and moved to a separate package at
#' https://github.com/ronkeizer/PKPDsimshiny.
#'
#' @param ... arguments passed to PKPDsimShiny::sim_ode_shiny()
#' @export
#' @seealso \link{sim_ode}
#' @return No return value
sim_ode_shiny <- function(...) {
#   if("PKPDsimShiny" %in% rownames(installed.packages())) {
#     PKPDsimShiny::sim_ode_shiny(...)
#   } else {
    message("Sorry, the sim_ode_shiny function is not available in the PKPDsim library anymore, but has its own package! Please install the package 'PKPDsimShiny': devtools::install_github('ronkeizer/PKPDsimShiny'), load the library after you load PKPDsim, and rerun sim_ode_shiny().")
  # }
}
InsightRX/PKPDsim documentation built on April 9, 2024, 6:19 a.m.