?codetools::findGlobals
On April 5, 2022 5:36:54 PM PDT, Peter Langfelder <peter.langfelder at
gmail.com> wrote:>Hi all,
>
>I'd like to check a function for undeclared global variables using
>something similar to what R CMD check does when "checking R code for
>possible problems". My search came up empty but I hope there is way to
>do it without building a package just for this purpose, isn't there?
>
>Thanks!
>
>Peter
>
>______________________________________________
>R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see
>https://stat.ethz.ch/mailman/listinfo/r-help
>PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
>and provide commented, minimal, self-contained, reproducible code.
--
Sent from my phone. Please excuse my brevity.