r-universe-org / help

Support and bug tracker for R-universe
https://docs.r-universe.dev/
8 stars 2 forks source link

R CMD check returns a different numbers of NOTE #120

Open ThierryO opened 2 years ago

ThierryO commented 2 years ago

checklist performs a suite of checks on R packages. check_package() fails when R CMD Check returns a NOTE. Unless the maintainer allowed the NOTE via write_checklist().

Its unit tests performs those checks on a dummy package. The dummy package yields two NOTE on every OS on my GHA. Only on the r-universe macOS is yields only one NOTE (two NOTE on Linux and Windows), making two unit tests fail (unallowed NOTE and allowed NOTE).

ThierryO commented 2 years ago

What is the name of the default branch of a git repo on the macOS image that R-universe uses? check_package() generates a NOTE when main branch is called master (the usual default) instead of ´main´. Maybe the macOS uses main as default, not yielding the expected NOTE.