Skip to content

Commit

Permalink
note library when warning about missing DESCRIPTION
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinushey committed Aug 22, 2019
1 parent 49103fb commit 42bcb8d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Package: renv
Type: Package
Title: Project Environments for R
Version: 0.6.0-136
Version: 0.6.0-137
Authors@R: c(
person("Kevin", "Ushey", role = c("aut", "cre"), email = "[email protected]"),
person("RStudio", role = c("cph"))
Expand Down
5 changes: 4 additions & 1 deletion R/snapshot.R
Original file line number Diff line number Diff line change
Expand Up @@ -404,7 +404,10 @@ renv_snapshot_r_library_diagnose_missing_description <- function(library, pkgs)
renv_pretty_print(
basename(pkgs[missing]),
"The following package(s) are missing DESCRIPTION files:",
"Consider removing or re-installing these packages.",
c(
"Consider removing or re-installing these packages.",
paste("Library:", shQuote(aliased_path(library), type = "cmd"))
),
wrap = FALSE
)

Expand Down

0 comments on commit 42bcb8d

Please sign in to comment.