inst/roche/roche_get_orgs.R

github_stats <- create_gitstats() |>
  set_github_host(
    host = "github.roche.com"
  )

gitlab_stats <- create_gitstats() |>
  set_gitlab_host(
    host = "https://code.roche.com"
  )

get_orgs(github_stats)

get_orgs(gitlab_stats)

git_stats <- create_gitstats() |>
  set_github_host(
    host = "github.roche.com"
  ) |>
  set_gitlab_host(
    host = "code.roche.com"
  )

get_orgs(git_stats)

gitlab_stats <- create_gitstats() |>
  set_gitlab_host(
    host = "code.roche.com",
    orgs = c("datascience/rwd", "botany")
  )

get_orgs(gitlab_stats)

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.