In preparation for submitting the package I have just finished to CRAN, I updated the R version I was using. I then installed all the more recent versions of the packages I was using, including roxygen2. Previously, as indicated in the title I was using 7.3.1.
Now, when running devtools::check(), I get the following:
══ Documenting ═══════════════════════════════════════════════════════════════════════════════════════════════════════════════
ℹ Installed roxygen2 version (7.3.2) doesn't match required (7.3.1)
✖ check() will not re-document this package