[R-pkg-devel] Discrepancy between R CMD check results and usethis::use_cran_comments

Leonard Mada |eo@m@d@ @end|ng |rom @yon|c@eu
Tue Sep 26 09:01:21 CEST 2023


Dear List-Members,

There are no errors/warnings/notes when I run the check:

── R CMD check results 
──────────────────────────────────────────────────────── Rpdb 2.3.3 ────
Duration: 2m 50.1s

0 errors ✔ | 0 warnings ✔ | 0 notes ✔

However, there is a discrepancy when I run:
usethis::use_cran_comments(open = rlang::is_interactive())
=>
0 errors ✔ | 0 warnings ✔ | 1 note

For some reason, the file is saved with 1 note. The discrepancy remains 
even if I restart R, delete the old cran-comments.md file, and re-run 
the check.


By the way: what is the purpose of this cran-comments.md file? It does 
not seem to be included in the package archive?


Sincerely,


Leonard



More information about the R-package-devel mailing list