Skip to content

Commit 38a91a5

Browse files
committed
init app structure
1 parent 5710c60 commit 38a91a5

File tree

7 files changed

+55
-0
lines changed

7 files changed

+55
-0
lines changed

shiny-accordion/R/accordion.R

Whitespace-only changes.

shiny-accordion/README.md

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
<!-- badges: start -->
2+
![version](https://img.shields.io/badge/dynamic/json?color=2d7ddd&label=version&query=version&url=https%3A%2F%2Fraw.githubusercontent.com%2Fdavidruvolo51%2FshinyAppTutorials%2Fmain%2Fshiny-accordion%2Fpackage.json)
3+
![status](https://img.shields.io/badge/dynamic/json?color=success&label=status&query=status&url=https%3A%2F%2Fraw.githubusercontent.com%2Fdavidruvolo51%2FshinyAppTutorials%2Fmain%2Fshiny-accordion%2Fpackage.json)
4+
<!-- badges: end -->
5+
6+
# Shiny Accordion
7+
8+
A shiny component for collapsing HTML elements.
9+
10+
## Getting Started
11+
12+
You can run this app locally using the following methods: running within your R environment or cloning this subdirectory.
13+
14+
### Running in your R environment
15+
16+
You can run this app within your R environment using the `runGithub` function. Enter the following command in the console.
17+
18+
```r
19+
shiny::runGitHub(username = "davidruvolo51", repo = "shinyAppTutorials", subdir = "shiny-accordion")
20+
```
21+
22+
### Cloning the subdirectory
23+
24+
You can clone the data editor subdirectory using `git sparse-checkout`.
25+
26+
```bash
27+
git clone --filter=blob:none --sparse https://github.com/davidruvolo51/
28+
shinyAppTutorials
29+
cd shinyAppTutorials
30+
git sparse-checkout init --cone
31+
git sparse-checkout set shiny-accordion
32+
```
33+
34+
Then you can run the shiny app in your preferred R environment.

shiny-accordion/app.R

Whitespace-only changes.

shiny-accordion/package.json

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
{
2+
"name": "shiny-accordion",
3+
"version": "0.9.0",
4+
"description": "A component for collapsing HTML elements",
5+
"author": "@dcruvolo",
6+
"status": "active",
7+
"repository": {
8+
"type": "git",
9+
"url": "git+https://github.com/davidruvolo51/shinyAppTutorials.git"
10+
},
11+
"keywords": [
12+
"r",
13+
"shiny",
14+
"tutorials"
15+
],
16+
"license": "MIT",
17+
"bugs": {
18+
"url": "https://github.com/davidruvolo51/shinyAppTutorials/issues"
19+
},
20+
"homepage": "https://github.com/davidruvolo51/shinyAppTutorials"
21+
}

shiny-accordion/www/accordion.css

Whitespace-only changes.

shiny-accordion/www/accordion.js

Whitespace-only changes.

shiny-accordion/www/app.css

Whitespace-only changes.

0 commit comments

Comments
 (0)