From cedf6bf28b2ddb8aeec7fa5e135224f0ccf1f768 Mon Sep 17 00:00:00 2001 From: Bruno Rodrigues Date: Thu, 18 Apr 2024 18:36:46 +0200 Subject: [PATCH] Update b1-linux_win.Rmd --- dev/b1-linux_win.Rmd | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/dev/b1-linux_win.Rmd b/dev/b1-linux_win.Rmd index 09019a44..489070be 100644 --- a/dev/b1-linux_win.Rmd +++ b/dev/b1-linux_win.Rmd @@ -125,8 +125,13 @@ rix(r_ver = "latest", to generate a `default.nix`, and then use that file to generate an environment with R, `{dplyr}` and `{ggplot2}`. If you need to add packages for your project, -rerun the command above, but add the needed packages to `r_pkgs`. This is -detailled in the vignette `vignette("d1-installing-r-packages-in-a-nix-environment")` and +rerun the command above, but add the needed packages to `r_pkgs`. Beware that if +your already have a `default.nix` file in the working directory, running +`rix()` with the `overwrite = TRUE` argument will overwrite it! So make sure +that you are using a version control system for your projects to avoid bad surprises. + +More details about managing project-specific `default.nix` are detailled in the +vignette `vignette("d1-installing-r-packages-in-a-nix-environment")` and `vignette("d2-installing-system-tools-and-texlive-packages-in-a-nix-environment")`. You could also include `{rix}` in your project-specific environments, by generating