Re: [R-pkg-devel] 'library' or 'require' call not declared

2025-02-06 Thread Brian G. Peterson
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 +, Ri

Re: [R-pkg-devel] 'library' or 'require' call not declared

2025-02-06 Thread Michael Chirico
You haven't shared enough info to help well, but it looks like you use package MASS in your demo/ directory without a corresponding entry in your DESCRIPTION file. Add MASS as Suggests or Imports should be enough. If you point to where your code is on GitHub or another public-facing repository it