readGrover: Parse a grover configuration file

View source: R/grover.R

readGroverR Documentation

Parse a grover configuration file

Description

Read grover API host information from a text file.

Usage

readGrover(path = "grover.yml")

Arguments

path

file path to text file containing host information

Details

The text file should contain 3 lines, the first the host address, the second the port on which it is hosted and lastly the authentication key needed

Examples

## Grover client
grover_client <- system.file('grover_client.yml',
                              package = 'grover')
grover_client <- readGrover(grover_client)

## Grover host
grover_host <- system.file('grover_host.yml',
                              package = 'grover')
grover_host <- readGrover(grover_host)

jasenfinch/grover documentation built on Feb. 26, 2023, 11:41 p.m.