Skip to content
This repository has been archived by the owner on Nov 8, 2023. It is now read-only.

Commit

Permalink
Keep styler happy
Browse files Browse the repository at this point in the history
  • Loading branch information
georgestagg committed Oct 30, 2023
1 parent 89e41df commit fb3f43a
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 5 deletions.
6 changes: 4 additions & 2 deletions R/lib.R
Original file line number Diff line number Diff line change
Expand Up @@ -105,8 +105,10 @@ make_vfs_repo <- function(repo_dir = "./repo") {
#' @inheritDotParams make_library strip
#'
#' @export
make_vfs_library <- function(out_dir = "./vfs", out_name = "library.data",
repo_dir = "./repo", ...) {
make_vfs_library <- function(out_dir = "./vfs",
out_name = "library.data",
repo_dir = "./repo",
...) {
lib_dir <- fs::path(tempfile())
lib_abs <- fs::path_abs(lib_dir)
on.exit(unlink(lib_dir, recursive = TRUE), add = TRUE)
Expand Down
8 changes: 6 additions & 2 deletions R/repo.R
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,9 @@ add_list <- function(list_file, ...) {
#' @importFrom dplyr rows_update select
#' @importFrom pkgdepends new_pkg_download_proposal
#' @export
add_pkg <- function(packages, remotes = NULL, repo_dir = "./repo",
add_pkg <- function(packages,
remotes = NULL,
repo_dir = "./repo",
dependencies = NA) {
# Set up pkgdepends configuration
config <- ppm_config
Expand Down Expand Up @@ -179,7 +181,9 @@ make_remote_tarball <- function(pkg, url, target, contrib_src) {

# Build packages and update a CRAN-like repo on disk
#' @importFrom rlang .data
update_repo <- function(package_info, remotes = NULL, repo_dir = "./repo") {
update_repo <- function(package_info,
remotes = NULL,
repo_dir = "./repo") {
r_version <- R_system_version(getOption("rwasm.webr_version"))

writeLines(sprintf("Processing %d package(s).", nrow(package_info)))
Expand Down
9 changes: 8 additions & 1 deletion man/rwasm-package.Rd

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

0 comments on commit fb3f43a

Please sign in to comment.