Skip to content

Commit

Permalink
refactor: remove dependency on pipe
Browse files Browse the repository at this point in the history
  • Loading branch information
luciorq committed Oct 21, 2024
1 parent b9042c8 commit 624cbb2
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 8 deletions.
6 changes: 2 additions & 4 deletions R/install_packages.R
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,7 @@ install_packages <- function(packages,
packages = NULL,
env_name = env_name,
verbose = verbose
) |>
invisible()
)
}
channels_arg <- format_channels_args(
additional_channels,
Expand All @@ -42,7 +41,6 @@ install_packages <- function(packages,
packages,
verbose = verbose
)
px_res$stdout |>
cat()
cat(px_res$stdout)
invisible(px_res$status)
}
4 changes: 2 additions & 2 deletions R/run.R
Original file line number Diff line number Diff line change
Expand Up @@ -45,10 +45,10 @@
#' run("ls", "-l")
#'
#' ## Run a command in a specific Conda environment
#' run("python script.py", env_name = "my-conda-env")
#' run("python", "script.py", env_name = "my-python-env")
#'
#' ## Run a command with additional arguments
#' run("my-command", "--arg1", "--arg2=value", env_name = "my-conda-env")
#' run("my-command", "--arg1", "--arg2=value", env_name = "my-python-env")
#' }
#' @seealso
#' \code{\link{install_micromamba}}, \code{\link{create_env}}
Expand Down
4 changes: 2 additions & 2 deletions man/run.Rd

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

0 comments on commit 624cbb2

Please sign in to comment.