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

Use {globals} hint to load tmc on test-examples #1119

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

averissimo
Copy link
Contributor

@averissimo averissimo commented Apr 17, 2024

Pull Request

Fixes #nnn

WIP

Changes description

  • Inject an object of {tmc} in server code instead of pkgload::load_all or library
    • Using pkgload exposes a bug with system.file function that is not shimmed (see ?pkgload::system.file)
    • shinytest2 use globals to search for packages in server code of shiny app to determine which packages to load

@averissimo averissimo marked this pull request as draft April 17, 2024 10:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant