check_netrc {ImmuneSpaceR} | R 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())

[Package ImmuneSpaceR version 1.8.2 Index]