create_empty_branch_ghpages: Create Empty gh-pages branch

View source: R/create_empty_branch.R

create_empty_branch_ghpagesR Documentation

Create Empty gh-pages branch

Description

Create Empty gh-pages branch

Usage

create_empty_branch_ghpages(
  repo = NULL,
  org = "KWB-R",
  set_githubuser = TRUE,
  git_exe = path_to_git(),
  dest_dir = tempdir(),
  execute = TRUE,
  dbg = TRUE,
  ...
)

Arguments

repo

name of existing Github repository (default: NULL)

org

repo owner (default: "KWB-R")

set_githubuser

should the Github user be set before executing the branch creation (default: TRUE). In this case set_github_user() is run

git_exe

path to GIT executable (default: kwb.pkgbuild:::path_to_git()), only required on "windows". On all other platforms it is assumed that "git" is sufficient!

dest_dir

directory where the the repo should be checked out (default: tempdir())

execute

should a batch file be run?

dbg

print debug messages (default: TRUE)

...

additional arguments passed to set_github_user

Value

create and push an empty gh-pages branch to org/repo


KWB-R/kwb.pkgbuild documentation built on Oct. 25, 2022, 2:17 a.m.