update_reg_repos: Update local copy of git repository containing registrations

View source: R/reg_repos.R

update_reg_reposR Documentation

Update local copy of git repository containing registrations

Description

When x=NULL all repositories listed in options(nat.templatebrains.regdirs) are checked to see if they are git repositories and, if yes, they are pulled to update.

Usage

update_reg_repos(x = NULL)

Arguments

x

Path to local checkout of a registration git repository. See details for meaning of default.

Value

This function is principally called for its side effect, but does return a git2r::repository object containing the path on disk to the location of the git repository with registration.

See Also

download_reg_repo


nat.templatebrains documentation built on July 9, 2023, 6:18 p.m.