Write a netrc file that is valid for accessing ImmuneSpace

write_netrc(
  login,
  password,
  machine = "datatools.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

write_netrc("immunespaceuser@gmail.com", "mypassword")
#> [1] "/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T//Rtmpi0iQY9/file13174334ab16"