📦 I tried using the {renv} package to save my R environment, but no matter what I did, it wouldn't reinstall packages when running `install()` or `restore()`.
To help anyone else who might hit this issue, this fixed it:
#rstats #renv #tidyverse
Does anyone out there have a MVP using {renv} to manage packages inside a GitHub Codespace Docker set up? @milesmcbain? 🙏 #codespaces #renv #docker
new release of #renv for #RStats includes:
"The new renv::checkout() makes it easy to use packages as if they’d all been installed at a specified date. For example, renv::checkout(date = "2023-02-08") will re-install all packages as they were on 2023-02-08 (using Posit Package Manager)...New projects will now use Posit Public Package Manager by default so that you’re more likely to get binaries." https://posit.co/blog/renv-1-0-0/
First day of #Rmed23 was a very very good time investment. I finally developed an understanding of the #rstats package #renv, and can't wait to try the #rstats package gt for making nice tables, also for pdf. See https://events.linuxfoundation.org/r-medicine/
Going upward on the ladder of reproducibility: a 🇨🇵 course with #rstats
Code quality, project structure, modular code, data format, reproducible environments (#renv), data pipelines with #targets and reproducible publications with #QuartoPub
👀👇
https://inseefrlab.github.io/formation-bonnes-pratiques-R/#/title-slide
#QuartoPub #targets #renv #rstats
#RStats - 📦 New version v0.3.1 of #attachment is now on CRAN
👍 Small improvements to help future versions of #dockerfiler and #golem to deploy #Shiny apps with #renv
👉 Release notes: https://github.com/ThinkR-open/attachment/releases/tag/v0.3.1
🔗 https://thinkr-open.github.io/attachment/
#rstats #attachment #dockerfiler #golem #shiny #renv
our lab writes papers in #RStudio as #github repos, but we hit friction w/1) r, rstudio, & package versions across coauth's, & (2) porting the relevant part of code that knits ms from github to #OpenScience OSF where we want it anonymized for review. (Yes we know ab the #renv package & ab view-only links in OSF). Tips or templates for best practices for if u've got 'em! tagging some usual suspects @mcxfrank @briannosek @Russpoldrack @chbergma @melissaekline aekline@mefi.social #academia
#rstudio #github #openscience #renv #academia
@davidbraze AAAH HARD SAME!
Really struggling with getting it to install with all its dependencies in an #renv project for something I'm working on today. :(
Hey #rstats pals, #renv is kicking my BUTT! Really trying to create a #reproducible version of our results for a paper, but package installations keep failing. The latest one is that #readxl needs to install as part of #tidyverse, and I am getting totally incomprehensible error messages from Command Line Tools like "error: 'gid_t' has not been declared"! #help (Just to note that readxl and tidyverse work FINE in my normal workflow.)
#rstats #renv #reproducible #readxl #tidyverse #help
@hughagraham @MikeMahoney218 @rstats The struggle of this is definitely real.
My solution to this is to use a hydrate -> restore -> snapshot loop so that I can add a new package even if I don't have it locally and still protect the versions that I already registered: https://carpentries.github.io/sandpaper/articles/building-with-renv.html#motivation
#rstats #renv #reproducibility
@MattCrump I’ve found #renv pretty easy to add to an existing project or to use from the start, but after a few weeks, there’s always some glitch I can’t figure out how to sort and end up removing renv. This is mainly happening on #rstats package dev projects. Any tips on how to learn renv better?