Skip to content
This repository has been archived by the owner on Apr 5, 2022. It is now read-only.

Commit

Permalink
Rearrange Package Reproducibility section
Browse files Browse the repository at this point in the history
  • Loading branch information
jdblischak committed Jul 8, 2021
1 parent 90fcaf9 commit ae153f5
Showing 1 changed file with 42 additions and 10 deletions.
52 changes: 42 additions & 10 deletions ReproducibleResearch.ctv
Original file line number Diff line number Diff line change
Expand Up @@ -287,17 +287,49 @@
</ul>
<h1>Package Reproducibility</h1>
<p>
R also has tools for ensuring that specific packages versions can be
required for analyses. <pkg>checkpoint</pkg>, <pkg>groundhog</pkg>,
<pkg>rbundler</pkg>, <pkg>packrat</pkg> and <pkg>renv</pkg> install
packages required for a project to a local archive as they existed at a
specified point in time. This allows specific package versions to be
maintained over time and different users. The <pkg>miniCRAN</pkg> and
<pkg>switchr</pkg> packages facilitate the creation of local CRAN-like
repositories and their simultaneous operation. <pkg>liftr</pkg> allows to
containerize an R Markdown document using <a
href="https://docker.com/">Docker</a> by providing additional metadata.
R has various tools for ensuring that specific packages versions can be
required for analyses. As an example, the <pkg>renv</pkg> package installs
packages in project-specific directory, records "snapshots" of the current
package versions in a "lockfile", and restores the package setup on a
different machine.
</p>
<ul>
<li>
<pkg>checkpoint</pkg>: Allows you to install packages as they existed on
CRAN on a specific snapshot date as if you had a CRAN time machine.
</li>
<li>
<pkg>groundhog</pkg>: Make R scripts that rely on packages reproducible,
by ensuring that every time a given script is run, the same version of
the used packages are loaded.
</li>
<li>
<pkg>liftr</pkg>: Persistent reproducible reporting by containerization
of R Markdown documents.
</li>
<li>
<pkg>miniCRAN</pkg>: Makes it possible to create an internally
consistent repository consisting of selected packages from CRAN-like
repositories.
</li>
<li>
<pkg>packrat</pkg>: Manage the R packages your project depends on in an
isolated, portable, and reproducible way.
</li>
<li>
<pkg>rbundler</pkg>: Manages a project-specific library for dependency
package installation.
</li>
<li>
<pkg>renv</pkg>: Create and manage project-local R libraries, save the
state of these libraries to a 'lockfile', and later restore your library
as required.
</li>
<li>
<pkg>switchr</pkg>: Provides an abstraction for managing, installing,
and switching between sets of installed R packages.
</li>
</ul>
<h1>Project Workflows</h1>
<p>
Successfully completing a data analysis project often requires much more
Expand Down

0 comments on commit ae153f5

Please # to comment.