review provides helpful tools for organizing and performing quality control (QC) tasks.
With review, you are able to create and manage a QC log to track the QC
history of all relevant files in your repository. While performing QC,
diffQced()
will show all the changes to the file since it had last
been QCed.
To start using review, run logCreate()
. This will create the QC log in
the form of QClog.csv
.
You can use logAssign()
to add scripts needing to be QCed to the QC
log. After completing QC, run logAccept()
. This will add a row to the
QClog.csv
recording the current revision number to indicate when the
file was QCed.
To identify which files need to be QCed, you can run logPending()
. You
can also run logSummary()
to see the revision number for the most
recent QC of each script.
Public documentation of all functions is hosted at https://metrumresearchgroup.github.io/review/
review
uses pkgr to
manage development dependencies and
renv to provide isolation. To
replicate this environment,
clone the repo
install pkgr
open package in an R session and run renv::init(bare = TRUE)
renv
> 0.8.3-4 into default .libPaths()
if not
already installedrun pkgr install
in terminal within package directory
restart session
Then, launch R with the repo as the working directory (open the project in RStudio). renv will activate and find the project library.
If you encounter a clear bug, please file an issue with a minimal reproducible example on review.