Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

A minimalistic router for your Shiny apps.

License

NotificationsYou must be signed in to change notification settings

Appsilon/shiny.router

A minimalistic router for your Shiny apps.

R-CMD-checkcodecovcranlogstotal

Now it's possible to recreate a state of your app, by providing a specific URL, like:

router_ui(  route("<your_app_url>/main",mainPageShinyUI),  route("<your_app_url>/other",otherPageShinyUI))

How to install?

It's possible to install this library through CRAN

install.packages("shiny.router")

The most recent version you can get from this repo usingremotes.

remotes::install_github("Appsilon/shiny.router")

How to use it?

Basic usage:

library(shiny)library(shiny.router)root_page<- div(h2("Root page"))other_page<- div(h3("Other page"))ui<- fluidPage(title="Router demo",  router_ui(    route("/",root_page),    route("other",other_page)  ))server<-function(input,output,session) {  router_server()}shinyApp(ui,server)

Checkthe tutorial for more details on how to start usingshiny.router.

Examples

An application that showcases theshiny.router features can be foundhere:

It was built using two other Appsilon Open Source packages:

  • rhino - an R package designed to help building high quality, enterprise-grade Shiny applications at speed.
  • shiny.fluent - Microsoft's Fluent UI for Shiny apps.

You can also visitexamples directory for some complete samples.

How to contribute?

If you want to contribute to this project please submit a regular PR, once you're done with new feature or bug fix.

Reporting a bug is also helpful - please useGitHub issues and describe your problem as detailed as possible.

Appsilon

Appsilon is aPosit (formerly RStudio) Full Service Certified Partner.
Learn more atappsilon.com.

Get in touchopensource@appsilon.com

Explore theRhinoverse - a family of R packages built aroundRhino!

We are hiring!

About

A minimalistic router for your Shiny apps.

Topics

Resources

License

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Packages

No packages published

Contributors17


[8]ページ先頭

©2009-2025 Movatter.jp