ThinkR-open / golem

A Framework for Building Robust Shiny Apps
https://thinkr-open.github.io/golem/
Other
908 stars 132 forks source link

How to manage R CMD check Note(s) #867

Closed JohnStaples closed 2 years ago

JohnStaples commented 2 years ago

For variable names within a function I use ‘mpg’ <- NULL. However, where within the golem framework should utils::globalVariables(‘mpg’) be called? Thank you.

VincentGuyader commented 2 years ago

Hi

Yes you have to use globalVariables()

You will like this : https://github.com/ThinkR-open/checkhelper

JohnStaples commented 2 years ago

Thank you Vincent ..

JohnStaples commented 2 years ago

Hi Vincent Many thanks for your reply; I thought you would have the problem covered …. For your interest I am using ‘golem’ for ‘Swine Research & Epidemiology’ ; it is building into a very complex app. I have mastered using R6 & gargoyle for module communication. Kind regards John Staples. UK.

Sent from my iPad

On 26 May 2022, at 22:28, vincent guyader @.***> wrote:

 Hi

Yes you have to use globalVariables()

You will like this : https://github.com/ThinkR-open/checkhelper

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.