write_netrc: Write a netrc file

View source: R/netrc.R

write_netrcR Documentation

Write a netrc file

Description

Write a netrc file that is valid for accessing ImmuneSpace

Usage

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")

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