groverAPI: Grover API

View source: R/api.R

groverAPIR Documentation

Grover API

Description

Run the grover REST API for file conversion.

Usage

groverAPI(
  grover_host,
  background = FALSE,
  log_dir = "~/.grover/logs",
  temp_dir = tempdir()
)

Arguments

grover_host

S4 object of class Grover

background

Run as a background process.

log_dir

directory path for API logs

temp_dir

temporary directory for converted files

Examples

## Not run: 
grover_host <- grover(host = "127.0.0.1",
                     port = 8000,
                     auth = "1234",
                     repository = system.file('repository',
                                               package = 'grover'))
groverAPI(grover_host) 

## End(Not run)

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