Skip to content

Commit

Permalink
improve docs
Browse files Browse the repository at this point in the history
  • Loading branch information
philipp-baumann committed Jan 6, 2024
1 parent 0ad51f7 commit 6a11fb8
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 8 deletions.
3 changes: 1 addition & 2 deletions R/find_rev.R
Original file line number Diff line number Diff line change
Expand Up @@ -725,10 +725,9 @@ nix_build_exit_msg <- function(x) {
}


#' Evaluate expression in R or default shell
#' Evaluate expression in R or shell command via `nix-shell` environment
#'
#' @param expr Single R function or call, shell command, or list of them.
#' R expression
#' @param program String stating where to evaluate the expression. Either `"R"`,
#' the default, or `"shell"`. `where = "R"` will evaluate the expression via
#' `RScript` and `where = "shell"` will run in the standard shell.
Expand Down
3 changes: 1 addition & 2 deletions dev/build_envs.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -823,10 +823,9 @@ This function can evaluate an shell or R expression in Nix.

```{r, function-with-nix}
#' Evaluate expression in R or default shell
#' Evaluate expression in R or shell command via `nix-shell` environment
#'
#' @param expr Single R function or call, shell command, or list of them.
#' R expression
#' @param program String stating where to evaluate the expression. Either `"R"`,
#' the default, or `"shell"`. `where = "R"` will evaluate the expression via
#' `RScript` and `where = "shell"` will run in the standard shell.
Expand Down
7 changes: 3 additions & 4 deletions man/with_nix.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 6a11fb8

Please sign in to comment.