Repository navigation
Conversation
Co-authored-by: Copilot App <[email protected]>
Co-authored-by: Copilot App <[email protected]>
Co-authored-by: Copilot App <[email protected]>
Co-authored-by: Copilot App <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Improves the Shiny dev server served by
shiny/pc-up-r-shiny.runApp(launch.browser = <fn>)callsutils::browseURL()with the actual URL and writes it to$NULLKOMMA_PROCESSES/shiny/url. Shiny'sListening on …line shows the URL in the process log. The task sets a defaultR_BROWSER(open/xdg-open), because Nixpkgs' R leaves it empty.nix run .#shinydoes not open a browser.watcherpackage is added, as Shiny recommends for autoreload.readiness_probe(exec + curl against the recorded URL) shows Ready/NotReady in the TUI. A very highfailure_thresholdmakes the probe report status only; process-compose stops a process when the threshold is reached.tests/fixtures/r-shiny-hellocontains Shiny's Old Faithful example. The dev tasktry-shinyserves it from a scratch copy withpc-up-r-shinyso you can try it by hand.r-shinycheck now asserts the browser launch, the readiness probe passing and failing, and reload after an edit. A unit test evaluates the hello fixture.tasks allandnix flake checkpass on aarch64-darwin.