From c18e5d65f60ee1095d5a2121a35b5b1681a8a8ba Mon Sep 17 00:00:00 2001 From: smeyer Date: Thu, 9 Jan 2025 14:43:35 +0000 Subject: [PATCH] log the package version to be installed git-svn-id: https://svn.r-project.org/R/trunk@87548 00db46b3-68df-0310-9c12-caf00c1e9a41 --- doc/NEWS.Rd | 2 +- src/library/tools/R/install.R | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/doc/NEWS.Rd b/doc/NEWS.Rd index f3da4a37ac..ff7b983f78 100644 --- a/doc/NEWS.Rd +++ b/doc/NEWS.Rd @@ -215,7 +215,7 @@ \subsection{PACKAGE INSTALLATION}{ \itemize{ - \item . + \item Source installs now report the package version in the log. } } diff --git a/src/library/tools/R/install.R b/src/library/tools/R/install.R index 7bf9c05f6c..b6889aaf3a 100644 --- a/src/library/tools/R/install.R +++ b/src/library/tools/R/install.R @@ -1019,6 +1019,11 @@ if(FALSE) { stars <- "**" + starsmsg(stars, + sprintf("this is package %s version %s", + sQuote(desc["Package"]), + sQuote(desc["Version"]))) + res <- checkMD5sums(pkg_name, getwd()) if(!is.na(res) && res) { starsmsg(stars,