awong234,

Is there a complete method of script-level reproducibility? Let's say I have a blog with one analysis a week for five years. Potentially, R version and package versions change weekly and script-by-script.

groundhog provides script-level package management. renv/packrat not an option because they're project-based. Maybe pacman?

rig provides a way to manage R versions (as does something like conda).

Mehrad,
@Mehrad@fosstodon.org avatar

@awong234
The maximum reproducibility can be achieved via Nix or Guix shells. The {rix} can help you kickstart a nix setup with ease:

https://b-rodrigues.github.io/rix/

As for Guix I'm in the process of making something that provides similar ease-of-use as {rix} but for Guix and using a simple CLI.

awong234,

@Mehrad This is really interesting thank you for showing me this!

Mehrad,
@Mehrad@fosstodon.org avatar

@awong234
All the credits of {rix} should go to @brodriguesco and his co-author.

I can very strongly suggest using Nix or Guix for your projects. If you needed any help, I'm sure the Nix and Guix community would gladly point you to the correct direction. Also @brodriguesco have good YouTube videos which can really help you understand the concepts in few minutes:

https://youtu.be/R3t83-2aNwY?si=h5ghZ-A5yGkeS2QW

Mehrad,
@Mehrad@fosstodon.org avatar

@awong234
I just stumbled upon this beautifully written post about the history of and why it came about and what it solves (spoiler alert: it solves the dependency problem and development stack which you are struggling with😉) written by @blair_fix

https://economicsfromthetopdown.com/2024/02/17/nixing-technological-lock-in/

@brodriguesco

brodriguesco,
@brodriguesco@fosstodon.org avatar
  • All
  • Subscribed
  • Moderated
  • Favorites
  • random
  • DreamBathrooms
  • mdbf
  • ethstaker
  • magazineikmin
  • GTA5RPClips
  • rosin
  • thenastyranch
  • Youngstown
  • InstantRegret
  • slotface
  • osvaldo12
  • kavyap
  • khanakhh
  • Durango
  • megavids
  • everett
  • cisconetworking
  • normalnudes
  • tester
  • ngwrru68w68
  • cubers
  • modclub
  • tacticalgear
  • provamag3
  • Leos
  • anitta
  • JUstTest
  • lostlight
  • All magazines