check_netrc: Check netrc file

View source: R/netrc.R

check_netrcR Documentation

Check netrc file

Description

Check that there is a netrc file with a valid entry for ImmuneSpace.

Usage

check_netrc()

Details

In order to connect to ImmuneSpace, you will need a '.netrc' file in your contains a 'machine' name (hostname of ImmuneSpace), and 'login' and 'password'. See [here](https://www.labkey.org/wiki/home/Documentation/page.view?name=netrc) for more information. By default RCurl will look for the file in your home directoty.

If no netrc is available or it is not formatted properly, write_netrc can be used to write one. Otherwise, when specifying login and password in CreateConnection, a temporary file will be created for that connection.

Value

The name of the netrc file

See Also

CreateConnection write_netrc

Examples

try(check_netrc())

RGLab/ImmuneSpaceR documentation built on Jan. 5, 2023, 10:24 a.m.