Skip to content

Commit

Permalink
remove token_file part
Browse files Browse the repository at this point in the history
  • Loading branch information
Kangjie Zhang committed Apr 22, 2024
1 parent 4780a22 commit b7f9efd
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions data-raw/create_adams_data.R
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}
Expand Down

0 comments on commit b7f9efd

Please sign in to comment.