Skip to content

Commit

Permalink
Set dependencies = FALSE as default in add_pkg()
Browse files Browse the repository at this point in the history
Closes #19. See r-wasm/actions#15 for discussion.
  • Loading branch information
georgestagg committed Feb 28, 2024
1 parent 7cd3bd1 commit a01c7e2
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions R/repo.R
Original file line number Diff line number Diff line change
Expand Up @@ -76,17 +76,16 @@ add_list <- function(list_file, ...) {
#' source. Defaults to `NA`, meaning prefer a built-in list of references to
#' packages pre-modified for use with webR.
#' @param dependencies Dependency specification for packages to additionally
#' add to the repository. Defaults to `NA`, meaning add only the required
#' dependencies. If `FALSE`, adds no additional packages. See
#' [pkgdepends::as_pkg_dependencies] for details.
#' add to the repository. Defaults to `FALSE`, meaning no additional packages.
#' See [pkgdepends::as_pkg_dependencies] for details.
#'
#' @importFrom dplyr rows_update select
#' @importFrom pkgdepends new_pkg_download_proposal
#' @export
add_pkg <- function(packages,
repo_dir = "./repo",
remotes = NA,
dependencies = NA) {
dependencies = FALSE) {
# Set up pkgdepends configuration
config <- ppm_config
config$dependencies <- dependencies
Expand Down

0 comments on commit a01c7e2

Please sign in to comment.