Skip to content

Commit

Permalink
go to new API
Browse files Browse the repository at this point in the history
  • Loading branch information
Philipp Baumann committed Aug 3, 2023
1 parent 327ad0b commit e2b47d6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions README.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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}`
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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,
Expand Down

0 comments on commit e2b47d6

Please sign in to comment.