Skip to content

Commit

Permalink
remotes renamed inner functions
Browse files Browse the repository at this point in the history
  • Loading branch information
nuest committed Jun 25, 2021
1 parent e0e487f commit 09711d2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions R/dockerfile.R
Original file line number Diff line number Diff line change
Expand Up @@ -596,7 +596,7 @@ dockerfileFromDescription <- function(description,
pkgs <- c(description$get_field("Package"), pkgs)

# parse remotes with remotes internal functions
remote_pkgs <- remotes:::split_remotes(description$get_remotes())
remote_pkgs <- remotes:::split_extra_deps(description$get_remotes())

# add CRAN packages
pkgs_list <- lapply(pkgs, function(pkg) {
Expand All @@ -610,7 +610,7 @@ dockerfileFromDescription <- function(description,

# add remote packages
pkgs_list <- append(pkgs_list, lapply(remote_pkgs, function(remote) {
remote_pkg <- remotes:::parse_one_remote(remote)
remote_pkg <- remotes:::parse_one_extra(remote)
if (inherits(remote_pkg, "github_remote")) {
# assume package name == repo name !
name <- remote_pkg$repo
Expand Down

0 comments on commit 09711d2

Please sign in to comment.