Skip to content

Commit

Permalink
use path_temp()
Browse files Browse the repository at this point in the history
  • Loading branch information
malcolmbarrett authored and jimhester committed Mar 26, 2021
1 parent 6ed7e49 commit d5901f8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/revdep.R
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ print.maintainers <- function(x, ...) {

cran_packages <- memoise::memoise(
function() {
local <- path(tempdir(), "packages.rds")
local <- path_temp("packages.rds")
utils::download.file("https://cran.R-project.org/web/packages/packages.rds", local,
mode = "wb", quiet = TRUE
)
Expand Down

0 comments on commit d5901f8

Please sign in to comment.