RSE-Sheffield/collaborative_github_exercise

Update renv and packages

ns-rse opened this issue · 1 comments

Going through the on-boarding tasks (see #41) I found that the renv in [RSE-Sheffield/collaborative_github_exercise) had a few packages missing which prevented knitting the document.

In particular...

  • rmarkdown
  • dplyr
  • ggplot2
  • plotly
  • sessioninfo
  • markdown

Need to be installed, although several of these were were installed system wide they weren't in the environment.

I also noted that renv used an older version of R than I had installed (currently 4.2.1).

The renv needs updating to include these packages and perhaps bumping the minimum version of R.

I also find that I'm warned about newer versions for the following packages as they are installed system wide.

Full output of renv::status()

> renv::status()
The following package(s) are installed but not recorded in the lockfile:
            _
  rappdirs    [0.3.3]
  jquerylib   [0.1.4]
  sass        [0.4.2]
  fs          [1.5.2]
  memoise     [2.0.1]
  cachem      [1.0.6]
  bslib       [0.4.0]

Use `renv::snapshot()` to add these packages to your lockfile.

The following package(s) are no longer used in this project:
               _
  MASS           [7.3-54]
  Matrix         [1.3-4]
  RColorBrewer   [1.1-2]
  Rcpp           [1.0.7]
  askpass        [1.1]
  cli            [3.1.0]
  colorspace     [2.0-2]
  cpp11          [0.4.1]
  crayon         [1.4.2]
  crosstalk      [1.1.1]
  curl           [4.3.2]
  data.table     [1.14.2]
  ellipsis       [0.3.2]
  fansi          [0.5.0]
  farver         [2.1.0]
  generics       [0.1.1]
  gtable         [0.3.0]
  htmlwidgets    [1.5.4]
  httr           [1.4.2]
  isoband        [0.2.5]
  labeling       [0.4.2]
  later          [1.3.0]
  lattice        [0.20-44]
  lazyeval       [0.2.2]
  lifecycle      [1.0.1]
  mgcv           [1.8-36]
  mime           [0.12]
  munsell        [0.5.0]
  nlme           [3.1-152]
  openssl        [1.4.5]
  pillar         [1.6.4]
  pkgconfig      [2.0.3]
  promises       [1.2.0.1]
  purrr          [0.3.4]
  scales         [1.1.1]
  sys            [3.4]
  tibble         [3.1.6]
  tidyr          [1.1.4]
  tidyselect     [1.1.1]
  usethis        [2.1.3]
  utf8           [1.2.2]
  vctrs          [0.3.8]
  viridisLite    [0.4.0]
  withr          [2.4.2]

Use `renv::snapshot()` to remove them from the lockfile.

The following package(s) are recorded in the lockfile, but not installed:
              _
  dplyr         [1.0.7]
  ggplot2       [3.3.5]
  plotly        [4.9.4.1]
  sessioninfo   [1.1.1]

Use `renv::restore()` to install these packages.

The following package(s) are out of sync:

   Package   Lockfile Version   Library Version
    digest             0.6.28            0.6.30
  evaluate               0.14              0.17
      glue              1.5.0             1.6.2
 htmltools              0.5.2             0.5.3
  jsonlite              1.7.2             1.8.3
     knitr               1.36              1.40
  magrittr              2.0.1             2.0.3
     rlang             0.4.12             1.0.6
 rmarkdown               2.10              2.17
   stringi              1.7.6             1.7.8
   stringr              1.4.0             1.4.1
   tinytex               0.33              0.42
      xfun               0.28              0.34
      yaml              2.2.1             2.3.6

Use `renv::snapshot()` to save the state of your library to the lockfile.
Use `renv::restore()` to restore your library from the lockfile.