Skip to content

Commit

Permalink
d
Browse files Browse the repository at this point in the history
  • Loading branch information
“rafal.urn” committed Aug 17, 2024
1 parent f570176 commit 13aff51
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions inst/source/tabs/tab4/ui.R
Original file line number Diff line number Diff line change
Expand Up @@ -19,25 +19,26 @@ fluidPage(
downloadButton(ns("DownloadShinyWizardZIP"), "Download"),

HTML('<br /> <br /> Downloaded file can be simply deployed by,... '),

br(),
br(),
layout_columns(
col_width = 3,
card(
card_header(HTML("<b>Running in terminal</b>")),
HTML(
'<br />Open text editor, write command <code> ShinyWizard::RunShinyWizard(&#60;Path to downloaded zip file&#62;)</code><br /> save file as <code>run.R</code> and run from console by command<br /> <code>Rscript run.R</code>'
'<br />Open text editor, write command <code> ShinyWizard::RunShinyWizard(&#60;Path to downloaded file&#62;)</code><br /> save file as <code>run.R</code> and run from console by command<br /> <code>Rscript run.R</code>'
)
),
card(
card_header(HTML("<b>Running in R studio console</b>")),
HTML(
'Open R studio, write command to console <br /><br /><code> ShinyWizard::RunShinyWizard(&#60;Path to downloaded zip file&#62;)</code><br /><br /> and click enter.'
'Open R studio, write command to console <br /><br /><code> ShinyWizard::RunShinyWizard(&#60;Path to downloaded file&#62;)</code><br /><br /> and click enter.'
)
),
card(
card_header("Adding to your package"),
HTML(
'Copy downloaded zip file to the <code>inst/</code> folder of your package and add the command to your package<br /> <br /><code>ShinyWizard::RunShinyWizard(paste0(system.file(package = "&#60;name of your package&#62;"), &#60;downloaded zip filename&#62;)</code>'
'Copy downloaded zip file to the <code>inst/</code> folder of your package and add the command to your package<br /> <br /><code>ShinyWizard::RunShinyWizard(paste0(system.file(package = "&#60;Your package name&#62;"), &#60;downloaded file name&#62;)</code>'
)
)
)
Expand Down

0 comments on commit 13aff51

Please sign in to comment.