-
Notifications
You must be signed in to change notification settings - Fork 133
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Warning in devtools::check()
after using golem::use_utils_server()
#678
Comments
golem::use_utils_server()
devtools::check()
after using golem::use_utils_server()
Hey, Thanks for reporting that. Is this something you see systematically in your apps (i.e. every time you create a golem ?) or is it only this time? |
Hey Then to find the cause of the warning, I created a blank golem project and ran The problem is reproducible (well at least on my computer..):
|
Reprex :
This happens only with utils_server, but this doesn't make sense as there is no rlang there 🤔 |
Ah, I think I get it.
will take the body of the functions, so when the app compiles, it has |
Fixed via https://github.com/ThinkR-open/golem/pull/688/files Thanks again for your feedback! |
After using
golem::use_utils_server()
I get a warning when runningdevtools::check()
:It looks like
devtools::check()
doesn't like this line:golem/inst/utils/golem_utils_server.R
Line 62 in 6d9e451
If I change this line with
rv <- function(...) shiny::reactiveValues(...)
then the warning disappears.I don't really understand why this warning appears in the first place.
I am using R v4.0.2, golem v0.3.1 and devtools v2.4.1
The text was updated successfully, but these errors were encountered: