-
Notifications
You must be signed in to change notification settings - Fork 0
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
make data available #19
Comments
ok, I think the problem is that by default behavior, data is available only when the package is loaded (i.e. |
Would `golem::add_dockerfile()` help?
https://engineering-shiny.org/deploy-golem.html
…On Tue, 15 Sep 2020 at 16:17, Max Held ***@***.***> wrote:
ok, I think the problem is that by default behavior, data is available
only when the package is loaded (i.e. library()ed).
Without this, the data might need a data() wrapper.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<https://github.com/subugoe/oauni_10_18/issues/24#issuecomment-692745313>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAM7YRTFFSBABCW3FPCX4I3SF5ZQNANCNFSM4RNFY2FA>
.
|
I also forgot to add this file
https://github.com/subugoe/oauni_10_18/blob/master/app.R
…On Tue, 15 Sep 2020 at 17:23, Najko Jahn ***@***.***> wrote:
Would `golem::add_dockerfile()` help?
https://engineering-shiny.org/deploy-golem.html
On Tue, 15 Sep 2020 at 16:17, Max Held ***@***.***> wrote:
> ok, I think the problem is that by default behavior, data is available
> only when the package is loaded (i.e. library()ed).
> Without this, the data might need a data() wrapper.
>
> —
> You are receiving this because you are subscribed to this thread.
> Reply to this email directly, view it on GitHub
> <https://github.com/subugoe/oauni_10_18/issues/24#issuecomment-692745313>,
> or unsubscribe
> <https://github.com/notifications/unsubscribe-auth/AAM7YRTFFSBABCW3FPCX4I3SF5ZQNANCNFSM4RNFY2FA>
> .
>
|
this can be reproduced in a fresh session thus (from this branch): devtools::install()
oadash::run_app() calling devtools::install()
library(oadash)
oadash::run_app() I think I'm gonna go with that hack in the My hypothesis is that it's a collation order issue, though I couldn't find anything on it. Strewing in |
I don't think this is a golem issue, and I've now isolated it out of docker, so it's not even a docker image. |
no problem I'll merge it in! |
Agreed, the data are not documented, yet
…On Tue, 15 Sep 2020 at 17:38, Max Held ***@***.***> wrote:
Would golem::add_dockerfile() help? https://engineering-shiny.org/deploy-golem.html
I don't think this is a golem issue, and I've now isolated it out of docker, so it's not even a docker image.
I think I have a hack for now, will get back to this later.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
looks like this might be a golem problem after all: ThinkR-open/golem#413 |
this one is a bit of a doozy 🙃 I've now given up, and deployed to shinyapps.io (again 😕) for now, until #14. I do not have a definitive idea of what's going on, but ThinkR-open/golem#413 looks conspicuously similar. I have tried, all to no avail:
Always, Warning: Error in : 'oa_shares_inst_sector' is not an exported object from 'namespace:oadash'
101: stop
100: getExportedValue
99: ::
70: ui [/app/R/app_ui.R#10] Even though clearly, the object was an exported object when tested interactively. I have two broad hypothesis:
Anyway, unless I magically stumble across the solution, I would not investigate this further. Given the other needs for a relaunch, and especially #12, this might not be worth it. So I might not actually fix this. |
the objects in data are currently not available on a system, if the package is
devtools::install()
ed, and also not during testing.It appears that the data is only available as exported objects after
devtools::load_all()
.So that appears to be a reproducibility bug.
Because a docker image, and by extension Azure requires a properly installed and working package, this currently makes it impossible to deploy the app.
The text was updated successfully, but these errors were encountered: