On Fri, 21 Jul 2023 09:43:49 +0200
Johannes Ranke <johannes.ra...@jrwb.de> wrote:

> * checking for missing documentation entries ... WARNING
> Undocumented code objects:
>   '.__global__'
> 
> I don't understand where this code object '__global__' may come from.

It's an implementation detail of utils::globalVariables(). Normally, R
CMD check wouldn't complain about it, but because of exportPattern(".")
in your NAMESPACE it's exported, and thus considered to be a part of
your package's API, and thus required to be documented.

It may involve more typing, but export()ing individual functions will
prevent your package from exporting some other non-API object by
accident.

-- 
Best regards,
Ivan

______________________________________________
R-package-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-package-devel

Reply via email to