Add 'MASS' to either Suggests or Imports If you add it to Imports, you'll need to add the requisite function imports, but if the only place you use MASS is in 'demo' (maybe a more searchable name is in order here?), then 'Suggests' should be plenty.
Brian On Fri, 2025-02-07 at 03:57 +0000, Richard M. Heiberger wrote: > I don't understand what this message means > > Flavor: r-devel-linux-x86_64-debian-gcc > Check: for unstated dependencies in 'demo', Result: NOTE > 'library' or 'require' call not declared from: 'MASS' > > it is coming from HH_3.1-53.tar.gz that I sent in this evening. > It is also visible for HH_3.1-52.tar.gz on the CRAN package check > page > > ______________________________________________ > R-package-devel@r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-package-devel > ______________________________________________ R-package-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-package-devel