tests/testthat/_snaps/status.md

reports if status not possible

Code
  status()
Output
  This project does not appear to be using renv.
  Use `renv::init()` to initialize the project.
Code
  status()
Output
  This project does not contain a lockfile.
  Use `renv::snapshot()` to create a lockfile.
Code
  status()
Output
  There are no packages installed in the project library.
  Use `renv::restore()` to install the packages defined in lockfile.

reports when project is synchronised

Code
  status()
Output
  No issues found -- the project is in a consistent state.

reports installation problems with non-installed packages

Code
  status()
Output
  The following package(s) are missing:

   package installed recorded used
   bread   n         n        y   
   egg     n         y        y   
   oatmeal n         y        ?

  See ?renv::status() for advice on resolving these issues.

reports synchronisation problems with installed packages

Code
  status()
Output
  The following package(s) are in an inconsistent state:

   package installed recorded used
   bread   y         n        y   
   egg     y         y        n

  See ?renv::status() for advice on resolving these issues.

reports version differences

Code
  status()
Output
  The following package(s) are out of sync [lockfile -> library]:

  # CRAN ---
  - egg       [repo: * -> CRAN; ver: 2.0.0 -> 1.0.0]
  - oatmeal   [repo: * -> CRAN; ver: 0.9.0 -> 1.0.0]


  See ?renv::status() for advice on resolving these issues.


Try the renv package in your browser

Any scripts or data that you put into this service are public.

renv documentation built on Sept. 19, 2023, 9:06 a.m.