-
Notifications
You must be signed in to change notification settings - Fork 132
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
Calling data in ui.R saved in data-raw #127
Comments
Hi, the
Regards |
Just as any package the As far as I see it if you need something accessible in your UI, you should:
Does it do what you need? Let me know if you need a more detailed example |
Hi Vincent and Colin - Dilsher |
Ok so I thought this through and realized it's way easier than that with the way You just have to:
|
Have you worked on that? Do you need any more info? Don't hesitate to close the issue if everything is ok :) |
Sorry! Yes it worked - thank you so much for this package! |
@ColinFay I'm having troubles with this in a dockerized golem app. Everything works well when I install or test locally the app, but when running a docker container, I keep having:
As suggested here, I called explicitly the data set using mypackage::mydataset, but the error remains. I also tested your suggestions but did not resolve the issue either. Do you have any idea of what can be happening? Many thanks in advance! |
I'm trying to develop a simple app that takes in a pre-trained model(*.RDS), and given the input by user, outputs predictions. <30 lines of code.
I now want to package this up in an app, and eventually docker + shinyproxy.
My question is -
What path do I use to call the model in my ui.R file, if I keep my data in the
data-raw
folder?This is what I'm using but when I run it, it says model_1 not found.
How do I ensure my relative path when reading in the model object in ui.R calls in the model?
The text was updated successfully, but these errors were encountered: