Skip to content

Commit

Permalink
rebuilt readme
Browse files Browse the repository at this point in the history
  • Loading branch information
b-rodrigues committed Jan 9, 2025
1 parent 8b173a4 commit 6f917c0
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 13 deletions.
10 changes: 4 additions & 6 deletions README.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -327,8 +327,6 @@ that make using Nix easier!

## What's the recommended workflow?

*If you prefer to watch a video, [click here]()*

Ideally, you shouldn't be using a system-wide installation of R, and instead
use dedicated Nix environments for each of your projects.

Expand All @@ -340,10 +338,10 @@ library(rix)
path_default_nix <- "."
rix(
r_ver = "4.3.3", # Change to whatever R version you need
r_pkgs = c("dplyr", "ggplot2", "rix"), # Change to whatever packages you need, it might
system_pkgs = NULL, # be a good idea to include rix as well if you need
git_pkgs = NULL, # to re-generate the expression later on
r_ver = "4.3.3", # Change to whatever R version you need
r_pkgs = c("dplyr", "ggplot2") # Change to whatever packages you need
system_pkgs = NULL
git_pkgs = NULL,
ide = "code",
project_path = path_default_nix,
overwrite = TRUE,
Expand Down
10 changes: 4 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -325,8 +325,6 @@ tools that make using Nix easier!

## What’s the recommended workflow?

*If you prefer to watch a video, [click here]()*

Ideally, you shouldn’t be using a system-wide installation of R, and
instead use dedicated Nix environments for each of your projects.

Expand All @@ -338,10 +336,10 @@ something like:
path_default_nix <- "."

rix(
r_ver = "4.3.3", # Change to whatever R version you need
r_pkgs = c("dplyr", "ggplot2", "rix"), # Change to whatever packages you need, it might
system_pkgs = NULL, # be a good idea to include rix as well if you need
git_pkgs = NULL, # to re-generate the expression later on
r_ver = "4.3.3", # Change to whatever R version you need
r_pkgs = c("dplyr", "ggplot2") # Change to whatever packages you need
system_pkgs = NULL
git_pkgs = NULL,
ide = "code",
project_path = path_default_nix,
overwrite = TRUE,
Expand Down
3 changes: 2 additions & 1 deletion default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@ let
rmarkdown
styler
sys
testthat;
testthat
urlchecker;
};

tex = (pkgs.texlive.combine {
Expand Down

0 comments on commit 6f917c0

Please sign in to comment.