nat.templatebrains (version 1.0)

local_reg_dir_for_url: Standard local checkout location for extra registration directories

Description

Standard local checkout location for extra registration directories

Usage

local_reg_dir_for_url(url = NULL)

Arguments

url

Character vector containing a url. When url=NULL defaults to giving the base path.

Details

When called without any argument returns the root directory that will be inspected for extra registrations. You can put a sub-folder yourself there manually and then call add_reg_folders, but you are much better off in general using download_reg_repo to install from a github repository such as this one of ours:. jefferislab/BridgingRegistrations

Note that this folder will always be the same place on a machine i.e. this defines a consistent, persistent location on disk to store data across sessions.

When called with a url, a SHA1 hash will be calculated for the URL and appended to the basepath. This should ensure that locations derived from different URLs do not clash.

See Also

download_reg_repo