Skip to content

Commit

Permalink
Built site for gh-pages
Browse files Browse the repository at this point in the history
  • Loading branch information
Quarto GHA Workflow Runner committed Oct 16, 2024
1 parent f93e91a commit 91ca347
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 16 deletions.
2 changes: 1 addition & 1 deletion .nojekyll
Original file line number Diff line number Diff line change
@@ -1 +1 @@
5e213117
141c51a1
4 changes: 2 additions & 2 deletions exercise_2.html
Original file line number Diff line number Diff line change
Expand Up @@ -286,8 +286,8 @@ <h3 class="anchored" data-anchor-id="code">Code</h3>
<span id="cb1-73"><a href="#cb1-73" aria-hidden="true" tabindex="-1"></a> <span class="at">footer =</span> footer</span>
<span id="cb1-74"><a href="#cb1-74" aria-hidden="true" tabindex="-1"></a>)</span></code><button title="Copy to Clipboard" class="code-copy-button"><i class="bi"></i></button></pre></div>
<div class="cell-output cell-output-stdout">
<pre><code>[INFO] 2024-10-15 10:35:29.0897 pid:6001 token:[] teal.modules.general Initializing tm_front_page
[INFO] 2024-10-15 10:35:29.0927 pid:6001 token:[] teal.modules.general Initializing tm_data_table</code></pre>
<pre><code>[INFO] 2024-10-16 10:34:04.0940 pid:6126 token:[] teal.modules.general Initializing tm_front_page
[INFO] 2024-10-16 10:34:04.0969 pid:6126 token:[] teal.modules.general Initializing tm_data_table</code></pre>
</div>
<div class="sourceCode cell-code" id="cb3"><pre class="sourceCode r code-with-copy"><code class="sourceCode r"><span id="cb3-1"><a href="#cb3-1" aria-hidden="true" tabindex="-1"></a><span class="cf">if</span> (<span class="fu">Sys.getenv</span>(<span class="st">"QUARTO_ROOT"</span>) <span class="sc">==</span> <span class="st">""</span>) {</span>
<span id="cb3-2"><a href="#cb3-2" aria-hidden="true" tabindex="-1"></a> <span class="fu">shinyApp</span>(app<span class="sc">$</span>ui, app<span class="sc">$</span>server)</span>
Expand Down
2 changes: 1 addition & 1 deletion search.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
"href": "exercise_2.html",
"title": "Exercise 2",
"section": "",
"text": "Enhance your application with pre-built modules!\n\nuse teal.modules.general::tm_front_page() to create the first “welcome screen” of the application\nuse teal.modules.general::tm_data_table() to create a data previewer module\nuse teal.modules.clinical::tm_t_summary() to create a demographic summary table:\n\nplease read the documentation - especially arm_var and summarize_vars argument and what data type it takes\nuse both \"ARM\" and \"ARMCD\" as arm_var\nuse \"SEX\", \"AGE\" and \"RACE\" as summarize_vars\n\n\n\nCode\n\nlibrary(dplyr)\nlibrary(random.cdisc.data)\nlibrary(nestcolor)\nlibrary(teal.modules.general)\nlibrary(teal.modules.clinical)\n\n## Data reproducible code ----\ndata &lt;- teal_data()\ndata &lt;- within(data, {\n ADSL &lt;- radsl(cached = TRUE)\n adsl_labels &lt;- col_labels(ADSL, fill = FALSE)\n\n char_vars_asl &lt;- names(Filter(isTRUE, sapply(ADSL, is.character)))\n})\n# set datanames\ndatanames &lt;- c(\"ADSL\")\ndatanames(data) &lt;- datanames\n# set join_keys\njoin_keys(data) &lt;- default_cdisc_join_keys[datanames]\n\n\n## Reusable Configuration For Modules\nADSL &lt;- data[[\"ADSL\"]]\n\narm_vars &lt;- c(\"ARMCD\", \"ARM\")\n\ncs_arm_var &lt;- choices_selected(\n choices = variable_choices(ADSL, subset = arm_vars),\n selected = \"ARM\"\n)\n\n\ndate_vars_asl &lt;- names(ADSL)[vapply(ADSL, function(x) inherits(x, c(\"Date\", \"POSIXct\", \"POSIXlt\")), logical(1))]\ndemog_vars_asl &lt;- names(ADSL)[!(names(ADSL) %in% c(\"USUBJID\", \"STUDYID\", date_vars_asl))]\n\n\nheader &lt;- tags$span(\n style = \"display: flex; align-items: center; justify-content: space-between; margin: 10px 0 10px 0;\",\n tags$span(\"Exercise 1\", style = \"font-size: 30px;\"),\n)\n\nfooter &lt;- tags$p(\n \"This teal app is brought to you by PhUSE SDE Basel\",\n)\n\n\napp &lt;- init(\n data = data,\n modules = modules(\n tm_front_page(\n label = \"App Info\",\n header_text = c(\n \"Info about input data source\" =\n \"This app uses CDISC ADaM datasets randomly generated by `random.cdisc.data` R packages\"\n ),\n tables = list(`NEST packages used in this demo app` = data.frame(\n Packages = c(\"teal.modules.general\", \"teal.modules.clinical\", \"random.cdisc.data\")\n ))\n ),\n tm_data_table(\"Data Table\"),\n tm_t_summary(\n label = \"Demographic Table\",\n dataname = \"ADSL\",\n arm_var = cs_arm_var,\n summarize_vars = choices_selected(\n choices = variable_choices(ADSL, demog_vars_asl),\n selected = c(\"SEX\", \"AGE\", \"RACE\")\n )\n )\n ),\n title = build_app_title(\"Basic Teal Demo App\"),\n header = header,\n footer = footer\n)\n\n[INFO] 2024-10-15 10:35:29.0897 pid:6001 token:[] teal.modules.general Initializing tm_front_page\n[INFO] 2024-10-15 10:35:29.0927 pid:6001 token:[] teal.modules.general Initializing tm_data_table\n\nif (Sys.getenv(\"QUARTO_ROOT\") == \"\") {\n shinyApp(app$ui, app$server)\n}\n\n\n\nURL\nOpen in Shinylive\n\n\nApp"
"text": "Enhance your application with pre-built modules!\n\nuse teal.modules.general::tm_front_page() to create the first “welcome screen” of the application\nuse teal.modules.general::tm_data_table() to create a data previewer module\nuse teal.modules.clinical::tm_t_summary() to create a demographic summary table:\n\nplease read the documentation - especially arm_var and summarize_vars argument and what data type it takes\nuse both \"ARM\" and \"ARMCD\" as arm_var\nuse \"SEX\", \"AGE\" and \"RACE\" as summarize_vars\n\n\n\nCode\n\nlibrary(dplyr)\nlibrary(random.cdisc.data)\nlibrary(nestcolor)\nlibrary(teal.modules.general)\nlibrary(teal.modules.clinical)\n\n## Data reproducible code ----\ndata &lt;- teal_data()\ndata &lt;- within(data, {\n ADSL &lt;- radsl(cached = TRUE)\n adsl_labels &lt;- col_labels(ADSL, fill = FALSE)\n\n char_vars_asl &lt;- names(Filter(isTRUE, sapply(ADSL, is.character)))\n})\n# set datanames\ndatanames &lt;- c(\"ADSL\")\ndatanames(data) &lt;- datanames\n# set join_keys\njoin_keys(data) &lt;- default_cdisc_join_keys[datanames]\n\n\n## Reusable Configuration For Modules\nADSL &lt;- data[[\"ADSL\"]]\n\narm_vars &lt;- c(\"ARMCD\", \"ARM\")\n\ncs_arm_var &lt;- choices_selected(\n choices = variable_choices(ADSL, subset = arm_vars),\n selected = \"ARM\"\n)\n\n\ndate_vars_asl &lt;- names(ADSL)[vapply(ADSL, function(x) inherits(x, c(\"Date\", \"POSIXct\", \"POSIXlt\")), logical(1))]\ndemog_vars_asl &lt;- names(ADSL)[!(names(ADSL) %in% c(\"USUBJID\", \"STUDYID\", date_vars_asl))]\n\n\nheader &lt;- tags$span(\n style = \"display: flex; align-items: center; justify-content: space-between; margin: 10px 0 10px 0;\",\n tags$span(\"Exercise 1\", style = \"font-size: 30px;\"),\n)\n\nfooter &lt;- tags$p(\n \"This teal app is brought to you by PhUSE SDE Basel\",\n)\n\n\napp &lt;- init(\n data = data,\n modules = modules(\n tm_front_page(\n label = \"App Info\",\n header_text = c(\n \"Info about input data source\" =\n \"This app uses CDISC ADaM datasets randomly generated by `random.cdisc.data` R packages\"\n ),\n tables = list(`NEST packages used in this demo app` = data.frame(\n Packages = c(\"teal.modules.general\", \"teal.modules.clinical\", \"random.cdisc.data\")\n ))\n ),\n tm_data_table(\"Data Table\"),\n tm_t_summary(\n label = \"Demographic Table\",\n dataname = \"ADSL\",\n arm_var = cs_arm_var,\n summarize_vars = choices_selected(\n choices = variable_choices(ADSL, demog_vars_asl),\n selected = c(\"SEX\", \"AGE\", \"RACE\")\n )\n )\n ),\n title = build_app_title(\"Basic Teal Demo App\"),\n header = header,\n footer = footer\n)\n\n[INFO] 2024-10-16 10:34:04.0940 pid:6126 token:[] teal.modules.general Initializing tm_front_page\n[INFO] 2024-10-16 10:34:04.0969 pid:6126 token:[] teal.modules.general Initializing tm_data_table\n\nif (Sys.getenv(\"QUARTO_ROOT\") == \"\") {\n shinyApp(app$ui, app$server)\n}\n\n\n\nURL\nOpen in Shinylive\n\n\nApp"
},
{
"objectID": "exercise_4.html",
Expand Down
24 changes: 12 additions & 12 deletions sitemap.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,50 +2,50 @@
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
<url>
<loc>https://pharmaverse.github.io/examples/authors/tl.html</loc>
<lastmod>2024-10-15T10:34:07.307Z</lastmod>
<lastmod>2024-10-16T10:32:34.344Z</lastmod>
</url>
<url>
<loc>https://pharmaverse.github.io/examples/authors/kt.html</loc>
<lastmod>2024-10-15T10:34:07.307Z</lastmod>
<lastmod>2024-10-16T10:32:34.344Z</lastmod>
</url>
<url>
<loc>https://pharmaverse.github.io/examples/authors/pr.html</loc>
<lastmod>2024-10-15T10:34:07.307Z</lastmod>
<lastmod>2024-10-16T10:32:34.344Z</lastmod>
</url>
<url>
<loc>https://pharmaverse.github.io/examples/exercise_2.html</loc>
<lastmod>2024-10-15T10:34:07.307Z</lastmod>
<lastmod>2024-10-16T10:32:34.344Z</lastmod>
</url>
<url>
<loc>https://pharmaverse.github.io/examples/exercise_4.html</loc>
<lastmod>2024-10-15T10:34:07.307Z</lastmod>
<lastmod>2024-10-16T10:32:34.344Z</lastmod>
</url>
<url>
<loc>https://pharmaverse.github.io/examples/exercise_3.html</loc>
<lastmod>2024-10-15T10:34:07.307Z</lastmod>
<lastmod>2024-10-16T10:32:34.344Z</lastmod>
</url>
<url>
<loc>https://pharmaverse.github.io/examples/exercise_1.html</loc>
<lastmod>2024-10-15T10:34:07.307Z</lastmod>
<lastmod>2024-10-16T10:32:34.344Z</lastmod>
</url>
<url>
<loc>https://pharmaverse.github.io/examples/about.html</loc>
<lastmod>2024-10-15T10:34:07.299Z</lastmod>
<lastmod>2024-10-16T10:32:34.332Z</lastmod>
</url>
<url>
<loc>https://pharmaverse.github.io/examples/index.html</loc>
<lastmod>2024-10-15T10:34:07.307Z</lastmod>
<lastmod>2024-10-16T10:32:34.344Z</lastmod>
</url>
<url>
<loc>https://pharmaverse.github.io/examples/authors/pe.html</loc>
<lastmod>2024-10-15T10:34:07.307Z</lastmod>
<lastmod>2024-10-16T10:32:34.344Z</lastmod>
</url>
<url>
<loc>https://pharmaverse.github.io/examples/authors/template.html</loc>
<lastmod>2024-10-15T10:34:07.307Z</lastmod>
<lastmod>2024-10-16T10:32:34.344Z</lastmod>
</url>
<url>
<loc>https://pharmaverse.github.io/examples/authors/la.html</loc>
<lastmod>2024-10-15T10:34:07.307Z</lastmod>
<lastmod>2024-10-16T10:32:34.344Z</lastmod>
</url>
</urlset>

0 comments on commit 91ca347

Please sign in to comment.