check_netrc: Check netrc file

Description Usage Details Value See Also Examples

View source: R/netrc.R

Description

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

Usage

1

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

1

Example output

A .netrc file is required to connect to ImmuneSpace. For more information on how to create one, refer to the Configuration section of the introduction vignette.
Error in check_netrc() : There is no netrc file. Use `write_netrc`

ImmuneSpaceR documentation built on Dec. 21, 2020, 2:01 a.m.