The goal of glossaries is to port glossary functionality from the LaTeX library glossaries to RMarkdown documents.
remotes::install_github("yonicd/glossaries")
See Vignette for basic usage.