inst/roche/roche_set_hosts.R

git_stats <- create_gitstats() |>
  set_gitlab_host(
    host = "code.roche.com",
    orgs = c("banasm", "waisk"),
    token = Sys.getenv("GITLAB_PAT")
  )

get_repos(git_stats, add_contributors = FALSE)
get_repos_urls(git_stats)

git_stats <- create_gitstats() |>
  set_gitlab_host(
    host = "code.roche.com",
    orgs = "RWDInsightsEngineering",
    token = Sys.getenv("GITLAB_PAT")
  )

get_repos(git_stats, add_contributors = FALSE)

Try the GitStats package in your browser

Any scripts or data that you put into this service are public.

GitStats documentation built on June 8, 2025, 12:29 p.m.