Creating citations for packages from R with `knitr` generates bib entries of the form:

```
@manual{R-knitr,
  type = {Manual},
  title = {Knitr: {{A}} General-Purpose Package for Dynamic Report Generation in r},
  author = {Xie, Yihui},
  year = {2020}
}
```

using: `knitr::write_bib(.packages(), "packages.bib")`, see https://bookdown.org/yihui/rmarkdown-cookbook/write-bib.html.
According to this: "There are two possible types of citation entries. One type is generated from the package’s DESCRIPTION file, and the other type is generated from the package’s CITATION file if provided. For the former type, the citation keys are of the form R-pkgname, where pkgname is the package name (e.g., R-knitr). For the latter type, the keys are created by concatenating the package name and the publication year (e.g., knitr2015)."

But it seems that bib-keys prefixed with `...-` can not be used in quarto, which excludes package citations for packages that don't contain a CITATION file but only a DESCRIPTION.

```
See @knuth84, See. @R-knitr
```

![image](https://user-images.githubusercontent.com/17450586/169685473-6f0ca3f3-30ec-4932-aa45-9fe17d143c1a.png)

Any citation key containing a dash is not recognized.
I assume quarto doesn't allow underscores here as to not clash with `fig-` `sec-` and the likes. Would it make sense to make an exception for `R-`?

dragonstyle
2022-05-22T08:42:08Z
jmbuhr
closed
R-package citations can not be found
https://github.com/quarto-dev/quarto-cli/issues/950