# View package info
pkg_info("glue")
# A package info object: glue package
# - Version: v1.7.0
# - Release Date: 2024-01-09
# - Title: Interpreted String Literals
# - Maintainer: Jennifer Bryan
# - License: MIT + file LICENSE
# - Description: An implementation of interpreted string literals, inspired by
# Python's Literal String Interpolation
# and Docstrings
# and Julia's Triple-Quoted
# String Literals
# .
# - Depends: R (>= 3.6)
# - Imports: methods
# - Suggests: crayon, DBI (>= 1.2.0), dplyr, knitr, magrittr, rlang,
# rmarkdown, RSQLite, testthat (>= 3.2.0), vctrs (>= 0.3.0),
# waldo (>= 0.3.0), withr
# - Downloads/Month: 1463244
# - Repository: CRAN
# - Cached: TRUE
# - Functions: 24
# Get info object
res <- pkg_info("glue")
# Extract package version
res$Version
# [1] "1.7.0"
# Extract maintainer
res$Maintainer
# [1] "Jennifer Bryan "
# Extract function list
res$Functions
# $`[.glue`
# [1] "x" "i" "..."
#
# $`[[.glue`
# [1] "x" "i" "..."
#
# $`+.glue`
# [1] "e1" "e2"
#
# $as.character.glue
# [1] "x" "..."
#
# $as_glue
# [1] "x" "..."
#
# $as_glue.character
# [1] "x" "..."
#
# $as_glue.default
# [1] "x" "..."
#
# $as_glue.glue
# [1] "x" "..."
#
# $backtick
# [1] "x"
#
# $double_quote
# [1] "x"
#
# $glue
# [1] "..." ".sep" ".envir"
# [4] ".open" ".close" ".na"
# [7] ".null" ".comment" ".literal"
# [10] ".transformer" ".trim"
# ...
Run the code above in your browser using DataLab