Skip to content

Commit 7102b66

Browse files
committed
Tweak to displayed package version at startup to retain hyphen
1 parent adc4633 commit 7102b66

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

R/init.R

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,8 @@
3232

3333
.onAttach <- function(libname, pkgname) {
3434
if (interactive()) {
35-
packageStartupMessage("RcppArmadillo ", packageVersion("RcppArmadillo"),
35+
packageStartupMessage("RcppArmadillo ",
36+
packageDescription("RcppArmadillo", fields="Version"),
3637
" using ", .pkgenv[["omp_threads"]], " cores. See ",
3738
"'help(\"RcppArmadillo-package\")' for details.")
3839
}

0 commit comments

Comments
 (0)