Check that there is a netrc file with a valid entry for the CAVD DataSpace.
Usage
checkNetrc(netrcFile = getNetrcPath(), onStaging = FALSE, verbose = TRUE)
Arguments
- netrcFile
A character. File path to netrc file to check.
- onStaging
A logical. Whether to check the staging server instead of the production server.
- verbose
A logical. Whether to print the extra details for troubleshooting.
Examples
try(checkNetrc())
#> Error : There is no netrc file. Use `writeNetrc()` to create one.