diff --git a/package-dev-modules/slides/02-setting-up-system/libs/panelset/panelset.js b/package-dev-modules/slides/02-setting-up-system/libs/panelset/panelset.js index 6cda433..80e773c 100644 --- a/package-dev-modules/slides/02-setting-up-system/libs/panelset/panelset.js +++ b/package-dev-modules/slides/02-setting-up-system/libs/panelset/panelset.js @@ -204,6 +204,9 @@ clicked.classList.add('panel-tab-active') clicked.setAttribute('aria-selected', true) + // emit window resize event to trick html widgets into fitting to the panel width + window.dispatchEvent(new Event('resize')) + // update query string const params = updateSearchParams(panelClicked, panelTabClicked) updateUrl(params) diff --git a/package-dev-modules/slides/02-setting-up-system/setting-up-system.Rmd b/package-dev-modules/slides/02-setting-up-system/setting-up-system.Rmd index fd4357b..284750f 100644 --- a/package-dev-modules/slides/02-setting-up-system/setting-up-system.Rmd +++ b/package-dev-modules/slides/02-setting-up-system/setting-up-system.Rmd @@ -561,6 +561,10 @@ Put your PAT into the Git credential store gitcreds::gitcreds_set() ``` +.tip[ +You may need to install **gitcreds** with `install.packages(gitcreds)`. +] + --- class: middle, inverse @@ -810,8 +814,9 @@ gitcreds::gitcreds_set() ``` .tip[ -You may need to install **gitcreds** +You may need to install **gitcreds** with `install.packages(gitcreds)`. ] + --- class: middle, inverse diff --git a/package-dev-modules/slides/02-setting-up-system/setting-up-system.html b/package-dev-modules/slides/02-setting-up-system/setting-up-system.html index 6429e3c..68c2a4f 100644 --- a/package-dev-modules/slides/02-setting-up-system/setting-up-system.html +++ b/package-dev-modules/slides/02-setting-up-system/setting-up-system.html @@ -55,7 +55,7 @@ .pull-left[ .center[ -<img src="images/emma-rand.png" width="45%" style="display: block; margin: auto;" /> +<img src="images/emma-rand.png" title="Emma Rand headshot" alt="Emma Rand headshot" width="45%" style="display: block; margin: auto;" /> Emma Rand .small[ Senior Lecturer (Prof) @@ -65,7 +65,7 @@ ] .pull-right[ .center[ -<img src="images/mine.jpg" width="45%" style="display: block; margin: auto;" /> +<img src="images/mine.jpg" title="Mine Çetinkaya-Rundel headshot" alt="Mine Çetinkaya-Rundel headshot" width="45%" style="display: block; margin: auto;" /> Dr. Mine Çetinkaya-Rundel .small[ Senior lecturer (Prof) @@ -169,7 +169,7 @@ - Once installed, binary and source packages are identical ] .pull-right-narrow[ -<img src="images/installation.png" width="100%" style="display: block; margin: auto;" /> +<img src="images/installation.png" title="Various stages of R packages (source, bundle, binary, installed, and in memory) on the x-axis and the various installation options (install.packages, R CMD install, install, build, install_github)." alt="Various stages of R packages (source, bundle, binary, installed, and in memory) on the x-axis and the various installation options (install.packages, R CMD install, install, build, install_github)." width="100%" style="display: block; margin: auto;" /> ] @@ -331,7 +331,7 @@ ``` ``` -## /c/Users/er13/AppData/Local/Programs/Git/cmd/git +## /usr/bin/git ``` ] .pull-right[ @@ -343,7 +343,7 @@ ``` ``` -## git version 2.20.1.windows.1 +## git version 2.24.3 (Apple Git-128) ``` ] @@ -498,6 +498,10 @@ gitcreds::gitcreds_set() ``` +.tip[ +You may need to install **gitcreds** with `install.packages(gitcreds)`. +] + --- class: middle, inverse @@ -613,7 +617,7 @@ ``` ``` -## /c/Users/er13/AppData/Local/Programs/Git/cmd/git +## /usr/bin/git ``` ] .pull-right[ @@ -625,7 +629,7 @@ ``` ``` -## git version 2.20.1.windows.1 +## git version 2.24.3 (Apple Git-128) ``` ] @@ -770,8 +774,9 @@ ``` .tip[ -You may need to install **gitcreds** +You may need to install **gitcreds** with `install.packages(gitcreds)`. ] + --- class: middle, inverse @@ -788,7 +793,7 @@ ## Love potion: RStudio projects -<img src="images/folder-repo.png" width="100%" style="display: block; margin: auto;" /> +<img src="images/folder-repo.png" title="Side-by-side comparison of project folders on your computer and repositories on GitHub." alt="Side-by-side comparison of project folders on your computer and repositories on GitHub." width="100%" style="display: block; margin: auto;" /> ??? @@ -798,7 +803,7 @@ ## RStudio Git pane -<img src="images/rstudio-git-pane.png" width="80%" style="display: block; margin: auto;" /> +<img src="images/rstudio-git-pane.png" title="RStudio Git pane screenshot" alt="RStudio Git pane screenshot" width="80%" style="display: block; margin: auto;" /> ??? @@ -830,9 +835,9 @@ --- -Slides made with: **`knitr`** <a name=cite-knitr1></a><a name=cite-knitr2></a><a name=cite-knitr3></a>([Xie, 2020](#bib-knitr1); [Xie, 2015](#bib-knitr2); [Xie, 2014](#bib-knitr3)),**`R Markdown`** <a name=cite-markdown1></a><a name=cite-markdown2></a>([Allaire Xie, et al., 2019](#bib-markdown1); [Xie Allaire, et al., 2018](#bib-markdown2)), **`xaringan`** <a name=cite-xaringan></a>([Xie, 2019](#bib-xaringan)), **`xaringanthemer`** <a name=cite-xaringanthemer></a>([Aden-Buie, 2020a](#bib-xaringanthemer)), **`xaringanExtra`** <a name=cite-xaringanExtra></a>([Aden-Buie, 2020c](#bib-xaringanExtra)), **`countdown`** <a name=cite-countdown></a>([Aden-Buie, 2020b](#bib-countdown)). +Slides made with: **`knitr`** ,**`R Markdown`** , **`xaringan`** , **`xaringanthemer`** , **`xaringanExtra`** , **`countdown`** . -Referencing with **`RefManageR`** <a name=cite-McLean-2017></a>([McLean, 2017](#bib-McLean-2017)). +Referencing with **`RefManageR`** . Designed by: [Mine Çetinkaya-Rundel](https://twitter.com/minebocek) and [Emma Rand](https://twitter.com/er13_r)