-
Notifications
You must be signed in to change notification settings - Fork 49
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
Can't use load_all(export_all = FALSE)
for dbplyr
#244
Comments
The problem is that the helper files are sourced (via I'm not sure how we could do better here. Perhaps we should source the helpers into the namespace rather than the package env? This means that from the perspective of devtools, testthat helpers would effectively be part of the namespace (and overwrite anything in there). However that still wouldn't interact well with Another way that might work would be to start the package env as a full clone of the namespace, and then remove non-exported bindings. But that would be kind of fiddly. We'd have to be able to distinguish between bindings added by helper files (that should be kept in) and the other non-exported bindings, both those created statically (in the Why do you need to use Or perhaps |
I don't need to use it directly, rather I wanted to execute |
Thanks for the context. It seems like changing the default to |
Not sure if this is a dbplyr or a pkgload issue. The variable
test_srcs
is defined inR/test-frame.R
Created on 2023-06-07 with reprex v2.0.2
The text was updated successfully, but these errors were encountered: