article {rj} | R Documentation |
Create or convert input into an s3 article object
article(..., quiet = FALSE)
as.article(id)
... |
Named arguments giving the components of an article: id, authors, title, editor, reviewers, status |
quiet |
if |
id |
a path to a DESCRIPTION, a path to a directory containing DESCRIPTION, or a article name, found in a sub-directory rejected, accepted or submissions |
if the article is not parsable, article()
will
print an error message and return a unparsed blob. This ensures that
information is not lost even if some articles have parsing errors.
Usually the best way to use as_article()
is to have your working directory set to the
admin repo, and refer to articles by their id. See the examples section.
## Not run:
as.article("2012-01")
as.article("2012-02")
## End(Not run)