Skip to content
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

Issue 76 #110

Merged
merged 17 commits into from
Oct 3, 2024
Merged

Issue 76 #110

merged 17 commits into from
Oct 3, 2024

Conversation

cecicampanile
Copy link
Contributor

Solves #76
Created function detectPackages for identifying packages used for server and ui and defining them in global.R

server_libraries <- detectPackages(server)
global_libraries <- detectPackages(omopViewerGlobal)
merged_statements <- c(ui_libraries, server_libraries, global_libraries, omopViewerGlobal)
global <- c(messageShiny(), unique(merged_statements, fromLast = TRUE))
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why is fromLast = FALSE needed?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

just to leave the empty line "" at the end of the list of libraries

@catalamarti catalamarti linked an issue Oct 2, 2024 that may be closed by this pull request
@catalamarti catalamarti merged commit e3bd2f1 into main Oct 3, 2024
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

add at the beginning of global the libraries that are needed
2 participants