Skip to content

Commit

Permalink
check {tidyCDISC} version number in R Script
Browse files Browse the repository at this point in the history
  • Loading branch information
Jeff-Thompson12 committed Oct 21, 2022
1 parent d09f6fa commit a76e039
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions R/mod_tableGen.R
Original file line number Diff line number Diff line change
Expand Up @@ -757,6 +757,11 @@ mod_tableGen_server <- function(input, output, session, datafile = reactive(NULL
pkgs_req <- c('tidyCDISC', 'purrr', 'haven', 'dplyr', 'stringr', 'tidyr', 'gt')
{install_text}
if (utils::compareVersion(as.character(utils::packageVersion('tidyCDISC')), '{packageVersion('tidyCDISC')}') < 0) {{
install.packages('remotes')
remotes::install_github('Biogen-Inc/tidyCDISC')
}}
library(tidyCDISC)
library(purrr)
library(haven)
Expand Down

0 comments on commit a76e039

Please sign in to comment.