diff --git a/R/find_rev.R b/R/find_rev.R index 1dc29e50..987ad6bd 100644 --- a/R/find_rev.R +++ b/R/find_rev.R @@ -1109,7 +1109,6 @@ nix_rprofile <- function() { #' @param message_type String how detailed output is. Currently, there is #' either `"simple"` (default) or `"verbose"`, which shows the script that runs #' via `nix-shell`. -#' @inheritParams nix_build #' @return #' @importFrom codetools findGlobals checkUsage #' @export @@ -1159,11 +1158,11 @@ nix_rprofile <- function() { #' project_path = ".", #' message_type = "simple" #' ) -#' } #' #' ## You can also use packages, which will be exported to the nix-R session #' ## running through `nix-shell` environment -#' R 4.2.2 +#' R 4.2.2 +#' } with_nix <- function(expr, program = c("R", "shell"), exec_mode = c("blocking", "non-blocking"), diff --git a/dev/build_envs.Rmd b/dev/build_envs.Rmd index 88ff1b6c..5e57a467 100644 --- a/dev/build_envs.Rmd +++ b/dev/build_envs.Rmd @@ -1213,7 +1213,6 @@ environment. #' @param message_type String how detailed output is. Currently, there is #' either `"simple"` (default) or `"verbose"`, which shows the script that runs #' via `nix-shell`. -#' @inheritParams nix_build #' @return #' @importFrom codetools findGlobals checkUsage #' @export @@ -1263,11 +1262,11 @@ environment. #' project_path = ".", #' message_type = "simple" #' ) -#' } #' -#' ## You can also use packages, which will be exported to the nix-R session +#' #' ## You can also use packages, which will be exported to the nix-R session #' ## running through `nix-shell` environment -#' R 4.2.2 +#' R 4.2.2 +#' } with_nix <- function(expr, program = c("R", "shell"), exec_mode = c("blocking", "non-blocking"), diff --git a/man/with_nix.Rd b/man/with_nix.Rd index 334c215f..a1c08c85 100644 --- a/man/with_nix.Rd +++ b/man/with_nix.Rd @@ -160,9 +160,9 @@ out <- with_nix( project_path = ".", message_type = "simple" ) -} ## You can also use packages, which will be exported to the nix-R session ## running through `nix-shell` environment -R 4.2.2 +R 4.2.2 +} }