write_netrc: Write a netrc file

Description Usage Arguments Value Examples

View source: R/netrc.R

Description

Write a netrc file that is valid for accessing ImmuneSpace

Usage

1
write_netrc(login, password, machine = "www.immunespace.org", file = NULL)

Arguments

login

A character. The email address used for loging in on ImmuneSpace.

password

A character. The password associated with the login.

machine

A character. The server to connect.

file

A character. The credentials will be written into that file. If left NULL, the netrc will be written into a temporary file.

Value

A character vector containing the file paths for netrc

Examples

1
write_netrc("immunespaceuser@gmail.com", "mypassword")

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.
[1] "/work/tmp/tmp/RtmpcWFTZE/file7c9e414494e2"

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