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

404 error when embedding Shiny app in a package #18

Open
bersbersbers opened this issue Jul 19, 2021 · 0 comments
Open

404 error when embedding Shiny app in a package #18

bersbersbers opened this issue Jul 19, 2021 · 0 comments

Comments

@bersbersbers
Copy link

R/bug.R:

ui <- shiny::fluidPage(
    shiny::titlePanel("Hello Shiny!"),
    shiny::mainPanel(),
    theme = shinythemes::shinytheme("flatly"),
)

server <- function(input, output) {}

#' @export
bug <- function() {
    shiny::runApp(shinyApp(ui, server))
}

DESCRIPTION:

Package: bug
Title: bug
Version: 0.0.0.0001
Encoding: UTF-8
RoxygenNote: 7.1.1

NAMESPACE:

# Generated by roxygen2: do not edit by hand

export(bug)

Repro steps:

R -e "devtools::install()"
R -e "bug::bug()"

Result:
image

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

No branches or pull requests

1 participant