diff --git a/README.Rmd b/README.Rmd index 371c2d06..969f16d7 100644 --- a/README.Rmd +++ b/README.Rmd @@ -91,7 +91,7 @@ The main function of `{rix}` is called `rix()`. `rix()` has several arguments: For example: ```{r, eval = FALSE} -rix(r_ver = "current", pkgs = c("dplyr", "chronicler"), ide = "rstudio") +rix(r_ver = "current", r_pkgs = c("dplyr", "chronicler"), ide = "rstudio") ``` The call above writes a `default.nix` file in the current working directory. This @@ -104,7 +104,7 @@ install normally) would not recognize the R installed in the Nix environment. This is not the case for other IDEs such as VS code or Emacs. Another example: ```{r, eval = FALSE} -rix(r_ver = "4.1.0", pkgs = c("dplyr", "chronicler"), ide = "code") +rix(r_ver = "4.1.0", r_pkgs = c("dplyr", "chronicler"), ide = "code") ``` This call will generate a `default.nix` that installs R version 4.1.0, with the `{dplyr}` diff --git a/README.md b/README.md index 20f59b41..cbf50309 100644 --- a/README.md +++ b/README.md @@ -87,7 +87,7 @@ arguments: For example: ``` r -rix(r_ver = "current", pkgs = c("dplyr", "chronicler"), ide = "rstudio") +rix(r_ver = "current", r_pkgs = c("dplyr", "chronicler"), ide = "rstudio") ``` The call above writes a `default.nix` file in the current working @@ -102,7 +102,7 @@ This is not the case for other IDEs such as VS code or Emacs. Another example: ``` r -rix(r_ver = "4.1.0", pkgs = c("dplyr", "chronicler"), ide = "code") +rix(r_ver = "4.1.0", r_pkgs = c("dplyr", "chronicler"), ide = "code") ``` This call will generate a `default.nix` that installs R version 4.1.0,