Learn R Programming

DataSpaceR (version 0.7.7)

checkNetrc: Check netrc file

Description

Check that there is a netrc file with a valid entry for the CAVD DataSpace.

Usage

checkNetrc(netrcFile = getNetrcPath(), onStaging = FALSE, verbose = TRUE)

Value

The name of the netrc file

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.

See Also

connectDS writeNetrc

Examples

Run this code
try(checkNetrc())

Run the code above in your browser using DataLab