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

Lluís Revilla ||u|@@rev|||@ @end|ng |rom gm@||@com
Sun Apr 6 01:25:09 CEST 2025


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 the object but detected it is used.
This is often the case if you use subset, within or dplyr, ggplot2,
data.table or other packages that use delayed evaluation.
To solve it, it might be as simple as writing nimDim <- NULL inside your
package or there might be a real issue there.

Best,

Lluís

On Sat, 5 Apr 2025 at 18:25, Halder,Aritra <ah3758 using drexel.edu> wrote:

> 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]]
>
> ______________________________________________
> R-package-devel using r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-package-devel
>

	[[alternative HTML version deleted]]



More information about the R-package-devel mailing list