View source: R/download_github.R
| download_github | R Documentation | 
Source code: copied from "remotes" https://github.com/r-lib/remotes/blob/bd970d723facc6ede2ff0f54ce4ae917526a37f8/install-github.R (required for downloading private repos!)
download_github(
  repo,
  ref = NULL,
  dest_dir = tempdir(),
  use_zip = FALSE,
  quiet = FALSE,
  auth_token = Sys.getenv("GITHUB_PAT")
)
| repo | Github repo (e.g. "kwb-r/kwb.utils") | 
| ref | default: "NULL" (i.e. defaults to "master" or "main" branch) | 
| dest_dir | dest directory (default: tempdir()) | 
| use_zip | should files be downloades as .tar.gz (use_zip=FALSE) or as .zip files (use_zip=TRUE); default: FALSE | 
| quiet | print messages (default: TRUE) | 
| auth_token | auth_token (needed to download "private" repos), default: Sys.getenv("GITHUB_PAT") | 
downloaded repo in dest. folder
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.