We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8a392e4 commit 1c02b5dCopy full SHA for 1c02b5d
1 file changed
R/session-info.R
@@ -20,7 +20,9 @@ loaded_packages <- function() {
20
#' @export
21
#' @keywords internal
22
dev_packages <- function() {
23
- packages <- map_lgl(loadedNamespaces(), \(x) !is.null(pkgload::dev_meta(x)))
+ packages <- map_lgl(set_names(loadedNamespaces()), \(x) {
24
+ !is.null(pkgload::dev_meta(x))
25
+ })
26
27
names(packages)[packages]
28
}
0 commit comments