action: Accept, reject, or withdraw an article

rejectR Documentation

Accept, reject, or withdraw an article

Description

This set of functions wraps around update_status() and email_template to first update the status field in the DESCRIPTION file and then draft an email from the template. Articles are verified to be under the Submission folder before carrying out the actions to avoid mistake input of article ID.

Usage

reject(article, comments = "", date = Sys.Date())

reject_format(article, comments = "", date = Sys.Date())

accept(article, comments = "", date = Sys.Date())

withdraw(article, comments = "", date = Sys.Date())

major_revision(article, comments = "", date = Sys.Date())

minor_revision(article, comments = "", date = Sys.Date())

check_in_submission_folder(article)

Arguments

article

Article id, like "2014-01"

comments

Any additional comments

date

Date of status update. If omitted defaults to today.


rjournal/rj documentation built on April 30, 2024, 6:39 a.m.