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] [External] 'library' or 'require' call not declared

2025-02-06 Thread Richard M. Heiberger
Michael and Brian. thank you exactly correct. > On Feb 6, 2025, at 23:09, Michael Chirico wrote: > > 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 o

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

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

2025-02-06 Thread Richard M. Heiberger
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.g

Re: [R-pkg-devel] Additional issue clang-ASAN, gcc-ASAN

2025-02-06 Thread Zhian Kamvar
The new version of adegenet is on CRAN now. Thank you all for your help. I am curious: what happens with dartR.base? Will the removal notice go away in a few days? On Wed, Feb 5, 2025 at 00:44 Uwe Ligges wrote: > Great, thanks, > Uwe > > > On 05.02.2025 02:32, Zhian Kamvar wrote: > > Thank you,

Re: [R-pkg-devel] S3 generic/method consistency NOTE

2025-02-06 Thread Zhian Kamvar
This was the correct answer, thank you! On Thu, Feb 6, 2025 at 00:10 Ivan Krylov wrote: > В Wed, 5 Feb 2025 19:52:57 -0800 > Zhian Kamvar пишет: > > > Mismatches for methods registered for non-generic: > > is: > > function(object, class2) > > is.genind: > > function(x) > > > > i

Re: [R-pkg-devel] S3 generic/method consistency NOTE

2025-02-06 Thread Ivan Krylov via R-package-devel
В Wed, 5 Feb 2025 19:52:57 -0800 Zhian Kamvar пишет: > Mismatches for methods registered for non-generic: > is: > function(object, class2) > is.genind: > function(x) > > is: > function(object, class2) > is.genpop: > function(x) > > sample: > function(x, size, rep