Re: [R-pkg-devel] Warnings and notes while building package with nimble

2025-04-07 Thread Uwe Ligges
On 05.04.2025 00:29, Halder,Aritra wrote: Hi, I am trying to submit a package to CRAN built using nimble. It generates warnings like so: Which package? : no visible global function definition for 'nimDim' and you have not forgot to import nlmDim()? Best, Uwe Ligges and fails a

Re: [R-pkg-devel] Warnings and notes while building package with nimble

2025-04-05 Thread Dirk Eddelbuettel
On 6 April 2025 at 01:25, Lluís Revilla wrote: | To solve it, it might be as simple as writing nimDim <- NULL inside your | package or there might be a real issue there. Or call utils::globalVariables(c("nimDim")) where, if needed, you could add to that argument vector any other variables listed

Re: [R-pkg-devel] Warnings and notes while building package with nimble

2025-04-05 Thread Lluís Revilla
Hi Aritra, It would be helpful if we can explore the package source code. It helps to provide a more accurate answer. But you will find some other cases on the archive of the mailing list with similar messages. The message indicates that the static code analyzer hasn't detected the definition of

[R-pkg-devel] Warnings and notes while building package with nimble

2025-04-05 Thread Halder,Aritra
Hi, I am trying to submit a package to CRAN built using nimble. It generates warnings like so: : no visible global function definition for 'nimDim' and fails automatic checks by CRAN. Any help is appreciated. Thanks and regards, Aritra [[alternative HTML version deleted]] _