as.submission: Create a submission.

Description Usage Arguments Value Methods (by class)

View source: R/submission.R

Description

Returns a list of vetted artifacts (spec or char corresponding to x) that represent a submission object for further processing.

Converts a character vector of file names to class submission.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
as.submission(x, ...)

## S3 method for class 'character'
as.submission(
  x,
  tag = names(x),
  description = basename(x),
  dir = ".",
  subdir = NULL,
  ...
)

Arguments

x

filenames: xpt, csv, spec, txt, other

...

passed along to handlers

tag

short names for each element of x

description

informative multi-word label for each element of x

dir

parent directory for placement of submission artifacts

subdir

optional subdirectories relative to dir for each submission artifact

Value

a list of artifacts each having attributes: x, tag, des, file, spec

Methods (by class)


bergsmat/define documentation built on June 24, 2020, 11 p.m.