Undefined variables in modules
Opened this issue · 4 comments
Some modules use variables only defined in app/global.R
.
@nfrerebeau Do you get those errors when you build the package?
No, it's just a note when checking the package. There's no real rush to change this, but it seems to me that it would be more neat.
Thanks for the feedback. OK, this makes sense, although I don't know a 100% why it throws that error.
@nfrerebeau I also found the reason for that errors, and they are all related to the global (<<-
) assignment operators. Well, I guess to get rid of them, a little more work is needed. It worked nicely without a package, but within a package, this can lead to all kinds of problems. I do remember that was the reason why I never made the app part of RLumShiny. Anyway, it is doable. I was just too lazy.