Skip to content

Commit

Permalink
Added test app
Browse files Browse the repository at this point in the history
  • Loading branch information
Gammerdinger committed Jul 23, 2024
1 parent 829068a commit f03e984
Show file tree
Hide file tree
Showing 209 changed files with 454,766 additions and 1 deletion.
Binary file modified IntroR/img/Complete_wd_setup.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified IntroR/img/Console.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified IntroR/img/Script_editor_output.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/.DS_Store
Binary file not shown.
1 change: 0 additions & 1 deletion docs/placeholder.md

This file was deleted.

Binary file added docs/site/.DS_Store
Binary file not shown.
1 change: 1 addition & 0 deletions docs/site/app.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
[{"name":"app.R","content":"library(shiny)\nlibrary(ggplot2)\nlibrary(DT)\nlibrary(shinythemes)\n\nui <- fluidPage(theme = shinytheme(\"cerulean\"),\n navbarPage(\"My iris dataset\",\n tabPanel(\"Inputs\",\n selectInput(\"x_axis_input\", \"Select x-axis\", choices = c(\"Sepal.Length\", \"Sepal.Width\", \"Petal.Length\", \"Petal.Width\")),\n selectInput(\"y_axis_input\", \"Select y-axis\", choices = c(\"Sepal.Length\", \"Sepal.Width\", \"Petal.Length\", \"Petal.Width\"))\n ),\n navbarMenu(\"Outputs\",\n tabPanel(\"Plot\",\n plotOutput(\"plot\")\n ),\n tabPanel(\"Table\",\n DTOutput(\"table\") \n )\n )\n )\n)\n\nserver <- function(input, output) {\n output$plot <- renderPlot({\n ggplot(iris) +\n geom_point(aes(x = .data[[input$x_axis_input]], y = .data[[input$y_axis_input]]))\n })\n output$table <- renderDT({\n iris[,c(input$x_axis_input, input$y_axis_input), drop = FALSE]\n })\n}\n\nshinyApp(ui = ui, server = server)","type":"text"}]
11 changes: 11 additions & 0 deletions docs/site/edit/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<!doctype html>
<html xmlns="http://www.w3.org/1999/xhtml" lang="en">
<head>
<title>Redirect to editable app</title>
<meta
http-equiv="refresh"
content="0;URL='../index.html?_shinylive-mode=editor-terminal-viewer'"
/>
</head>
<body></body>
</html>
28 changes: 28 additions & 0 deletions docs/site/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Shiny App</title>
<script
src="./shinylive/load-shinylive-sw.js"
type="module"
></script>
<script type="module">
import { runExportedApp } from "./shinylive/shinylive.js";
runExportedApp({
id: "root",
appEngine: "r",
relPath: "",
});
</script>
<link rel="stylesheet" href="./shinylive/style-resets.css" />
<link rel="stylesheet" href="./shinylive/shinylive.css" />

</head>
<body>

<div style="height: 100vh; width: 100vw" id="root"></div>

</body>
</html>
2,357 changes: 2,357 additions & 0 deletions docs/site/shinylive-sw.js

Large diffs are not rendered by default.

Binary file added docs/site/shinylive/.DS_Store
Binary file not shown.
Loading

0 comments on commit f03e984

Please sign in to comment.