Associate editor (AE) functions
AEs.Rd
Functions to determine if the user is an AE and retrieve relevant AE information
Value
AEs()
: a data frame with all associate editorsdetect_AE()
:NULL
if not found or the row fromAEs()
corresponding to the AEAE
:NULL
if not an AE or a row fromAEs()
is_AE
:TRUE
if the user if an AE or the repository is an AE repository,FALSE
otherwise
Details
AEs()
: read the associate-editors.csv in the rj package as a data framedetect_AE()
: determine AE from the remote of the repository inpath
or from the git config e-mail.this only work for AE and will fail for editorsAE()
: returns the corresponding row fromAEs()
if called by an associate editor or in an AE repository, otherwiseNULL
. It relies on eitherRJ_EDITOR
environment variable to contain the name of the editor or detection from the git repository pointed to bypath
(seedetect_AE
).is_AE()
: determine if the user is an AE or the repository is an AE repository