diff --git a/data-raw/create_adams_data.R b/data-raw/create_adams_data.R index 25d5589..6968996 100644 --- a/data-raw/create_adams_data.R +++ b/data-raw/create_adams_data.R @@ -123,15 +123,6 @@ run_template <- function(tp) { if (update_pkg) { github_pat <- Sys.getenv("GITHUB_TOKEN") # in case of run through github workflows - if (github_pat == "") { - token_file <- "data-raw/github_token.R" - if (file.exists(token_file)) { - source(token_file) - } else { - "WARNING - you might have issues installing pharmaverse deps - - Please follow instructions in the readme.md" - } - } # install pharmaversesdtm dep: TODO: see if we install from github or latest release? remotes::install_github("pharmaverse/pharmaversesdtm", ref = "main", force = TRUE) }