Skip to content

Commit

Permalink
rm stale commented code
Browse files Browse the repository at this point in the history
  • Loading branch information
Eliot McIntire committed Aug 5, 2024
1 parent 80d5b5e commit b5a675e
Showing 1 changed file with 0 additions and 31 deletions.
31 changes: 0 additions & 31 deletions R/pkgDep3.R
Original file line number Diff line number Diff line change
Expand Up @@ -764,37 +764,6 @@ updateWithRemotesNamespaceAddRepos2 <- function(pkgDT, which, purge, includeBase
out1 <- out$lis
names(out1) <- out$packageFullName
return(out1)
# neededV <-
# try(DESCRIPTIONFileDepsV(pkgDT[["DESCFile"]], which = which, purge = purge))
# if (is(neededV, "try-error")) {
# unlink(pkgDT[["DESCFile"]])
# unlink(pkgDT$destFile)
# set(pkgDT, NULL, c("DESCFile", "destFile"), NULL)
# browserDeveloper(paste0("A problem occurred installing ", pkgDT$packageFullName, ". Does it exist?",
# "\nTo confirm whether it exists, try browsing to ",
# file.path("https://github.com", pkgDT$Account, pkgDT$Package, "tree", pkgDT$Branch),
# "\nIf it does exist, try rerunning with `purge = TRUE`",
# "\nIf this error is inaccurate, and the problem persists, ",
# "please contact developers with error code 949"))
# }
#
# neededAdditionalReposV <- DESCRIPTIONFileOtherV(pkgDT[["DESCFile"]], other = "Additional_repositories")
#
# neededRemotesV <-
# DESCRIPTIONFileDepsV(pkgDT[["DESCFile"]], which = "Remotes", purge = purge)
# names(neededV) <- pkgDT$packageFullName
#
# Map(
# needed = neededV, neededRemotes = neededRemotesV,
# localVersionOK = pkgDT$installedVersionOK,
# neededAdditionalRepos = neededAdditionalReposV,
# localPackageName = pkgDT$Package,
# packageFullName = pkgDT$packageFullName,
# sha = pkgDT$shas,
# MoreArgs = list(includeBase = includeBase, verbose = verbose,
# pkgDT = pkgDT),
# uwrnar
# )
}


Expand Down

0 comments on commit b5a675e

Please sign in to comment.