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

Hadley Wickham h@w|ckh@m @end|ng |rom gm@||@com
Tue Sep 26 14:12:43 CEST 2023


On Tue, Sep 26, 2023 at 2:01 AM Leonard Mada via R-package-devel
<r-package-devel using r-project.org> wrote:
>
> 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.

This is just a template; you need to fill it out with the actual
results. (There's usually one note on first submission which is why we
use this as the default.)

Hadley

-- 
http://hadley.nz


More information about the R-package-devel mailing list