update_status {rj} | R Documentation |
This is a general function for updating the status field in the DESCRIPTION.
update_status(article, status, comments = "", date = Sys.Date(), AE = is_AE())
article |
Article id, like |
status |
new status to add, see details section for more |
comments |
Any additional comments |
date |
Date of status update. If omitted defaults to today. |
AE |
Logical, if |
For AEs, status is prefixed with "AE: " and valid status includes "AE: major revision", "AE: minor revision", "AE: accept", and "AE: reject".
For Editors, use accept()
, reject()
, and withdraw()
to
update the status as well as draft an email to the correspondence author.
Check valid status with valid_status
.
## Not run:
update_status("2020-114", status = "AE: major revision")
## End(Not run)