Skip to content

Commit b9ff989

Browse files
committed
Change the default value for install(upgrade)
Fixes #2345
1 parent 4025c04 commit b9ff989

4 files changed

Lines changed: 5 additions & 2 deletions

File tree

NEWS.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# devtools (development version)
22

3+
* `install(upgrade)` now defaults to 'default' rather than 'ask'. This allows you to control the default asking behavior with the `R_REMOTES_UPGRADE` environment variable (#2345)
4+
35
* `build_readme()` now uses the `path` argument, as designed (#2344)
46

57
* The RStudio addins now use `test_active_file()` and `test_coverage_active_file()` instead of the deprecated `test_file()` and `test_coverage_file()` (#2339)

R/install.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646
install <-
4747
function(pkg = ".", reload = TRUE, quick = FALSE, build = !quick,
4848
args = getOption("devtools.install.args"), quiet = FALSE,
49-
dependencies = NA, upgrade = "ask",
49+
dependencies = NA, upgrade = "default",
5050
build_vignettes = FALSE,
5151
keep_source = getOption("keep.source.pkgs"),
5252
force = FALSE,

inst/WORDLIST

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,7 @@ fieldnames
8686
focussed
8787
forkable
8888
forseeable
89+
funder
8990
fs
9091
gcc
9192
gists

man/install.Rd

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)