-
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
Support package data #219
Comments
Yep, it’s because of lazy loading, which works completely different from regular exports, and is currently not supported. It’s low priority but there should be a ticket to track it, so this is now it. |
Implemented now. To preview before the next release, install the dev build of ‘box’ via install.packages('box', repos = 'https://klmr.r-universe.dev') |
Hello, I'm encountering an issue where I'm able to load data in a Shiny app, but unable to do the same within a Shiny module. Here's a minimal working example: My main app:
And my table_module.R:
In the main app, I'm able to load the pathways.info dataset from the SBGNview package. However, when I try to load the data in the table_module, the data does not load.
Any ideas as to why this is happening and how I could fix it? |
I can’t reproduce this because I can’t install ‘SBGNview’ (in particular, its transitive dependency ‘Rgraphviz’ fails to compile). But there are a few issues with the second code you’ve posted that need to be fixed:
To summarise, the issue is three-fold:
This is unrelated to ‘box’, you’d have the same issue if you tried loading the package via |
Thanks a lot! Loading the data using |
It seems that box doesn't handle datasets exported from packages:
Perhaps the problem is lazy loading of data? This happens on other packages as well, e.g.
box::use(zipcodeR[zip_code_db])
.The text was updated successfully, but these errors were encountered: