From 2c811f08a9173a14e9e068226031d334a22a2dea Mon Sep 17 00:00:00 2001 From: Martin Frigaard Date: Fri, 16 Feb 2024 17:28:34 -0700 Subject: [PATCH] Built site for gh-pages --- .nojekyll | 2 +- Entanglement.qmd | 58 ++- app_data.html | 607 ++++++++++++----------- app_packages.html | 80 +-- bdd.html | 80 +-- cicd.html | 344 +++++++------ non_r_code.html => code.html | 96 ++-- comparisons.html | 86 ++-- create.html | 72 +-- css.html | 170 +++++-- data.html | 130 ++--- debugging.html | 265 +++++----- dependencies.html | 142 +++--- deploy.html | 92 ++-- development.html | 134 ++--- docker.html | 256 +++++----- document.html | 142 +++--- entanglement.html | 369 ++++++++------ external.html | 648 ++++++++++++------------ frameworks.html | 82 ++-- github.html | 80 +-- glossary.html | 76 +-- golem.html | 512 +++++++++---------- index.html | 72 +-- intro.html | 116 ++--- js.html | 167 +++++-- launch.html | 148 +++--- leprechaun.html | 258 +++++----- packages.html | 138 +++--- pkgdown.html | 924 +++++++++++++++++++++++++++++++++++ preface.html | 90 ++-- python.html | 168 +++++-- rhino.html | 243 ++++----- rhino_cicd.html | 140 +++--- search.json | 744 ++++++++++++++-------------- shiny.html | 146 +++--- sitemap.xml | 112 +++-- special_topics.html | 96 ++-- stack_traces.html | 106 ++-- style.html | 316 +++++++----- test_modules.html | 126 ++--- test_snapshots_mocks.html | 118 ++--- test_specs.html | 124 ++--- test_suite.html | 126 ++--- test_system.html | 134 ++--- test_tools.html | 305 ++++++------ tests.html | 80 +-- whole_game.html | 108 ++-- 48 files changed, 5700 insertions(+), 3928 deletions(-) rename non_r_code.html => code.html (94%) create mode 100644 pkgdown.html diff --git a/.nojekyll b/.nojekyll index bda8739f..2b1ccf43 100644 --- a/.nojekyll +++ b/.nojekyll @@ -1 +1 @@ -42f3f7e9 \ No newline at end of file +d22ad08e \ No newline at end of file diff --git a/Entanglement.qmd b/Entanglement.qmd index db6f9596..c6715486 100644 --- a/Entanglement.qmd +++ b/Entanglement.qmd @@ -1,6 +1,6 @@ -# Entanglement {#sec-entanglement} +# Dependency hell {#sec-entanglement} -[Tools to avoid [dependency hell](https://en.wikipedia.org/wiki/Dependency_hell)]{style="font-size: 1.40em; font-style: italic"} +[Mastering dependency management]{style="font-size: 1.40em; font-style: italic"} ```{r} #| eval: true @@ -23,7 +23,59 @@ co_box( ) ``` -This chapter covers a few packages and tools to help explore, understand and keep track of your app-package dependencies. It's not likely you'll build an application that *only* relies on `shiny`, so it's important to 1) know the packages and versions required for your application to function, and 2) ensure these packages are included in the correct `DESCRIPTION` field (or `NAMESPACE`). +This chapter covers a few packages and tools to help explore, understand and keep track of your app-package dependencies.[^depends-hell] It's not likely you'll build an application that *only* relies on `shiny`, so it's important to 1) know the packages and versions required for your application to function, and 2) ensure these packages are included in the correct `DESCRIPTION` field (or `NAMESPACE`). + +[^depends-hell]: Try to avoid [dependency hell](https://en.wikipedia.org/wiki/Dependency_hell). + +:::: {.callout-tip collapse='true' appearance='simple'} + +## [Accessing applications]{style='font-weight: bold; font-size: 1.15em;'} + +::: {style='font-size: 0.95em; color: #282b2d;'} + +I've created the [`shinypak` R package](https://mjfrigaard.github.io/shinypak/) In an effort to make each section accessible and easy to follow: + +Install `shinypak` using `pak` (or `remotes`): + +```{r} +#| code-fold: false +#| message: false +#| warning: false +#| eval: false +# install.packages('pak') +pak::pak('mjfrigaard/shinypak') +``` + +Review the chapters in each section: + +```{r} +#| code-fold: false +#| message: false +#| warning: false +#| collapse: true +library(shinypak) +list_apps(regex = '^06') +``` + +Launch the app: + +```{r} +#| code-fold: false +#| eval: false +launch(app = "") +``` + +Download the app: + +```{r} +#| code-fold: false +#| eval: false +get_app(app = "") +``` + +::: + +:::: ## Exploring dependencies diff --git a/app_data.html b/app_data.html index 4b518903..ca7bc072 100644 --- a/app_data.html +++ b/app_data.html @@ -8,7 +8,7 @@ -Shiny App-Packages - 24  App data +Shiny App-Packages - 26  App data @@ -32,7 +66,7 @@ - + @@ -82,7 +116,7 @@ - + + +

Review the chapters in each section:

+
+
library(shinypak)
+list_apps(regex = 'css')
+## # A tibble: 1 × 2
+##   branch last_updated       
+##   <chr>  <dttm>             
+## 1 15_css 2024-02-15 06:15:43
+
+

Launch an app with launch()

+
+
launch(app = "15_css")
+
+

Download an app with get_app()

+
+
get_app(app = "15_css")
+
+ + + + @@ -902,13 +982,13 @@

diff --git a/data.html b/data.html index 07751f04..cf14dc5e 100644 --- a/data.html +++ b/data.html @@ -280,8 +280,8 @@ @@ -438,17 +450,11 @@ F  Comparisons - - @@ -509,26 +515,8 @@

-
-
-
- -
-
-Contribute -
-
-
-
-
-
-

See a typo, error, or something missing? Please open an issue on GitHub

-
-
-
-
-