download_reg_repo {nat.templatebrains} | R Documentation |
Download and register git repository containing registrations
Description
Note that these extra registrations will be downloaded to a standard location
on your hard drive that will be used for one session to the next. See
examples and local_reg_dir_for_url
.
Usage
download_reg_repo(url, localdir = NULL, ...)
Arguments
url |
Location of one or more remote git repositories. Can accept partial github specifications of the form "<user>/<repo>". |
localdir |
Full path to local checkout location of git repository. When
|
... |
additional arguments passed to |
Value
This function is principally called for its side effect. A path to the location on disk containing added registrations is returned invisibly.
See Also
add_reg_folders
, local_reg_dir_for_url
,
git2r::clone
Examples
## find the root location of all registration directories
local_reg_dir_for_url()
## Not run:
## Add the two main jefferislab bridging and mirroring registration
# collections for Drosophila brains from github.com.
download_reg_repo("jefferislab/BridgingRegistrations")
download_reg_repo("jefferislab/MirrorRegistrations")
## update all current registration repositories
update_reg_repos()
## End(Not run)
[Package nat.templatebrains version 1.1 Index]