Skip to content

Commit

Permalink
prepare for CRAN release
Browse files Browse the repository at this point in the history
  • Loading branch information
DivadNojnarg committed Feb 6, 2019
1 parent 8d0c020 commit 7b20f5b
Show file tree
Hide file tree
Showing 12 changed files with 315 additions and 11 deletions.
1 change: 1 addition & 0 deletions DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ Description: R interface to the tabler Bootstrap 4 HTML template.
URL: https://rinterface.github.io/tablerDash/, https://github.com/RinteRface/tablerDash/
BugReports: https://github.com/RinteRface/tablerDash/issues
Imports: shiny, htmltools, knitr
Suggests: shinyWidgets, shinyEffects, echarts4r
License: GPL (>= 2)
Encoding: UTF-8
LazyData: true
Expand Down
1 change: 1 addition & 0 deletions NAMESPACE
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ export(tablerBlogCard)
export(tablerCard)
export(tablerDashBody)
export(tablerDashFooter)
export(tablerDashGallery)
export(tablerDashNav)
export(tablerDashPage)
export(tablerDropdown)
Expand Down
29 changes: 29 additions & 0 deletions R/gallery.R
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
#' @title Launch the tablerDash Gallery
#'
#' @description A gallery of all components available in tablerDash.
#'
#' @export
#'
#' @examples
#'
#' if (interactive()) {
#'
#' tablerDashGallery()
#'
#' }
tablerDashGallery <- function() { # nocov start
if (!requireNamespace(package = "shinyWidgets"))
message("Package 'shinyWidgets' is required to run this function")
if (!requireNamespace(package = "shinyEffects"))
message("Package 'shinyEffects' is required to run this function")
if (!requireNamespace(package = "echarts4r"))
message("Package 'echarts4r' is required to run this function")

shiny::shinyAppFile(
system.file(
"examples/tabs/app.R",
package = 'tablerDash',
mustWork = TRUE
)
)
}
26 changes: 23 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,23 @@
[![Travis build status](https://travis-ci.org/RinteRface/tablerDash.svg?branch=master)](https://travis-ci.org/RinteRface/tablerDash)
[![CRAN status](https://www.r-pkg.org/badges/version/tablerDash)](https://cran.r-project.org/package=tablerDash)

> tabler dashboard template for shiny
> tabler dashboard template for shiny with Bootstrap 4
See [https://tabler.io](https://tabler.io) for the original template.

# Preview
## Installation

A current running demo is available [here](http://www.rinterface.com/shiny/tablerDash/)
This package is not on CRAN:

```r
# latest devel version
devtools::install_github("RinteRface/tablerDash")
```

## Demo

### shiny server
A current demo running on shiny server open source is available [here](http://www.rinterface.com/shiny/tablerDash/)

<br>

Expand All @@ -20,3 +30,13 @@ A current running demo is available [here](http://www.rinterface.com/shiny/table
</div>

<br>

### shinyapps.io, shiny-server pro and RStudio Connect
tablerDash works on all the professional RStudio products:
- [on shinyapps.io](https://dgranjon.shinyapps.io/tablerDashDemo/)
- [on RStudio Connect](http://130.60.24.205:3939/tablerDashDemo/)


## Issues

Issues are listed [here](https://github.com/RinteRface/tablerDash/issues).
5 changes: 5 additions & 0 deletions _pkgdown.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,11 @@ reference:
- '`tablerTimeline`'
- '`tablerTimelineItem`'

- title: Gallery
desc: tablerDash showcase
contents:
- '`tablerDashGallery`'

template:
params:
bootswatch: journal
Expand Down
40 changes: 32 additions & 8 deletions docs/index.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

15 changes: 15 additions & 0 deletions docs/reference/index.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

166 changes: 166 additions & 0 deletions docs/reference/tablerDashGallery.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

File renamed without changes.
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
name: tablerdashdemo
title: tablerDashDemo
username: divadnojnarg
account: divadnojnarg
server: 130.60.24.205
hostUrl: http://130.60.24.205:3939/__api__
appId: 4
bundleId: 21
url: http://130.60.24.205:3939/content/4/
when: 1549454616.05144
asMultiple: FALSE
asStatic: FALSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
name: tablerDashDemo
title: tablerDashDemo
username:
account: dgranjon
server: shinyapps.io
hostUrl: https://api.shinyapps.io/v1
appId: 694065
bundleId: 1859334
url: https://dgranjon.shinyapps.io/tablerDashDemo/
when: 1549454140.1919
asMultiple: FALSE
asStatic: FALSE
Loading

0 comments on commit 7b20f5b

Please sign in to comment.