maxheld83 / ghactions

GitHub actions for R and accompanying R package
https://www.maxheld.de/ghactions/
MIT License
169 stars 17 forks source link

update is_gh_actions #386

Open maxheld83 opened 4 years ago

maxheld83 commented 4 years ago

this ain't right anymore, correct way is:

if (!identical(Sys.getenv("GITHUB_ACTIONS"), "true")) {
  return(invisible(TRUE))
} else {
  return(invisible(FALSE))
}