Skip to content

Commit

Permalink
changed p_load_gh use of remotes package's upgrade from "always" to "…
Browse files Browse the repository at this point in the history
…never" as it was impeding workflow
  • Loading branch information
trinker committed Mar 22, 2019
1 parent e20832b commit fc09ccd
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Package: pacman
Type: Package
Title: Package Management Tool
Version: 0.5.2
Version: 0.5.3
Authors@R: c(person("Tyler", "Rinker", role = c("aut", "cre", "ctb"),
email = "[email protected]"), person("Dason",
"Kurkiewicz", role = c("aut", "ctb"), email =
Expand Down
2 changes: 1 addition & 1 deletion R/p_install_gh.R
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ p_install_gh <- function(package, dependencies = TRUE, ...){
## Download package
out <- lapply(package, function(x) {
tryCatch({
remotes::install_github(x, dependencies = dependencies, upgrade = 'always', ...)
remotes::install_github(x, dependencies = dependencies, upgrade = 'never', ...)
TRUE
},
error = function(e) {
Expand Down
8 changes: 4 additions & 4 deletions inst/CITATION
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@ citEntry(entry = "manual",
title = "{pacman}: {P}ackage Management for {R}",
author = "Tyler W. Rinker and Dason Kurkiewicz",
address = "Buffalo, New York",
note = "version 0.5.0",
year = "2018",
note = "version 0.5.3",
year = "2019",
url = "http://github.com/trinker/pacman",
textVersion = paste("Rinker, T. W. & Kurkiewicz, D. (2017).",
textVersion = paste("Rinker, T. W. & Kurkiewicz, D. (2019).",
"pacman: Package Management for R.",
"version 0.5.0. Buffalo, New York.",
"version 0.5.3. Buffalo, New York.",
"http://github.com/trinker/pacman")
)
2 changes: 1 addition & 1 deletion inst/build.R
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ pdf <- FALSE

unlink(paste0(pack, ".pdf"), recursive = TRUE, force = TRUE)
devtools::document()
devtools::install(quick = quick, build_vignettes = FALSE, dependencies = TRUE)
devtools::install(quick = quick, build_vignettes = FALSE, dependencies = TRUE, upgrade = 'never')

if(pdf){
path <- find.package(pack)
Expand Down

0 comments on commit fc09ccd

Please sign in to comment.