retistruct.cli: Process a dataset with a time limit

Description Usage Arguments Value Author(s)

View source: R/retistruct-cli.R

Description

This calls retistruct.cli.process with a time limit specified by cpu.time.limit.

Usage

1
2
3
4
5
6
7
retistruct.cli(
  dataset,
  cpu.time.limit = Inf,
  outputdir = NA,
  device = "pdf",
  ...
)

Arguments

dataset

Path to dataset to process

cpu.time.limit

Time limit in seconds

outputdir

Directory in which to save any figures

device

String representing device to print figures to

...

Other arguments to pass to retistruct.cli.process

Value

A list comprising

status

0 for success, 1 for reaching cpu.time.limit and 2 for an unknown error

time

The time take in seconds

mess

Any error message

Author(s)

David Sterratt


retistruct documentation built on April 4, 2020, 5:08 p.m.