Skip to content

Commit

Permalink
1.0.4.89
Browse files Browse the repository at this point in the history
  • Loading branch information
“rafal.urn” committed Aug 22, 2024
1 parent 11c26c5 commit 4941991
Show file tree
Hide file tree
Showing 11 changed files with 50 additions and 54 deletions.
4 changes: 2 additions & 2 deletions ShinyWizard/DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Package: ShinyWizard
Title: ShinyWizard - an interactive presentation of any R package
Version: 1.0.3.36
Title: An Interactive Presentation of any R Package
Version: 1.0.4.89
Authors@R:
person("Rafal", "Urniaz", , "rafal.urniaz@cantab.net", role = c("aut", "cre"),
comment = c(ORCID = "0000-0003-0192-2165"))
Expand Down
21 changes: 17 additions & 4 deletions ShinyWizard/R/RunShinyWizzard.R
Original file line number Diff line number Diff line change
@@ -1,7 +1,20 @@
#' Run ShinyWizard app
#'
#' @param loc directory to external tabs, project zip file, when NULL run builder
#' @param devMode when TRUE the developer mode is used. It means all tasks run by separate background jobs thus console is not blocked. It works by R Studio API so works only in R studio. It is mode only for development facilitate. Should not be used for production.
#' @title Run ShinyWizard builder or project app
#'
#' @description
#' Function executes ShinyWizard builder or project when project zip file location is provided.
#'
#' @param loc external directory to project zip file, when NULL runs builder
#' @param devMode when TRUE the developer mode is used. It means all tasks run by separate background jobs thus the console is not blocked. It works by R Studio API so works only with R studio. It is mode only for development facilitate. Should not be used for production.
#'
#' @examples
#'
#' \dontrun{
#' # Run to execute ShinyWizard builder
#' RunShinyWizard()
#'
#' # Run to execute saved project as zip file
#' RunShinyWizard("Path-to-project-file")
#' }
#'
#' @export

Expand Down
14 changes: 0 additions & 14 deletions ShinyWizard/R/ShinyWizzardIncludeCSSAndTheme.R

This file was deleted.

12 changes: 6 additions & 6 deletions ShinyWizard/R/ShinyWizzardTheme.R
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
#' ShinyWizzardTheme
#' @title ShinyWizzard themes
#'
#' @description
#' Return dir / show available ShinyWizard templates
#' Load one of available themes for ShinyWizard project
#'
#' @param name the theme name to be applied. None argument provided returns all available themes.
#' @param name theme name to be applied. No argument returns all available themes.
#'
# @export

Expand All @@ -23,10 +23,10 @@ ShinyWizzardTheme <- function(name = ""){
}
}

#' ShinyWizzardThemeSelector
#' ShinyWizzard themes selector
#'
#' @description
#' Shiny selector for themes, generate the code
#' Shiny selector for themes. It returns a shiny ui code.
#'
#' @export

Expand Down Expand Up @@ -69,7 +69,7 @@ ShinyWizzardThemeSelector <- function() {

}

#' allThemes
#' @title All available themes
#'
#' @description
#' List all available themes
Expand Down
4 changes: 2 additions & 2 deletions ShinyWizard/inst/source/config.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# --- App Titles ---
AppTitle: Shiny Wizard App # when "" is not displayed !!!
AppSubTitle: Shiny Wizard App # when "" is not displayed !!!
AppTitle: Shiny Wizard # when "" is not displayed !!!
AppSubTitle: 'NULL' # when "" is not displayed !!!
# --- CSS style ---
ShinyWizzardTheme: flatly
# --- Logo ---
Expand Down
4 changes: 2 additions & 2 deletions ShinyWizard/inst/source/core/ui/GenTitlePanel.R
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
#' Generate Title Panel

GenTitlePanel <- function(){
titlePanel(windowTitle = if (config$AppTitle != ""){ config$AppTitle }else{ "ShinyWizard" },
titlePanel(windowTitle = config$AppTitle,
fluidRow(
column(11,
tags$div(id = "AppTitle", config$AppTitle),
tags$h5(id = "AppSubTitle", config$AppSubTitle)),
tags$h5(id = "AppSubTitle", if (config$AppSubTitle == 'NULL'){paste("Version", packageVersion('ShinyWizard'))}else{config$AppSubTitl}) ),
column(1,
img(id ="LogoFilePath", style="height: 60px; wigth:60px; float:right; vertical-align:middle", src = config$LogoFilePath))
))
Expand Down
19 changes: 15 additions & 4 deletions ShinyWizard/man/RunShinyWizard.Rd

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

14 changes: 0 additions & 14 deletions ShinyWizard/man/ShinyWizzardIncludeCSSAndTheme.Rd

This file was deleted.

6 changes: 3 additions & 3 deletions ShinyWizard/man/ShinyWizzardTheme.Rd

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

4 changes: 2 additions & 2 deletions ShinyWizard/man/ShinyWizzardThemeSelector.Rd

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

2 changes: 1 addition & 1 deletion ShinyWizard/man/allThemes.Rd

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

0 comments on commit 4941991

Please sign in to comment.