Skip to content

Commit

Permalink
last minute stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
laderast committed Jun 21, 2024
1 parent 5e95dce commit d8d1c0b
Show file tree
Hide file tree
Showing 3 changed files with 49 additions and 6 deletions.
43 changes: 43 additions & 0 deletions docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,40 @@
margin: 0 0.8em 0.2em -1em; /* quarto-specific, see https://github.com/quarto-dev/quarto-cli/issues/4556 */
vertical-align: middle;
}
/* CSS for syntax highlighting */
pre > code.sourceCode { white-space: pre; position: relative; }
pre > code.sourceCode > span { line-height: 1.25; }
pre > code.sourceCode > span:empty { height: 1.2em; }
.sourceCode { overflow: visible; }
code.sourceCode > span { color: inherit; text-decoration: inherit; }
div.sourceCode { margin: 1em 0; }
pre.sourceCode { margin: 0; }
@media screen {
div.sourceCode { overflow: auto; }
}
@media print {
pre > code.sourceCode { white-space: pre-wrap; }
pre > code.sourceCode > span { display: inline-block; text-indent: -5em; padding-left: 5em; }
}
pre.numberSource code
{ counter-reset: source-line 0; }
pre.numberSource code > span
{ position: relative; left: -4em; counter-increment: source-line; }
pre.numberSource code > span > a:first-child::before
{ content: counter(source-line);
position: relative; left: -1em; text-align: right; vertical-align: baseline;
border: none; display: inline-block;
-webkit-touch-callout: none; -webkit-user-select: none;
-khtml-user-select: none; -moz-user-select: none;
-ms-user-select: none; user-select: none;
padding: 0 4px; width: 4em;
}
pre.numberSource { margin-left: 3em; padding-left: 4px; }
div.sourceCode
{ }
@media screen {
pre > code.sourceCode > span > a:first-child::before { text-decoration: underline; }
}
</style>


Expand Down Expand Up @@ -129,6 +163,7 @@ <h2 id="toc-title">On this page</h2>
<li><a href="#agenda-roughly" id="toc-agenda-roughly" class="nav-link" data-scroll-target="#agenda-roughly">Agenda (roughly)</a></li>
</ul></li>
<li><a href="#posit.cloud-project" id="toc-posit.cloud-project" class="nav-link" data-scroll-target="#posit.cloud-project">Posit.cloud project</a></li>
<li><a href="#clone-this-project-to-your-machine" id="toc-clone-this-project-to-your-machine" class="nav-link" data-scroll-target="#clone-this-project-to-your-machine">Clone this project to your machine</a></li>
<li><a href="#its-dangerous-to-learn-alone" id="toc-its-dangerous-to-learn-alone" class="nav-link" data-scroll-target="#its-dangerous-to-learn-alone">It’s dangerous to learn alone!</a></li>
<li><a href="#i-need-help" id="toc-i-need-help" class="nav-link" data-scroll-target="#i-need-help">I need help!</a></li>
<li><a href="#reminders" id="toc-reminders" class="nav-link" data-scroll-target="#reminders">Reminders</a></li>
Expand Down Expand Up @@ -237,6 +272,14 @@ <h1>Posit.cloud project</h1>
<li>Create new project with “ShinyOwl” Template</li>
</ol>
</section>
<section id="clone-this-project-to-your-machine" class="level1">
<h1>Clone this project to your machine</h1>
<div class="cell">
<div class="sourceCode cell-code" id="cb1"><pre class="sourceCode r code-with-copy"><code class="sourceCode r"><span id="cb1-1"><a href="#cb1-1" aria-hidden="true" tabindex="-1"></a><span class="fu">install.packages</span>(<span class="st">"usethis"</span>)</span>
<span id="cb1-2"><a href="#cb1-2" aria-hidden="true" tabindex="-1"></a>usethis<span class="sc">::</span><span class="fu">use_course</span>(<span class="st">"https://github.com/laderast/shinyowl"</span>)</span>
<span id="cb1-3"><a href="#cb1-3" aria-hidden="true" tabindex="-1"></a>renv<span class="sc">::</span><span class="fu">restore</span>()</span></code><button title="Copy to Clipboard" class="code-copy-button"><i class="bi"></i></button></pre></div>
</div>
</section>
<section id="its-dangerous-to-learn-alone" class="level1">
<h1>It’s dangerous to learn alone!</h1>
<p>Introduce yourself to your neighbors so you can learn together. Don’t suffer in silence.</p>
Expand Down
8 changes: 4 additions & 4 deletions docs/layouts/slides.html
Original file line number Diff line number Diff line change
Expand Up @@ -660,8 +660,8 @@ <h2>Laying out value boxes</h2>
</div>
<div class="card bslib-card bslib-mb-spacing html-fill-item html-fill-container" data-bslib-card-init="" data-require-bs-caller="card()" data-require-bs-version="5" style="min-height:200px;">
<div class="card-body bslib-gap-spacing html-fill-item html-fill-container" style="margin-top:auto;margin-bottom:auto;flex:1 1 auto;">
<div class="plotly html-widget html-fill-item" id="htmlwidget-d0855ede674648b2c303" style="width:100%;height:400px;"></div>
<script type="application/json" data-for="htmlwidget-d0855ede674648b2c303">{"x":{"visdat":{"90bb6fad2871":["function () ","plotlyVisDat"]},"cur_data":"90bb6fad2871","attrs":{"90bb6fad2871":{"x":[-0.49595278710689294,0.041853990014095212,0.021490476885021904,0.54164759872352153,1.3006936737785746,1.7892227173427842,-0.3167008305111636,-0.25240412486909136,-0.97108175379524386,1.8347296985364419,-0.31429518846464222,-0.49647041437857869,-0.5550896475628766,-0.67490825986084346,-0.33693583460079657,-1.426092022557512,-0.43286093946449844,-0.67107756689621822,-1.0840424166771678,-1.4412630165374276,-0.26632481963147914,0.40243543467224596,0.19047887238424596,-0.50175972463202545,0.033810870403917448,2.3864026646472887,0.58610430490186471,0.26336740433001377,1.5338490835822127,0.098884775353155999,-0.30898760662089619,-0.44655090864716179,-0.77620233571464703,-0.85244219866451432,-0.75610844826313917,-0.20005769298883613,-0.87626235974968048,-0.7222555390052362,0.5250781090787211,-0.28759576775975759,1.6621040747407891,0.61222560268329895,1.3795705805785143,-0.44814382722514362,0.71673261554833323,1.5186244023737672,0.31184967867235164,0.39682049422154236,-1.5254273991376455,-1.5446887931667621,-0.78228027287479907,0.81358160982289429,-0.39171636034894952,-0.30398287049460243,-0.18692493368396684,-2.4273395388357426,1.0044823844973525,0.02630752825135026,-0.56790653105310518,-1.0267395129411867,0.4104515744143562,-0.365282794405763,-2.0735222360579502,-1.1462149322772675,0.58934151084052555,-0.12422762539317526,0.059813822465787772,-0.70904476908477765,-1.5941252022862542,-0.6787912224681325,-0.37536219269314874,0.28521204911276921,2.2959254111364431,-0.79182481833013096,-0.46141083643947955,0.83296078076719504,-1.2859568073662604,0.34988041182116086,-0.097161867154407749,-0.26413569888957222,0.6671496391353896,0.66260963135914086,-2.2346277620069657,-0.2716362456105279,0.65121821205458585,0.69289412278615548,-0.76064438925703226,0.79482757897994483,-0.74221504331893173,-1.0286733879045702,-2.00840690677372,0.41233439433569385,0.29083030770756352,0.72848292301175166,0.28589417386038257,2.8907930138807445,-0.045839043776788803,0.26478561279482166,1.305980147977569,-0.87591634536707652],"alpha_stroke":1,"sizes":[10,100],"spans":[1,20]}},"layout":{"margin":{"b":40,"l":60,"t":25,"r":10},"xaxis":{"domain":[0,1],"automargin":true,"title":[]},"yaxis":{"domain":[0,1],"automargin":true},"hovermode":"closest","showlegend":false},"source":"A","config":{"modeBarButtonsToAdd":["hoverclosest","hovercompare"],"showSendToCloud":false},"data":[{"x":[-0.49595278710689294,0.041853990014095212,0.021490476885021904,0.54164759872352153,1.3006936737785746,1.7892227173427842,-0.3167008305111636,-0.25240412486909136,-0.97108175379524386,1.8347296985364419,-0.31429518846464222,-0.49647041437857869,-0.5550896475628766,-0.67490825986084346,-0.33693583460079657,-1.426092022557512,-0.43286093946449844,-0.67107756689621822,-1.0840424166771678,-1.4412630165374276,-0.26632481963147914,0.40243543467224596,0.19047887238424596,-0.50175972463202545,0.033810870403917448,2.3864026646472887,0.58610430490186471,0.26336740433001377,1.5338490835822127,0.098884775353155999,-0.30898760662089619,-0.44655090864716179,-0.77620233571464703,-0.85244219866451432,-0.75610844826313917,-0.20005769298883613,-0.87626235974968048,-0.7222555390052362,0.5250781090787211,-0.28759576775975759,1.6621040747407891,0.61222560268329895,1.3795705805785143,-0.44814382722514362,0.71673261554833323,1.5186244023737672,0.31184967867235164,0.39682049422154236,-1.5254273991376455,-1.5446887931667621,-0.78228027287479907,0.81358160982289429,-0.39171636034894952,-0.30398287049460243,-0.18692493368396684,-2.4273395388357426,1.0044823844973525,0.02630752825135026,-0.56790653105310518,-1.0267395129411867,0.4104515744143562,-0.365282794405763,-2.0735222360579502,-1.1462149322772675,0.58934151084052555,-0.12422762539317526,0.059813822465787772,-0.70904476908477765,-1.5941252022862542,-0.6787912224681325,-0.37536219269314874,0.28521204911276921,2.2959254111364431,-0.79182481833013096,-0.46141083643947955,0.83296078076719504,-1.2859568073662604,0.34988041182116086,-0.097161867154407749,-0.26413569888957222,0.6671496391353896,0.66260963135914086,-2.2346277620069657,-0.2716362456105279,0.65121821205458585,0.69289412278615548,-0.76064438925703226,0.79482757897994483,-0.74221504331893173,-1.0286733879045702,-2.00840690677372,0.41233439433569385,0.29083030770756352,0.72848292301175166,0.28589417386038257,2.8907930138807445,-0.045839043776788803,0.26478561279482166,1.305980147977569,-0.87591634536707652],"type":"histogram","marker":{"color":"rgba(31,119,180,1)","line":{"color":"rgba(31,119,180,1)"}},"error_y":{"color":"rgba(31,119,180,1)"},"error_x":{"color":"rgba(31,119,180,1)"},"xaxis":"x","yaxis":"y","frame":null}],"highlight":{"on":"plotly_click","persistent":false,"dynamic":false,"selectize":false,"opacityDim":0.20000000000000001,"selected":{"opacity":1},"debounce":0},"shinyEvents":["plotly_hover","plotly_click","plotly_selected","plotly_relayout","plotly_brushed","plotly_brushing","plotly_clickannotation","plotly_doubleclick","plotly_deselect","plotly_afterplot","plotly_sunburstclick"],"base_url":"https://plot.ly"},"evals":[],"jsHooks":[]}</script>
<div class="plotly html-widget html-fill-item" id="htmlwidget-c454d5704e4abebdd578" style="width:100%;height:400px;"></div>
<script type="application/json" data-for="htmlwidget-c454d5704e4abebdd578">{"x":{"visdat":{"99fd5932a5a9":["function () ","plotlyVisDat"]},"cur_data":"99fd5932a5a9","attrs":{"99fd5932a5a9":{"x":[0.1574983391311667,-1.1954889797122761,0.39710109971661733,0.18496909747648724,-0.27136432627471085,0.38687431806067957,1.1232356120634854,1.5773115581725419,1.1960089556365849,0.6915128607048443,-0.24275208548754698,1.605980739884135,1.1741990255120189,1.0738374642773765,1.2576321548986027,-1.0738555847116007,1.137116161156545,1.9450521231430837,0.89172883479815157,1.7454365510351884,0.59039798453631342,-0.41316750071170555,-1.3736591862312961,0.40921214239807563,0.88303661184004278,-1.4398725487254211,0.19643345185748365,0.93508096469590452,1.2467253281190946,2.1246452541110359,0.96114320323900337,-0.84517238580004361,-0.21671603195023323,0.72612018210700302,2.396844460067332,-0.54088107890873638,0.93293958897790696,0.82708276024965821,-1.1690162608977879,-0.22278568940141283,-0.48520193448384291,0.41699683996279757,-0.15882795865486479,0.77645289828330977,-2.776818363501051,-1.3062680642265398,0.46436374843446787,0.35033381590634888,0.48030926434839005,0.78981774175436859,-0.84537996667437731,-0.34848077284025086,0.68195594344975141,0.012237334058805432,0.23460562568266102,-0.062474586272951202,-0.48900485613163586,-0.15086048941210287,-2.2856096278420974,-0.78353924374174311,-0.66905375487782259,0.46164840972395976,-0.38800341872720762,0.85996946001925567,-0.13465644706360275,-0.90947145952120689,0.14391789712688144,-0.096953538412476892,-0.16250267592961959,-0.9468998872378892,-2.0336075654632588,2.2814653782981087,-0.1072304058040261,0.28441124389419387,-0.42957367101918142,1.218811490671609,0.84448184273205795,-0.97232432620998599,-0.33217639004129706,0.74542568595632785,-1.2827354485746023,-0.61307779389269779,-0.31734665773704096,-0.45454363798460468,-0.6463370835919402,0.70054852690209957,0.87170515241062341,-0.52777267556102359,-1.2780284903965478,-0.52635057170486432,-0.058077706219267153,0.74064791668885277,0.6481608131458807,0.99867758858919042,2.3262609172036184,1.3191817440179932,1.777548445174004,-2.1504862098862789,-0.81256254064056321,-0.14325000720876357],"alpha_stroke":1,"sizes":[10,100],"spans":[1,20]}},"layout":{"margin":{"b":40,"l":60,"t":25,"r":10},"xaxis":{"domain":[0,1],"automargin":true,"title":[]},"yaxis":{"domain":[0,1],"automargin":true},"hovermode":"closest","showlegend":false},"source":"A","config":{"modeBarButtonsToAdd":["hoverclosest","hovercompare"],"showSendToCloud":false},"data":[{"x":[0.1574983391311667,-1.1954889797122761,0.39710109971661733,0.18496909747648724,-0.27136432627471085,0.38687431806067957,1.1232356120634854,1.5773115581725419,1.1960089556365849,0.6915128607048443,-0.24275208548754698,1.605980739884135,1.1741990255120189,1.0738374642773765,1.2576321548986027,-1.0738555847116007,1.137116161156545,1.9450521231430837,0.89172883479815157,1.7454365510351884,0.59039798453631342,-0.41316750071170555,-1.3736591862312961,0.40921214239807563,0.88303661184004278,-1.4398725487254211,0.19643345185748365,0.93508096469590452,1.2467253281190946,2.1246452541110359,0.96114320323900337,-0.84517238580004361,-0.21671603195023323,0.72612018210700302,2.396844460067332,-0.54088107890873638,0.93293958897790696,0.82708276024965821,-1.1690162608977879,-0.22278568940141283,-0.48520193448384291,0.41699683996279757,-0.15882795865486479,0.77645289828330977,-2.776818363501051,-1.3062680642265398,0.46436374843446787,0.35033381590634888,0.48030926434839005,0.78981774175436859,-0.84537996667437731,-0.34848077284025086,0.68195594344975141,0.012237334058805432,0.23460562568266102,-0.062474586272951202,-0.48900485613163586,-0.15086048941210287,-2.2856096278420974,-0.78353924374174311,-0.66905375487782259,0.46164840972395976,-0.38800341872720762,0.85996946001925567,-0.13465644706360275,-0.90947145952120689,0.14391789712688144,-0.096953538412476892,-0.16250267592961959,-0.9468998872378892,-2.0336075654632588,2.2814653782981087,-0.1072304058040261,0.28441124389419387,-0.42957367101918142,1.218811490671609,0.84448184273205795,-0.97232432620998599,-0.33217639004129706,0.74542568595632785,-1.2827354485746023,-0.61307779389269779,-0.31734665773704096,-0.45454363798460468,-0.6463370835919402,0.70054852690209957,0.87170515241062341,-0.52777267556102359,-1.2780284903965478,-0.52635057170486432,-0.058077706219267153,0.74064791668885277,0.6481608131458807,0.99867758858919042,2.3262609172036184,1.3191817440179932,1.777548445174004,-2.1504862098862789,-0.81256254064056321,-0.14325000720876357],"type":"histogram","marker":{"color":"rgba(31,119,180,1)","line":{"color":"rgba(31,119,180,1)"}},"error_y":{"color":"rgba(31,119,180,1)"},"error_x":{"color":"rgba(31,119,180,1)"},"xaxis":"x","yaxis":"y","frame":null}],"highlight":{"on":"plotly_click","persistent":false,"dynamic":false,"selectize":false,"opacityDim":0.20000000000000001,"selected":{"opacity":1},"debounce":0},"shinyEvents":["plotly_hover","plotly_click","plotly_selected","plotly_relayout","plotly_brushed","plotly_brushing","plotly_clickannotation","plotly_doubleclick","plotly_deselect","plotly_afterplot","plotly_sunburstclick"],"base_url":"https://plot.ly"},"evals":[],"jsHooks":[]}</script>
</div>
<script data-bslib-card-init="">bslib.Card.initializeAllCards();</script>
</div>
Expand All @@ -681,7 +681,7 @@ <h2>Exercise</h2>
<div class="cell">
<div class="sourceCode cell-code" id="cb9"><pre class="sourceCode numberSource r number-lines code-with-copy"><code class="sourceCode r"><span id="cb9-1"><a></a>countdown<span class="sc">::</span><span class="fu">countdown</span>(<span class="at">minutes =</span> <span class="dv">5</span>)</span></code><button title="Copy to Clipboard" class="code-copy-button"><i class="bi"></i></button></pre></div>
<div class="cell-output-display">
<div class="countdown" id="timer_eae131e1" data-update-every="1" tabindex="0" style="right:0;bottom:0;">
<div class="countdown" id="timer_991cdaec" data-update-every="1" tabindex="0" style="right:0;bottom:0;">
<div class="countdown-controls"><button class="countdown-bump-down"></button><button class="countdown-bump-up">+</button></div>
<code class="countdown-time"><span class="countdown-digits minutes">05</span><span class="countdown-digits colon">:</span><span class="countdown-digits seconds">00</span></code>
</div>
Expand Down Expand Up @@ -793,7 +793,7 @@ <h2>Exercise</h2>
<div class="cell">
<div class="sourceCode cell-code" id="cb15"><pre class="sourceCode numberSource r number-lines code-with-copy"><code class="sourceCode r"><span id="cb15-1"><a></a>countdown<span class="sc">::</span><span class="fu">countdown</span>(<span class="at">minutes =</span> <span class="dv">5</span>)</span></code><button title="Copy to Clipboard" class="code-copy-button"><i class="bi"></i></button></pre></div>
<div class="cell-output-display">
<div class="countdown" id="timer_7d4b8468" data-update-every="1" tabindex="0" style="right:0;bottom:0;">
<div class="countdown" id="timer_87236d4c" data-update-every="1" tabindex="0" style="right:0;bottom:0;">
<div class="countdown-controls"><button class="countdown-bump-down"></button><button class="countdown-bump-up">+</button></div>
<code class="countdown-time"><span class="countdown-digits minutes">05</span><span class="countdown-digits colon">:</span><span class="countdown-digits seconds">00</span></code>
</div>
Expand Down
4 changes: 2 additions & 2 deletions docs/modules/slides.html
Original file line number Diff line number Diff line change
Expand Up @@ -527,7 +527,7 @@ <h2>Exercise: Try it out</h2>
<div class="cell">
<div class="sourceCode cell-code" id="cb5"><pre class="sourceCode numberSource r number-lines code-with-copy"><code class="sourceCode r"><span id="cb5-1"><a></a>countdown<span class="sc">::</span><span class="fu">countdown</span>(<span class="at">minutes =</span> <span class="dv">3</span>)</span></code><button title="Copy to Clipboard" class="code-copy-button"><i class="bi"></i></button></pre></div>
<div class="cell-output-display">
<div class="countdown" id="timer_c276f05c" data-update-every="1" tabindex="0" style="right:0;bottom:0;">
<div class="countdown" id="timer_b6fb1534" data-update-every="1" tabindex="0" style="right:0;bottom:0;">
<div class="countdown-controls"><button class="countdown-bump-down"></button><button class="countdown-bump-up">+</button></div>
<code class="countdown-time"><span class="countdown-digits minutes">03</span><span class="countdown-digits colon">:</span><span class="countdown-digits seconds">00</span></code>
</div>
Expand Down Expand Up @@ -709,7 +709,7 @@ <h2>Exercise: Use a Shiny Module</h2>
<div class="cell">
<div class="sourceCode cell-code" id="cb13"><pre class="sourceCode numberSource r number-lines code-with-copy"><code class="sourceCode r"><span id="cb13-1"><a></a>countdown<span class="sc">::</span><span class="fu">countdown</span>(<span class="at">minutes =</span> <span class="dv">5</span>)</span></code><button title="Copy to Clipboard" class="code-copy-button"><i class="bi"></i></button></pre></div>
<div class="cell-output-display">
<div class="countdown" id="timer_c07995e7" data-update-every="1" tabindex="0" style="right:0;bottom:0;">
<div class="countdown" id="timer_043b11da" data-update-every="1" tabindex="0" style="right:0;bottom:0;">
<div class="countdown-controls"><button class="countdown-bump-down"></button><button class="countdown-bump-up">+</button></div>
<code class="countdown-time"><span class="countdown-digits minutes">05</span><span class="countdown-digits colon">:</span><span class="countdown-digits seconds">00</span></code>
</div>
Expand Down

0 comments on commit d8d1c0b

Please sign in to comment.