[R] Checking a function for undeclared variables
Peter Langfelder
peter@|@ng|e|der @end|ng |rom gm@||@com
Wed Apr 6 05:53:53 CEST 2022
Thanks!
Peter
On Tue, Apr 5, 2022 at 6:01 PM Jeff Newmiller <jdnewmil using dcn.davis.ca.us> wrote:
>
> ?codetools::findGlobals
>
> On April 5, 2022 5:36:54 PM PDT, Peter Langfelder <peter.langfelder using 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 using 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.
More information about the R-help
mailing list