diff --git a/R/find_rev.R b/R/find_rev.R index cf3c0061..7eef7099 100644 --- a/R/find_rev.R +++ b/R/find_rev.R @@ -725,7 +725,7 @@ nix_build_exit_msg <- function(x) { } -#' Evaluate expression in R or shell command via `nix-shell` environment +#' Evaluate function in R or shell command via `nix-shell` environment #' #' @param expr Single R function or call, shell command, or list of them. #' @param program String stating where to evaluate the expression. Either `"R"`, diff --git a/dev/build_envs.Rmd b/dev/build_envs.Rmd index 01c39378..e918f5c4 100644 --- a/dev/build_envs.Rmd +++ b/dev/build_envs.Rmd @@ -823,7 +823,7 @@ This function can evaluate an shell or R expression in Nix. ```{r, function-with-nix} -#' Evaluate expression in R or shell command via `nix-shell` environment +#' Evaluate function in R or shell command via `nix-shell` environment #' #' @param expr Single R function or call, shell command, or list of them. #' @param program String stating where to evaluate the expression. Either `"R"`, diff --git a/man/with_nix.Rd b/man/with_nix.Rd index 32a1a92b..eee31038 100644 --- a/man/with_nix.Rd +++ b/man/with_nix.Rd @@ -2,7 +2,7 @@ % Please edit documentation in R/find_rev.R \name{with_nix} \alias{with_nix} -\title{Evaluate expression in R or shell command via \code{nix-shell} environment} +\title{Evaluate function in R or shell command via \code{nix-shell} environment} \usage{ with_nix( expr, @@ -32,5 +32,5 @@ either \code{"simple"} (default) or \code{"verbose"}, which shows the script tha via \code{nix-shell}.} } \description{ -Evaluate expression in R or shell command via \code{nix-shell} environment +Evaluate function in R or shell command via \code{nix-shell} environment }