Skip to content

Commit

Permalink
amend 02973d2: coerce the version into character, otherwise c() will …
Browse files Browse the repository at this point in the history
…concatenate version numbers as a list
  • Loading branch information
yihui committed Jul 26, 2024
1 parent 1855c98 commit faad7a6
Show file tree
Hide file tree
Showing 2 changed files with 2 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: xfun
Type: Package
Title: Supporting Functions for Packages Maintained by 'Yihui Xie'
Version: 0.46.1
Version: 0.46.2
Authors@R: c(
person("Yihui", "Xie", role = c("aut", "cre", "cph"), email = "[email protected]", comment = c(ORCID = "0000-0003-0645-5666")),
person("Wush", "Wu", role = "ctb"),
Expand Down
2 changes: 1 addition & 1 deletion R/session.R
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ session_info = function(packages = NULL, dependencies = TRUE) {
res$running = paste(c(res$running, if (Sys.getenv('POSITRON') == '1') {
c(', Positron ', Sys.getenv('POSITRON_VERSION'))
} else if (loadable('rstudioapi') && rstudioapi::isAvailable()) {
c(', RStudio ', rstudioapi::getVersion())
c(', RStudio ', as.character(rstudioapi::getVersion()))
}), collapse = '')

tweak_info = function(obj, extra = NULL) {
Expand Down

0 comments on commit faad7a6

Please sign in to comment.