clone_IMGTHLA: Clone or pull the ANHIG/IMGTHLA repository

Description Usage Arguments Value Examples

View source: R/remotes.R

Description

Clone or pull the ANHIG/IMGTHLA repository

Usage

1
2
3
4
5
6
7
8
9
clone_IMGTHLA(
  db_path = getOption("hlatools.local_repos"),
  branch = NULL,
  progress = TRUE
)

pull_IMGTHLA(db_path = getOption("hlatools.local_repos"))

check_IMGTHLA(db_path = getOption("hlatools.local_repos"))

Arguments

db_path

Local directory to clone into. Defaults to ‘~/local/db/IMGTHLA’.

branch

The name of the branch to checkout. Defaults to the remote's default branch.

progress

Show progress. Default is TRUE.

Value

A git_repository object.

character; a diagnostic message.

Examples

1
2
3
4
5
6
## Not run: 
check_IMGTHLA()
repo <- clone_IMGTHLA()
repo <- pull_IMGTHLA()

## End(Not run)

gschofl/hlatools documentation built on July 2, 2021, 10:59 a.m.