class: title-slide, left, middle background-image: url("images/chimp.jpg") background-position: right background-size: contain background-color: #7899d4ff .pull-left[ # Crafting kind tools ## Data Science Applied Research and Education Seminar (ARES) ### Alison Hill, Ph.D. ### 2021-04-12 ] --- class: middle, center, inverse ## .big-text[Hello.] ??? So hello- I'm so happy to be invited to join you all today. --- name: hello class: middle, center, inverse ### Alison Hill, Ph.D. <img style="border-radius: 50%;" src="https://alison.rbind.io/authors/alison/avatar.jpg" width="150px"/> ### Product Manager, Data Science Communication ### @RStudio [<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 496 512" class="rfa" style="height:0.75em;fill:currentColor;position:relative;"><path d="M165.9 397.4c0 2-2.3 3.6-5.2 3.6-3.3.3-5.6-1.3-5.6-3.6 0-2 2.3-3.6 5.2-3.6 3-.3 5.6 1.3 5.6 3.6zm-31.1-4.5c-.7 2 1.3 4.3 4.3 4.9 2.6 1 5.6 0 6.2-2s-1.3-4.3-4.3-5.2c-2.6-.7-5.5.3-6.2 2.3zm44.2-1.7c-2.9.7-4.9 2.6-4.6 4.9.3 2 2.9 3.3 5.9 2.6 2.9-.7 4.9-2.6 4.6-4.6-.3-1.9-3-3.2-5.9-2.9zM244.8 8C106.1 8 0 113.3 0 252c0 110.9 69.8 205.8 169.5 239.2 12.8 2.3 17.3-5.6 17.3-12.1 0-6.2-.3-40.4-.3-61.4 0 0-70 15-84.7-29.8 0 0-11.4-29.1-27.8-36.6 0 0-22.9-15.7 1.6-15.4 0 0 24.9 2 38.6 25.8 21.9 38.6 58.6 27.5 72.9 20.9 2.3-16 8.8-27.1 16-33.7-55.9-6.2-112.3-14.3-112.3-110.5 0-27.5 7.6-41.3 23.6-58.9-2.6-6.5-11.1-33.3 2.6-67.9 20.9-6.5 69 27 69 27 20-5.6 41.5-8.5 62.8-8.5s42.8 2.9 62.8 8.5c0 0 48.1-33.6 69-27 13.7 34.7 5.2 61.4 2.6 67.9 16 17.7 25.8 31.5 25.8 58.9 0 96.5-58.9 104.2-114.8 110.5 9.2 7.9 17 22.9 17 46.4 0 33.7-.3 75.4-.3 83.6 0 6.5 4.6 14.4 17.3 12.1C428.2 457.8 496 362.9 496 252 496 113.3 383.5 8 244.8 8zM97.2 352.9c-1.3 1-1 3.3.7 5.2 1.6 1.6 3.9 2.3 5.2 1 1.3-1 1-3.3-.7-5.2-1.6-1.6-3.9-2.3-5.2-1zm-10.8-8.1c-.7 1.3.3 2.9 2.3 3.9 1.6 1 3.6.7 4.3-.7.7-1.3-.3-2.9-2.3-3.9-2-.6-3.6-.3-4.3.7zm32.4 35.6c-1.6 1.3-1 4.3 1.3 6.2 2.3 2.3 5.2 2.6 6.5 1 1.3-1.3.7-4.3-1.3-6.2-2.2-2.3-5.2-2.6-6.5-1zm-11.4-14.7c-1.6 1-1.6 3.6 0 5.9 1.6 2.3 4.3 3.3 5.6 2.3 1.6-1.3 1.6-3.9 0-6.2-1.4-2.3-4-3.3-5.6-2z"/></svg> @apreshill](https://github.com/apreshill) [<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="rfa" style="height:0.75em;fill:currentColor;position:relative;"><path d="M459.37 151.716c.325 4.548.325 9.097.325 13.645 0 138.72-105.583 298.558-298.558 298.558-59.452 0-114.68-17.219-161.137-47.106 8.447.974 16.568 1.299 25.34 1.299 49.055 0 94.213-16.568 130.274-44.832-46.132-.975-84.792-31.188-98.112-72.772 6.498.974 12.995 1.624 19.818 1.624 9.421 0 18.843-1.3 27.614-3.573-48.081-9.747-84.143-51.98-84.143-102.985v-1.299c13.969 7.797 30.214 12.67 47.431 13.319-28.264-18.843-46.781-51.005-46.781-87.391 0-19.492 5.197-37.36 14.294-52.954 51.655 63.675 129.3 105.258 216.365 109.807-1.624-7.797-2.599-15.918-2.599-24.04 0-57.828 46.782-104.934 104.934-104.934 30.213 0 57.502 12.67 76.67 33.137 23.715-4.548 46.456-13.32 66.599-25.34-7.798 24.366-24.366 44.833-46.132 57.827 21.117-2.273 41.584-8.122 60.426-16.243-14.292 20.791-32.161 39.308-52.628 54.253z"/></svg> @apreshill](https://twitter.com/apreshill) [<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="rfa" style="height:0.75em;fill:currentColor;position:relative;"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg> alison.rbind.io](https://alison.rbind.io) --- class: section, middle, center .frame[ # In the beginning... ] -- # There were tools. --- background-image: url(images/stone-tools.jpg) background-size: cover .footnote[[Source](https://commons.wikimedia.org/wiki/File:Ancient_Greece_Neolithic_Stone_Tools_%26_Weapons.jpg)] ??? But tools don't just exist in a vacuum. To be a tool, it must be used. --- name: zinda background-image: url(images/zinda.jpg) background-position: right background-size: contain class: middle --- template: zinda .pull-left[ > "In October, 1960, Dr. Goodall watched as a chimpanzee bent a twig, stripped off it leaves, and used it to “fish” termites from their nest. Up until her moment of discovery, the ability to make and use tools had been considered uniquely human." > > [janegoodall.org](https://janegoodall.org/our-story/our-legacy-of-science/) ] --- template: zinda .pull-left[ > "Now we must redefine 'tool', redefine 'man', or accept chimpanzees as humans." > > Louis B. Leakey ] ??? And actually, this is something that was a seminal observation in other species- using tools. --- class: center, inverse, middle # How do we define 'tool'? -- ![](https://media.giphy.com/media/WUOFfOsm78HJVgu2yo/giphy.gif) --- class: middle background-image: url(images/tools.png) background-position: right background-size: 50% background-color: white # What is a tool? -- .pull-left[ > A thing—anything—that can be used to get a job done. To achieve a goal. ] .footnote[Image from [NYT](https://www.nytimes.com/2007/02/13/science/13chim.html)] ??? We don't use tools inherently because the tool is fun to use, although that is nice side effect when it happens. And when we have a choice of tools, that matters. But like the chimpanzee, we mainly want to get a job done. --- background-image: url(images/04-09-17-Chimpanzees.png) background-position: top class: bottom, center, inverse background-color: #7899d4 #### Defining, and deciphering, how chimps teach each other to use tools .footnote[[Source](https://2newthings.com/defining-deciphering-how-chimps-teach-use-tools/)] --- background-image: url(images/01-29-18-New-Caledonian-crow-using-a-hooked-stick.png) background-position: top class: bottom, center, inverse background-color: #7899d4 #### New Caledonian crows’ clearly profit from the care and craftsmanship they put into their tools .footnote[[Source](https://2newthings.com/new-caledonian-crows-clearly-profit-care-craftsmanship-put-tools/)] --- class: section, middle, center .frame[ # And then... ] -- ## Humans made software tools for other humans to use. --- background-image: url(images/black-hole.jpg) background-size: contain background-position: left class: middle, inverse, right .pull-right[ # Sometimes it goes well... ] -- .footnote[ Katie Bouman, courtesy of [PBS](https://www.pbs.org/newshour/science/katie-bouman-hardly-knew-what-a-black-hole-was-her-algorithm-helped-us-see-one) ] --- class: center, inverse, middle # Sometimes it does not go well. -- ![](https://media.giphy.com/media/3tK7DEMGN6jewLa6aL/giphy.gif) --- class: middle, inverse, center You may be thinking of yourself more as a tool-user -- But today I want you to think about yourself as the tool-maker -- Are you making a kind tool? -- What makes a tool kind? -- Does it matter? --- class: middle, monkey-slide, inverse # Social learning -- .right-column[ > "Learning that is influenced by observation of, or interaction with, another animal (typically a conspecific) **or its products**" ] -- .footnote[[Box, 1984](https://www.google.com/books/edition/Primate_Behaviour_and_Social_Ecology/bAwrBgAAQBAJ?hl=en&gbpv=1&pg=PR7&printsec=frontcover); [Heyes, 1994](users.ox.ac.uk/~ascch/Celia's pdfs/3 1994 Heyes cats and mechs.pdf)] --- background-image: url(images/work.jpg) background-size: cover class: middle, right .right-column[ ## .big-text[Wait, this is social learning?] ] --- name: takeaway background-image: url(images/takeout.jpg) background-size: contain background-position: left --- name: takeaway1 template: takeaway class: middle, inverse .pull-right[ # Take aways ] -- .pull-right[ ### Learning to use a tool made by someone is social. ] -- .pull-right[ ### Making a tool that will be used by someone is social. ] --- background-image: url(images/cat-expert.jpg) background-size: contain background-position: left class: right, middle, inverse # I actually am! -- .right-column[ > "Social cognition involves all the abilities that enable us to understand social agents and to interact with them." ] -- .right-column[ ### Elements of: + Social attention + Emotion regulation + Cognitive science + Language acquisition ] .footnote[[Image](https://jasonstcyr.com/2019/11/27/building-trust-have-you-been-kind-today/); [Soto-Icaza et al.](https://www.frontiersin.org/articles/10.3389/fnins.2015.00333/full)] ] --- background-image: url(images/sciam.jpg) background-position: right background-size: 50% class: middle Tools can shape how you: -- + think -- + feel -- + act -- + react -- + learn -- + remember -- .footnote[Illustration by Thomas Pitilli for [*Scientific American*](https://www.scientificamerican.com/article/monkeys-make-stone-ldquo-tools-rdquo-that-bear-a-striking-resemblance-to-early-human-artifacts/) ] --- name: mind background-image: url(images/mind.jpg) background-size: contain background-position: left class: middle, inverse background-color: #246A73 --- template: mind name: good-news .pull-right[ ## The good news We know a lot about how people learn. ] .pull-right[ We also know a lot about .shadow-text[*who*] people learn .shadow-text[*from*]. ] --- class: middle, inverse background-color: #246A73 We learn better from people who are perceived as: -- - helpful (avoid learning from mean, “trickers”, otherwise deceptive people) -- - reliable (avoid learning from ignorant people: “I don’t know what that is”) -- - knowledgeable (prefer “know” over “think” or “guess”, above and beyond “merely accurate”) -- - credible (prefer history of accuracy) -- - expertise (prefer informants with domain knowledge) -- - relevant (prefer informants who provide the right quantity of information; avoid someone providing too little, circular, or irrelevant information) -- .footnote[[Knowing When to Doubt: Developing a Critical Stance When Learning From Others](https://www.ncbi.nlm.nih.gov/pmc/articles/PMC3810952/)] --- template: good-news -- .pull-right[ ## The not-good news We are still humans... with emotions. ] --- background-image: url(images/debugging.jpg) background-size: cover .footnote[Art by [Allison Horst](https://github.com/allisonhorst/stats-illustrations)] --- background-image: url(images/Why-buy-snickers.png) background-size: 50% class: top, center ## User/learner personas often "ignore context, situations, and anxieties" .footnote[[Intercom](https://www.intercom.com/blog/using-job-stories-design-features-ui-ux/)] --- class: middle # 🎼 Cause you're hot then you're cold 🥁 -- > "Cool [executive function (EF) tasks] required large amount logic and critical analysis, and usually involve conscious control of thoughts and actions without an affective component." -- > "Contrary to cool tasks, hot EF tasks require regulation in contexts where the outcomes are of greater personal significance, such as completing a task to earn a desirable prize." -- .footnote[[Poon](https://www.ncbi.nlm.nih.gov/pmc/articles/PMC5767838/); [Walle](https://idlab.ucmerced.edu/sites/idlab.ucmerced.edu/files/page/documents/walle_lopez_castillo_in_press.pdf)] --- class: section, middle, center .frame[ # Bringing the 🔥 ] -- # Teaching tidymodels to *beginners* --- background-image: url(images/tidymodels-workshop.png) background-size: contain .footnote[[Source](https://alison.rbind.io/project/tidyml/)] --- background-image: url(images/fire.jpg) background-size: cover class: middle .pull-left[ > Much more understandable than online documentation of tidymodels, which should be set on FIRE ] --- background-image: url(images/fire.jpg) background-size: cover class: center, middle <iframe width="712" height="400" src="https://www.youtube.com/embed/k1oXx4delIY?start=28" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe> --- class: section, middle, center .frame[ # <i class="far fa-paper-plane"></i> ] -- # Be the airplane --- class: center, middle, inverse background-color: #246A73 # How can you be the airplane <i class="far fa-paper-plane"></i>? <hr> -- How do you help without adding any (more) heat? -- I think the answer is .shadow-text[*kindness*]. -- But .shadow-text[*credible*], .shadow-text[*reliable*], and .shadow-text[*relevant*] kindness. --- name: rogers background-image: url(images/rogers.jpg) background-size: cover class: inverse, middle --- template: rogers "There are three ways to ultimate success: The first way is to be kind. The second way is to be kind. The third way is to be kind." .footnote[[Source](https://jasonstcyr.com/2019/11/27/building-trust-have-you-been-kind-today/)] --- template: rogers name: kind-tools "There are three ways to ultimate success: The first way is to .shadow-text[*be an ally*]. The second way is to .shadow-text[*be an advocate*]. The third way is to .shadow-text[*be an accomplice*]." .footnote[[Source](https://jasonstcyr.com/2019/11/27/building-trust-have-you-been-kind-today/)] --- class: section, middle, center background-image: url(images/penguins_cran.png) background-size: 15% background-position: bottom, center .frame[ # Be an ally ] -- ## Case study #1: `palmerpenguins` ??? credible -> trust; use expertise effect here "I'm an expert"; examples/case studies build the case- people want you to show not tell --- class: middle, center <img src="figs/cran-line-1.png" width="100%" /> --- <img src="figs/cran-median-1.png" width="100%" /> --- <img src="figs/cran-trend-1.png" width="100%" /> --- name: penguins background-image: url(images/penguins.png) background-position: left background-size: 50% class: middle --- template: penguins .pull-right[ We set out to make a data package that was: 1. Friendly 1. Approachable 1. Fun ] --- template: penguins .pull-right[ The palmerpenguins data package 1. [Friendly docs](https://allisonhorst.github.io/palmerpenguins/) 1. [Approachable license](https://allisonhorst.github.io/palmerpenguins/LICENSE.html) 1. [Fun art](https://allisonhorst.github.io/palmerpenguins/articles/art.html) And of course, penguins don't hurt! ] --- class: middle > "I think this gives the best of both worlds — if you're running in a low dependency environment, you'll get a data frame." ``` species island bill_length_mm bill_depth_mm flipper_length_mm 1 Adelie Torgersen 39.1 18.7 181 2 Adelie Torgersen 39.5 17.4 186 3 Adelie Torgersen 40.3 18.0 195 4 Adelie Torgersen NA NA NA 5 Adelie Torgersen 36.7 19.3 193 6 Adelie Torgersen 39.3 20.6 190 7 Adelie Torgersen 38.9 17.8 181 8 Adelie Torgersen 39.2 19.6 195 9 Adelie Torgersen 34.1 18.1 193 10 Adelie Torgersen 42.0 20.2 190 11 Adelie Torgersen 37.8 17.1 186 12 Adelie Torgersen 37.8 17.3 180 13 Adelie Torgersen 41.1 17.6 182 14 Adelie Torgersen 38.6 21.2 191 15 Adelie Torgersen 34.6 21.1 198 16 Adelie Torgersen 36.6 17.8 185 17 Adelie Torgersen 38.7 19.0 195 18 Adelie Torgersen 42.5 20.7 197 19 Adelie Torgersen 34.4 18.4 184 20 Adelie Torgersen 46.0 21.5 194 21 Adelie Biscoe 37.8 18.3 174 22 Adelie Biscoe 37.7 18.7 180 23 Adelie Biscoe 35.9 19.2 189 24 Adelie Biscoe 38.2 18.1 185 25 Adelie Biscoe 38.8 17.2 180 26 Adelie Biscoe 35.3 18.9 187 27 Adelie Biscoe 40.6 18.6 183 28 Adelie Biscoe 40.5 17.9 187 29 Adelie Biscoe 37.9 18.6 172 30 Adelie Biscoe 40.5 18.9 180 31 Adelie Dream 39.5 16.7 178 32 Adelie Dream 37.2 18.1 178 33 Adelie Dream 39.5 17.8 188 34 Adelie Dream 40.9 18.9 184 35 Adelie Dream 36.4 17.0 195 36 Adelie Dream 39.2 21.1 196 37 Adelie Dream 38.8 20.0 190 38 Adelie Dream 42.2 18.5 180 39 Adelie Dream 37.6 19.3 181 40 Adelie Dream 39.8 19.1 184 41 Adelie Dream 36.5 18.0 182 42 Adelie Dream 40.8 18.4 195 43 Adelie Dream 36.0 18.5 186 44 Adelie Dream 44.1 19.7 196 45 Adelie Dream 37.0 16.9 185 46 Adelie Dream 39.6 18.8 190 47 Adelie Dream 41.1 19.0 182 48 Adelie Dream 37.5 18.9 179 49 Adelie Dream 36.0 17.9 190 50 Adelie Dream 42.3 21.2 191 51 Adelie Biscoe 39.6 17.7 186 52 Adelie Biscoe 40.1 18.9 188 53 Adelie Biscoe 35.0 17.9 190 54 Adelie Biscoe 42.0 19.5 200 55 Adelie Biscoe 34.5 18.1 187 56 Adelie Biscoe 41.4 18.6 191 57 Adelie Biscoe 39.0 17.5 186 58 Adelie Biscoe 40.6 18.8 193 59 Adelie Biscoe 36.5 16.6 181 60 Adelie Biscoe 37.6 19.1 194 61 Adelie Biscoe 35.7 16.9 185 62 Adelie Biscoe 41.3 21.1 195 63 Adelie Biscoe 37.6 17.0 185 64 Adelie Biscoe 41.1 18.2 192 65 Adelie Biscoe 36.4 17.1 184 66 Adelie Biscoe 41.6 18.0 192 67 Adelie Biscoe 35.5 16.2 195 68 Adelie Biscoe 41.1 19.1 188 69 Adelie Torgersen 35.9 16.6 190 70 Adelie Torgersen 41.8 19.4 198 71 Adelie Torgersen 33.5 19.0 190 72 Adelie Torgersen 39.7 18.4 190 73 Adelie Torgersen 39.6 17.2 196 74 Adelie Torgersen 45.8 18.9 197 75 Adelie Torgersen 35.5 17.5 190 76 Adelie Torgersen 42.8 18.5 195 77 Adelie Torgersen 40.9 16.8 191 78 Adelie Torgersen 37.2 19.4 184 79 Adelie Torgersen 36.2 16.1 187 80 Adelie Torgersen 42.1 19.1 195 81 Adelie Torgersen 34.6 17.2 189 82 Adelie Torgersen 42.9 17.6 196 83 Adelie Torgersen 36.7 18.8 187 84 Adelie Torgersen 35.1 19.4 193 85 Adelie Dream 37.3 17.8 191 86 Adelie Dream 41.3 20.3 194 87 Adelie Dream 36.3 19.5 190 88 Adelie Dream 36.9 18.6 189 89 Adelie Dream 38.3 19.2 189 90 Adelie Dream 38.9 18.8 190 91 Adelie Dream 35.7 18.0 202 92 Adelie Dream 41.1 18.1 205 93 Adelie Dream 34.0 17.1 185 94 Adelie Dream 39.6 18.1 186 95 Adelie Dream 36.2 17.3 187 96 Adelie Dream 40.8 18.9 208 97 Adelie Dream 38.1 18.6 190 98 Adelie Dream 40.3 18.5 196 99 Adelie Dream 33.1 16.1 178 100 Adelie Dream 43.2 18.5 192 101 Adelie Biscoe 35.0 17.9 192 102 Adelie Biscoe 41.0 20.0 203 103 Adelie Biscoe 37.7 16.0 183 104 Adelie Biscoe 37.8 20.0 190 105 Adelie Biscoe 37.9 18.6 193 106 Adelie Biscoe 39.7 18.9 184 107 Adelie Biscoe 38.6 17.2 199 108 Adelie Biscoe 38.2 20.0 190 109 Adelie Biscoe 38.1 17.0 181 110 Adelie Biscoe 43.2 19.0 197 111 Adelie Biscoe 38.1 16.5 198 112 Adelie Biscoe 45.6 20.3 191 113 Adelie Biscoe 39.7 17.7 193 114 Adelie Biscoe 42.2 19.5 197 115 Adelie Biscoe 39.6 20.7 191 116 Adelie Biscoe 42.7 18.3 196 117 Adelie Torgersen 38.6 17.0 188 118 Adelie Torgersen 37.3 20.5 199 119 Adelie Torgersen 35.7 17.0 189 120 Adelie Torgersen 41.1 18.6 189 121 Adelie Torgersen 36.2 17.2 187 122 Adelie Torgersen 37.7 19.8 198 123 Adelie Torgersen 40.2 17.0 176 124 Adelie Torgersen 41.4 18.5 202 125 Adelie Torgersen 35.2 15.9 186 126 Adelie Torgersen 40.6 19.0 199 127 Adelie Torgersen 38.8 17.6 191 128 Adelie Torgersen 41.5 18.3 195 129 Adelie Torgersen 39.0 17.1 191 130 Adelie Torgersen 44.1 18.0 210 131 Adelie Torgersen 38.5 17.9 190 132 Adelie Torgersen 43.1 19.2 197 133 Adelie Dream 36.8 18.5 193 134 Adelie Dream 37.5 18.5 199 135 Adelie Dream 38.1 17.6 187 136 Adelie Dream 41.1 17.5 190 137 Adelie Dream 35.6 17.5 191 138 Adelie Dream 40.2 20.1 200 139 Adelie Dream 37.0 16.5 185 140 Adelie Dream 39.7 17.9 193 141 Adelie Dream 40.2 17.1 193 142 Adelie Dream 40.6 17.2 187 143 Adelie Dream 32.1 15.5 188 144 Adelie Dream 40.7 17.0 190 145 Adelie Dream 37.3 16.8 192 146 Adelie Dream 39.0 18.7 185 147 Adelie Dream 39.2 18.6 190 148 Adelie Dream 36.6 18.4 184 149 Adelie Dream 36.0 17.8 195 150 Adelie Dream 37.8 18.1 193 151 Adelie Dream 36.0 17.1 187 152 Adelie Dream 41.5 18.5 201 153 Gentoo Biscoe 46.1 13.2 211 154 Gentoo Biscoe 50.0 16.3 230 155 Gentoo Biscoe 48.7 14.1 210 156 Gentoo Biscoe 50.0 15.2 218 157 Gentoo Biscoe 47.6 14.5 215 158 Gentoo Biscoe 46.5 13.5 210 159 Gentoo Biscoe 45.4 14.6 211 160 Gentoo Biscoe 46.7 15.3 219 161 Gentoo Biscoe 43.3 13.4 209 162 Gentoo Biscoe 46.8 15.4 215 163 Gentoo Biscoe 40.9 13.7 214 164 Gentoo Biscoe 49.0 16.1 216 165 Gentoo Biscoe 45.5 13.7 214 166 Gentoo Biscoe 48.4 14.6 213 167 Gentoo Biscoe 45.8 14.6 210 168 Gentoo Biscoe 49.3 15.7 217 169 Gentoo Biscoe 42.0 13.5 210 170 Gentoo Biscoe 49.2 15.2 221 171 Gentoo Biscoe 46.2 14.5 209 172 Gentoo Biscoe 48.7 15.1 222 173 Gentoo Biscoe 50.2 14.3 218 174 Gentoo Biscoe 45.1 14.5 215 175 Gentoo Biscoe 46.5 14.5 213 176 Gentoo Biscoe 46.3 15.8 215 177 Gentoo Biscoe 42.9 13.1 215 178 Gentoo Biscoe 46.1 15.1 215 179 Gentoo Biscoe 44.5 14.3 216 180 Gentoo Biscoe 47.8 15.0 215 181 Gentoo Biscoe 48.2 14.3 210 182 Gentoo Biscoe 50.0 15.3 220 183 Gentoo Biscoe 47.3 15.3 222 184 Gentoo Biscoe 42.8 14.2 209 185 Gentoo Biscoe 45.1 14.5 207 186 Gentoo Biscoe 59.6 17.0 230 187 Gentoo Biscoe 49.1 14.8 220 188 Gentoo Biscoe 48.4 16.3 220 189 Gentoo Biscoe 42.6 13.7 213 190 Gentoo Biscoe 44.4 17.3 219 191 Gentoo Biscoe 44.0 13.6 208 192 Gentoo Biscoe 48.7 15.7 208 193 Gentoo Biscoe 42.7 13.7 208 194 Gentoo Biscoe 49.6 16.0 225 195 Gentoo Biscoe 45.3 13.7 210 196 Gentoo Biscoe 49.6 15.0 216 197 Gentoo Biscoe 50.5 15.9 222 198 Gentoo Biscoe 43.6 13.9 217 199 Gentoo Biscoe 45.5 13.9 210 200 Gentoo Biscoe 50.5 15.9 225 201 Gentoo Biscoe 44.9 13.3 213 202 Gentoo Biscoe 45.2 15.8 215 203 Gentoo Biscoe 46.6 14.2 210 204 Gentoo Biscoe 48.5 14.1 220 205 Gentoo Biscoe 45.1 14.4 210 206 Gentoo Biscoe 50.1 15.0 225 207 Gentoo Biscoe 46.5 14.4 217 208 Gentoo Biscoe 45.0 15.4 220 209 Gentoo Biscoe 43.8 13.9 208 210 Gentoo Biscoe 45.5 15.0 220 211 Gentoo Biscoe 43.2 14.5 208 212 Gentoo Biscoe 50.4 15.3 224 213 Gentoo Biscoe 45.3 13.8 208 214 Gentoo Biscoe 46.2 14.9 221 215 Gentoo Biscoe 45.7 13.9 214 216 Gentoo Biscoe 54.3 15.7 231 217 Gentoo Biscoe 45.8 14.2 219 218 Gentoo Biscoe 49.8 16.8 230 219 Gentoo Biscoe 46.2 14.4 214 220 Gentoo Biscoe 49.5 16.2 229 221 Gentoo Biscoe 43.5 14.2 220 222 Gentoo Biscoe 50.7 15.0 223 223 Gentoo Biscoe 47.7 15.0 216 224 Gentoo Biscoe 46.4 15.6 221 225 Gentoo Biscoe 48.2 15.6 221 226 Gentoo Biscoe 46.5 14.8 217 227 Gentoo Biscoe 46.4 15.0 216 228 Gentoo Biscoe 48.6 16.0 230 229 Gentoo Biscoe 47.5 14.2 209 230 Gentoo Biscoe 51.1 16.3 220 231 Gentoo Biscoe 45.2 13.8 215 232 Gentoo Biscoe 45.2 16.4 223 233 Gentoo Biscoe 49.1 14.5 212 234 Gentoo Biscoe 52.5 15.6 221 235 Gentoo Biscoe 47.4 14.6 212 236 Gentoo Biscoe 50.0 15.9 224 237 Gentoo Biscoe 44.9 13.8 212 238 Gentoo Biscoe 50.8 17.3 228 239 Gentoo Biscoe 43.4 14.4 218 240 Gentoo Biscoe 51.3 14.2 218 241 Gentoo Biscoe 47.5 14.0 212 242 Gentoo Biscoe 52.1 17.0 230 243 Gentoo Biscoe 47.5 15.0 218 244 Gentoo Biscoe 52.2 17.1 228 245 Gentoo Biscoe 45.5 14.5 212 246 Gentoo Biscoe 49.5 16.1 224 247 Gentoo Biscoe 44.5 14.7 214 248 Gentoo Biscoe 50.8 15.7 226 249 Gentoo Biscoe 49.4 15.8 216 250 Gentoo Biscoe 46.9 14.6 222 251 Gentoo Biscoe 48.4 14.4 203 252 Gentoo Biscoe 51.1 16.5 225 253 Gentoo Biscoe 48.5 15.0 219 254 Gentoo Biscoe 55.9 17.0 228 255 Gentoo Biscoe 47.2 15.5 215 256 Gentoo Biscoe 49.1 15.0 228 257 Gentoo Biscoe 47.3 13.8 216 258 Gentoo Biscoe 46.8 16.1 215 259 Gentoo Biscoe 41.7 14.7 210 260 Gentoo Biscoe 53.4 15.8 219 261 Gentoo Biscoe 43.3 14.0 208 262 Gentoo Biscoe 48.1 15.1 209 263 Gentoo Biscoe 50.5 15.2 216 264 Gentoo Biscoe 49.8 15.9 229 265 Gentoo Biscoe 43.5 15.2 213 266 Gentoo Biscoe 51.5 16.3 230 267 Gentoo Biscoe 46.2 14.1 217 268 Gentoo Biscoe 55.1 16.0 230 269 Gentoo Biscoe 44.5 15.7 217 270 Gentoo Biscoe 48.8 16.2 222 271 Gentoo Biscoe 47.2 13.7 214 272 Gentoo Biscoe NA NA NA 273 Gentoo Biscoe 46.8 14.3 215 274 Gentoo Biscoe 50.4 15.7 222 275 Gentoo Biscoe 45.2 14.8 212 276 Gentoo Biscoe 49.9 16.1 213 277 Chinstrap Dream 46.5 17.9 192 278 Chinstrap Dream 50.0 19.5 196 279 Chinstrap Dream 51.3 19.2 193 280 Chinstrap Dream 45.4 18.7 188 281 Chinstrap Dream 52.7 19.8 197 282 Chinstrap Dream 45.2 17.8 198 283 Chinstrap Dream 46.1 18.2 178 284 Chinstrap Dream 51.3 18.2 197 285 Chinstrap Dream 46.0 18.9 195 286 Chinstrap Dream 51.3 19.9 198 287 Chinstrap Dream 46.6 17.8 193 288 Chinstrap Dream 51.7 20.3 194 289 Chinstrap Dream 47.0 17.3 185 290 Chinstrap Dream 52.0 18.1 201 291 Chinstrap Dream 45.9 17.1 190 292 Chinstrap Dream 50.5 19.6 201 293 Chinstrap Dream 50.3 20.0 197 294 Chinstrap Dream 58.0 17.8 181 295 Chinstrap Dream 46.4 18.6 190 296 Chinstrap Dream 49.2 18.2 195 297 Chinstrap Dream 42.4 17.3 181 298 Chinstrap Dream 48.5 17.5 191 299 Chinstrap Dream 43.2 16.6 187 300 Chinstrap Dream 50.6 19.4 193 301 Chinstrap Dream 46.7 17.9 195 302 Chinstrap Dream 52.0 19.0 197 303 Chinstrap Dream 50.5 18.4 200 304 Chinstrap Dream 49.5 19.0 200 305 Chinstrap Dream 46.4 17.8 191 306 Chinstrap Dream 52.8 20.0 205 307 Chinstrap Dream 40.9 16.6 187 308 Chinstrap Dream 54.2 20.8 201 309 Chinstrap Dream 42.5 16.7 187 310 Chinstrap Dream 51.0 18.8 203 311 Chinstrap Dream 49.7 18.6 195 312 Chinstrap Dream 47.5 16.8 199 313 Chinstrap Dream 47.6 18.3 195 314 Chinstrap Dream 52.0 20.7 210 315 Chinstrap Dream 46.9 16.6 192 316 Chinstrap Dream 53.5 19.9 205 317 Chinstrap Dream 49.0 19.5 210 318 Chinstrap Dream 46.2 17.5 187 319 Chinstrap Dream 50.9 19.1 196 320 Chinstrap Dream 45.5 17.0 196 321 Chinstrap Dream 50.9 17.9 196 322 Chinstrap Dream 50.8 18.5 201 323 Chinstrap Dream 50.1 17.9 190 324 Chinstrap Dream 49.0 19.6 212 325 Chinstrap Dream 51.5 18.7 187 326 Chinstrap Dream 49.8 17.3 198 327 Chinstrap Dream 48.1 16.4 199 328 Chinstrap Dream 51.4 19.0 201 329 Chinstrap Dream 45.7 17.3 193 330 Chinstrap Dream 50.7 19.7 203 331 Chinstrap Dream 42.5 17.3 187 332 Chinstrap Dream 52.2 18.8 197 333 Chinstrap Dream 45.2 16.6 191 334 Chinstrap Dream 49.3 19.9 203 335 Chinstrap Dream 50.2 18.8 202 336 Chinstrap Dream 45.6 19.4 194 337 Chinstrap Dream 51.9 19.5 206 338 Chinstrap Dream 46.8 16.5 189 339 Chinstrap Dream 45.7 17.0 195 340 Chinstrap Dream 55.8 19.8 207 341 Chinstrap Dream 43.5 18.1 202 342 Chinstrap Dream 49.6 18.2 193 343 Chinstrap Dream 50.8 19.0 210 344 Chinstrap Dream 50.2 18.7 198 body_mass_g sex year 1 3750 male 2007 2 3800 female 2007 3 3250 female 2007 4 NA <NA> 2007 5 3450 female 2007 6 3650 male 2007 7 3625 female 2007 8 4675 male 2007 9 3475 <NA> 2007 10 4250 <NA> 2007 11 3300 <NA> 2007 12 3700 <NA> 2007 13 3200 female 2007 14 3800 male 2007 15 4400 male 2007 16 3700 female 2007 17 3450 female 2007 18 4500 male 2007 19 3325 female 2007 20 4200 male 2007 21 3400 female 2007 22 3600 male 2007 23 3800 female 2007 24 3950 male 2007 25 3800 male 2007 26 3800 female 2007 27 3550 male 2007 28 3200 female 2007 29 3150 female 2007 30 3950 male 2007 31 3250 female 2007 32 3900 male 2007 33 3300 female 2007 34 3900 male 2007 35 3325 female 2007 36 4150 male 2007 37 3950 male 2007 38 3550 female 2007 39 3300 female 2007 40 4650 male 2007 41 3150 female 2007 42 3900 male 2007 43 3100 female 2007 44 4400 male 2007 45 3000 female 2007 46 4600 male 2007 47 3425 male 2007 48 2975 <NA> 2007 49 3450 female 2007 50 4150 male 2007 51 3500 female 2008 52 4300 male 2008 53 3450 female 2008 54 4050 male 2008 55 2900 female 2008 56 3700 male 2008 57 3550 female 2008 58 3800 male 2008 59 2850 female 2008 60 3750 male 2008 61 3150 female 2008 62 4400 male 2008 63 3600 female 2008 64 4050 male 2008 65 2850 female 2008 66 3950 male 2008 67 3350 female 2008 68 4100 male 2008 69 3050 female 2008 70 4450 male 2008 71 3600 female 2008 72 3900 male 2008 73 3550 female 2008 74 4150 male 2008 75 3700 female 2008 76 4250 male 2008 77 3700 female 2008 78 3900 male 2008 79 3550 female 2008 80 4000 male 2008 81 3200 female 2008 82 4700 male 2008 83 3800 female 2008 84 4200 male 2008 85 3350 female 2008 86 3550 male 2008 87 3800 male 2008 88 3500 female 2008 89 3950 male 2008 90 3600 female 2008 91 3550 female 2008 92 4300 male 2008 93 3400 female 2008 94 4450 male 2008 95 3300 female 2008 96 4300 male 2008 97 3700 female 2008 98 4350 male 2008 99 2900 female 2008 100 4100 male 2008 101 3725 female 2009 102 4725 male 2009 103 3075 female 2009 104 4250 male 2009 105 2925 female 2009 106 3550 male 2009 107 3750 female 2009 108 3900 male 2009 109 3175 female 2009 110 4775 male 2009 111 3825 female 2009 112 4600 male 2009 113 3200 female 2009 114 4275 male 2009 115 3900 female 2009 116 4075 male 2009 117 2900 female 2009 118 3775 male 2009 119 3350 female 2009 120 3325 male 2009 121 3150 female 2009 122 3500 male 2009 123 3450 female 2009 124 3875 male 2009 125 3050 female 2009 126 4000 male 2009 127 3275 female 2009 128 4300 male 2009 129 3050 female 2009 130 4000 male 2009 131 3325 female 2009 132 3500 male 2009 133 3500 female 2009 134 4475 male 2009 135 3425 female 2009 136 3900 male 2009 137 3175 female 2009 138 3975 male 2009 139 3400 female 2009 140 4250 male 2009 141 3400 female 2009 142 3475 male 2009 143 3050 female 2009 144 3725 male 2009 145 3000 female 2009 146 3650 male 2009 147 4250 male 2009 148 3475 female 2009 149 3450 female 2009 150 3750 male 2009 151 3700 female 2009 152 4000 male 2009 153 4500 female 2007 154 5700 male 2007 155 4450 female 2007 156 5700 male 2007 157 5400 male 2007 158 4550 female 2007 159 4800 female 2007 160 5200 male 2007 161 4400 female 2007 162 5150 male 2007 163 4650 female 2007 164 5550 male 2007 165 4650 female 2007 166 5850 male 2007 167 4200 female 2007 168 5850 male 2007 169 4150 female 2007 170 6300 male 2007 171 4800 female 2007 172 5350 male 2007 173 5700 male 2007 174 5000 female 2007 175 4400 female 2007 176 5050 male 2007 177 5000 female 2007 178 5100 male 2007 179 4100 <NA> 2007 180 5650 male 2007 181 4600 female 2007 182 5550 male 2007 183 5250 male 2007 184 4700 female 2007 185 5050 female 2007 186 6050 male 2007 187 5150 female 2008 188 5400 male 2008 189 4950 female 2008 190 5250 male 2008 191 4350 female 2008 192 5350 male 2008 193 3950 female 2008 194 5700 male 2008 195 4300 female 2008 196 4750 male 2008 197 5550 male 2008 198 4900 female 2008 199 4200 female 2008 200 5400 male 2008 201 5100 female 2008 202 5300 male 2008 203 4850 female 2008 204 5300 male 2008 205 4400 female 2008 206 5000 male 2008 207 4900 female 2008 208 5050 male 2008 209 4300 female 2008 210 5000 male 2008 211 4450 female 2008 212 5550 male 2008 213 4200 female 2008 214 5300 male 2008 215 4400 female 2008 216 5650 male 2008 217 4700 female 2008 218 5700 male 2008 219 4650 <NA> 2008 220 5800 male 2008 221 4700 female 2008 222 5550 male 2008 223 4750 female 2008 224 5000 male 2008 225 5100 male 2008 226 5200 female 2008 227 4700 female 2008 228 5800 male 2008 229 4600 female 2008 230 6000 male 2008 231 4750 female 2008 232 5950 male 2008 233 4625 female 2009 234 5450 male 2009 235 4725 female 2009 236 5350 male 2009 237 4750 female 2009 238 5600 male 2009 239 4600 female 2009 240 5300 male 2009 241 4875 female 2009 242 5550 male 2009 243 4950 female 2009 244 5400 male 2009 245 4750 female 2009 246 5650 male 2009 247 4850 female 2009 248 5200 male 2009 249 4925 male 2009 250 4875 female 2009 251 4625 female 2009 252 5250 male 2009 253 4850 female 2009 254 5600 male 2009 255 4975 female 2009 256 5500 male 2009 257 4725 <NA> 2009 258 5500 male 2009 259 4700 female 2009 260 5500 male 2009 261 4575 female 2009 262 5500 male 2009 263 5000 female 2009 264 5950 male 2009 265 4650 female 2009 266 5500 male 2009 267 4375 female 2009 268 5850 male 2009 269 4875 <NA> 2009 270 6000 male 2009 271 4925 female 2009 272 NA <NA> 2009 273 4850 female 2009 274 5750 male 2009 275 5200 female 2009 276 5400 male 2009 277 3500 female 2007 278 3900 male 2007 279 3650 male 2007 280 3525 female 2007 281 3725 male 2007 282 3950 female 2007 283 3250 female 2007 284 3750 male 2007 285 4150 female 2007 286 3700 male 2007 287 3800 female 2007 288 3775 male 2007 289 3700 female 2007 290 4050 male 2007 291 3575 female 2007 292 4050 male 2007 293 3300 male 2007 294 3700 female 2007 295 3450 female 2007 296 4400 male 2007 297 3600 female 2007 298 3400 male 2007 299 2900 female 2007 300 3800 male 2007 301 3300 female 2007 302 4150 male 2007 303 3400 female 2008 304 3800 male 2008 305 3700 female 2008 306 4550 male 2008 307 3200 female 2008 308 4300 male 2008 309 3350 female 2008 310 4100 male 2008 311 3600 male 2008 312 3900 female 2008 313 3850 female 2008 314 4800 male 2008 315 2700 female 2008 316 4500 male 2008 317 3950 male 2008 318 3650 female 2008 319 3550 male 2008 320 3500 female 2008 321 3675 female 2009 322 4450 male 2009 323 3400 female 2009 324 4300 male 2009 325 3250 male 2009 326 3675 female 2009 327 3325 female 2009 328 3950 male 2009 329 3600 female 2009 330 4050 male 2009 331 3350 female 2009 332 3450 male 2009 333 3250 female 2009 334 4050 male 2009 335 3800 male 2009 336 3525 female 2009 337 3950 male 2009 338 3650 female 2009 339 3650 female 2009 340 4000 male 2009 341 3400 female 2009 342 3775 male 2009 343 4100 male 2009 344 3775 female 2009 ``` --- class: middle # If you're teaching a tidyverse centric course, you'll get tibbles ``` # A tibble: 344 x 8 species island bill_length_mm bill_depth_mm flipper_length_mm body_mass_g <fct> <fct> <dbl> <dbl> <int> <int> 1 Adelie Torgersen 39.1 18.7 181 3750 2 Adelie Torgersen 39.5 17.4 186 3800 3 Adelie Torgersen 40.3 18 195 3250 4 Adelie Torgersen NA NA NA NA 5 Adelie Torgersen 36.7 19.3 193 3450 6 Adelie Torgersen 39.3 20.6 190 3650 7 Adelie Torgersen 38.9 17.8 181 3625 8 Adelie Torgersen 39.2 19.6 195 4675 9 Adelie Torgersen 34.1 18.1 193 3475 10 Adelie Torgersen 42 20.2 190 4250 # … with 334 more rows, and 2 more variables: sex <fct>, year <int> ``` .footnote[Thanks to [Hadley Wickham!](https://github.com/allisonhorst/palmerpenguins/pull/25)] --- exclude: true We learn better from 'ingroup' members: > Babies as young as 14 months will prefer to imitate the novel actions of people who speak their own language, over a foreign-language speaker. .footnote[https://pubmed.ncbi.nlm.nih.gov/33203741/; https://pubmed.ncbi.nlm.nih.gov/23006251/; https://pubmed.ncbi.nlm.nih.gov/21159092/] --- class: middle, center, inverse ![](https://media.giphy.com/media/26tOY7amTI3QyIbZe/giphy.gif) --- class: section, middle, center background-image: url(images/distill.png) background-size: 15% background-position: bottom, center .frame[ # Be an advocate ] -- # Case study #2: `distill` --- background-image: url(images/distill-theme.png) background-position: bottom, center background-size: 75% class: top, center # Issue #19 --- class: middle, center, inverse # "The default website" ![](https://media.giphy.com/media/10ngGQdSSV7EZ2/giphy.gif) --- class: middle So we knew this was a problem. -- And we thought if we could do a good job on this it would matter. -- It would *also* make distill content more accessible (allowing users to increase font size and color contrast). --- class: middle .panelset[ .panel[.panel-name[Default] ![](https://rstudio.github.io/distill/images/theme-before.png) ] .panel[.panel-name[Themed] ![](https://rstudio.github.io/distill/images/theme-after.png) ] ] --- class: center, inverse, middle # Footage from the Hugo theme testing laboratory, pre-`rstudio::global` -- ![](https://media.giphy.com/media/PW24kUmUv3vlm/giphy.gif) --- name: postcard background-image: url(images/postcard.jpg) background-size: 50% background-color: white background-position: left class: middle --- template: postcard .pull-right[ > "Create simple, beautiful personal websites and landing pages using only R Markdown." > > [Sean Kross](https://github.com/seankross/postcards) ] --- template: postcard .pull-right[ Distill is a package that *also* helps you make simple, beautiful websites and blogs using only R Markdown. Distill + postcards are [M-F-E-O](https://alison.rbind.io/post/2020-12-22-postcards-distill/) ] --- background-image: url(images/anyene.png) background-size: contain background-position: middle, center --- background-image: url(images/preu.png) background-size: contain background-position: middle, center --- background-image: url(images/laderas.png) background-size: contain background-position: middle, center --- class: middle, center, inverse ![](https://media.giphy.com/media/j4s6M0gYs5fUs/giphy.gif) --- class: top, center background-image: url(images/blogdown.jpg) background-size: 63% background-position: bottom, center .frame[ # Case study #3: `blogdown` ] ??? 3 acknowledge (reliable -> trust; is there a "credible" effect here "I'm a reliable expert"; what is hard is hard, what you think is easy...is "easy"?) blogdown checks --- <img src="figs/cran-cum-1.png" width="100%" /> --- class: middle, center # What is hard about blogdown? -- [I asked this in 2018](https://community.rstudio.com/t/what-is-hard-about-blogdown/8108/24). -- I was *really* wrong. -- What is really hard about blogdown is that it is scary. ![](https://media.giphy.com/media/OqqL7hw2U4dSo/giphy.gif) --- class: center, inverse, middle # Troubleshooting blogdown sites ![](https://media.giphy.com/media/4d8cNCXRnr2pO/giphy.gif) --- class: section, middle, center .frame[ # Be an accomplice ] --- class: middle # ✈️ Pre-flight checks ```r library(blogdown) # kitchen sink check_site() # one at a time check_config() check_gitignore() check_hugo() check_netlify() check_content() ``` -- .footnote[[PR](https://github.com/rstudio/blogdown/pull/534); [issue](https://github.com/rstudio/blogdown/issues/510); [post](https://alison.rbind.io/post/2020-12-27-blogdown-checks/)] --- class: middle .panelset[ .panel[.panel-name[Before] ```{.r} blogdown:::serve_site() -------------------------------------------------------------------------------- You are recommended to ignore more items in the 'ignoreFiles' field in config.toml: "\\.Rmd$", "\\.Rmarkdown$", "\\.knit\\.md$", "\\.utf8\\.md$" -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- You are recommended to remove the item '_files$' in the 'ignoreFiles' field in config.toml. -------------------------------------------------------------------------------- ``` ] .panel[.panel-name[Check] ```{.r} blogdown::check_config() ― Checking config.toml | Checking "baseURL" setting for Hugo... ○ Found baseURL = "https://alison.rbind.io"; nothing to do here! | Checking "ignoreFiles" setting for Hugo... ● [TODO] Add these items to the "ignoreFiles" setting: "\\.Rmd$", "\\.Rmarkdown$", "\\.knit\\.md$", "\\.utf8\\.md$" | Checking setting for Hugo's Markdown renderer... ○ All set! Found the "unsafe" setting for goldmark. ― Check complete: config.toml ``` ] ] --- class: middle .panelset[ .panel[.panel-name[Before] ```{.r} The 'publish' setting in 'netlify.toml' is 'public/' but the publish dir in the Hugo config file is 'public'. You may want to change the former to the latter. ``` ] .panel[.panel-name[Check] ```{.r} blogdown::check_netlify() ― Checking netlify.toml... ○ Found HUGO_VERSION = 0.79.0 in [build] context of netlify.toml. | Checking that Netlify & local Hugo versions match... ○ It's a match! Blogdown and Netlify are using the same Hugo version (0.79.0). | Checking that Netlify & local Hugo publish directories match... ○ Good to go - blogdown and Netlify are using the same publish directory: public ― Check complete: netlify.toml ``` ] ] --- class: middle .panelset[ .panel[.panel-name[Before] ```{.r} The date of the post is in the future: '2025-01-01'. See https://github.com/rstudio/blogdown/issues/377 for consequences. To turn off this warning, set options(blogdown.warn.future = FALSE). ``` ] .panel[.panel-name[Check] ```{.r} blogdown::check_content() ― Checking content files | Checking for previewed content that will not be published... ● [TODO] Found 1 file with a future publish date: content/talk/2021-rstudio-global/index.md If you want to publish today, change a file's YAML key to 'date: 2020-12-27' ○ Found 0 files marked as drafts. | Checking your R Markdown content... ○ All R Markdown files have been knitted. ○ All R Markdown output files are up to date with their source files. | Checking for .html/.md files to clean up... ○ Found 0 duplicate .html output files. ○ Found 0 incompatible .html files to clean up. ― Check complete: Content ``` ] ] --- # On design > "In Japan and Korea, the ○ mark is used instead of the check mark, and the X or ✓ mark are commonly used for wrong." > > [Wikipedia](https://en.wikipedia.org/wiki/Check_mark) -- ```{.r} ---------------------------------------------------------- ○ A successful check looks like this. ● [TODO] A check that needs your attention looks like this. | Let's check out your blogdown site! ---------------------------------------------------------- ``` And we managed to avoid ✗ shapes, which always port you back to 5th grade math. --- class: middle > I can understand exactly what's being checked, I'm able to follow along with what's going on behind the scenes with each step, and I understand what I need to do next. What a difference! These messages are so much more helpful and clear -- I am so impressed! -- > Really enjoy the encouraging console output that accompanies the new blogdown::check_site() function. -- > I can't get over how great all the checks are in the new version of #blogdown. Wow. #RStats -- > Also blogdown::check_site() is a lifesaver for debugging your site -- > A friend of mine recently ran blogdown::check_config() and thanks to the messaging was able to fix some critical things that had been causing her (and me, by association!) some major confusion and headaches. Hurray! -- > I feel empowered to continue using blogdown. --- class: middle, center, inverse <video width="300" height="400" controls> <source src="images/gitignore.mp4" type="video/mp4"> Your browser does not support the video tag. </video> --- template: kind-tools --- name: goodbye class: bottom background-color: #fad662 .pull-left[ ### Sincere thanks to: + Allison Horst, + Kristen Gorman, + JJ Allaire, + Christophe Dervieux, + Rich Iannone, + Charles Teague, + Hadley Wickham, and + Yihui Xie. ] .pull-right[ .right[ <img style="border-radius: 50%;" src="https://github.com/apreshill.png" width="150px"/> # Thank you! ### Find me at... [<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="rfa" style="height:0.75em;fill:currentColor;position:relative;"><path d="M459.37 151.716c.325 4.548.325 9.097.325 13.645 0 138.72-105.583 298.558-298.558 298.558-59.452 0-114.68-17.219-161.137-47.106 8.447.974 16.568 1.299 25.34 1.299 49.055 0 94.213-16.568 130.274-44.832-46.132-.975-84.792-31.188-98.112-72.772 6.498.974 12.995 1.624 19.818 1.624 9.421 0 18.843-1.3 27.614-3.573-48.081-9.747-84.143-51.98-84.143-102.985v-1.299c13.969 7.797 30.214 12.67 47.431 13.319-28.264-18.843-46.781-51.005-46.781-87.391 0-19.492 5.197-37.36 14.294-52.954 51.655 63.675 129.3 105.258 216.365 109.807-1.624-7.797-2.599-15.918-2.599-24.04 0-57.828 46.782-104.934 104.934-104.934 30.213 0 57.502 12.67 76.67 33.137 23.715-4.548 46.456-13.32 66.599-25.34-7.798 24.366-24.366 44.833-46.132 57.827 21.117-2.273 41.584-8.122 60.426-16.243-14.292 20.791-32.161 39.308-52.628 54.253z"/></svg> @apreshill](http://twitter.com/apreshill) [<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 496 512" class="rfa" style="height:0.75em;fill:currentColor;position:relative;"><path d="M165.9 397.4c0 2-2.3 3.6-5.2 3.6-3.3.3-5.6-1.3-5.6-3.6 0-2 2.3-3.6 5.2-3.6 3-.3 5.6 1.3 5.6 3.6zm-31.1-4.5c-.7 2 1.3 4.3 4.3 4.9 2.6 1 5.6 0 6.2-2s-1.3-4.3-4.3-5.2c-2.6-.7-5.5.3-6.2 2.3zm44.2-1.7c-2.9.7-4.9 2.6-4.6 4.9.3 2 2.9 3.3 5.9 2.6 2.9-.7 4.9-2.6 4.6-4.6-.3-1.9-3-3.2-5.9-2.9zM244.8 8C106.1 8 0 113.3 0 252c0 110.9 69.8 205.8 169.5 239.2 12.8 2.3 17.3-5.6 17.3-12.1 0-6.2-.3-40.4-.3-61.4 0 0-70 15-84.7-29.8 0 0-11.4-29.1-27.8-36.6 0 0-22.9-15.7 1.6-15.4 0 0 24.9 2 38.6 25.8 21.9 38.6 58.6 27.5 72.9 20.9 2.3-16 8.8-27.1 16-33.7-55.9-6.2-112.3-14.3-112.3-110.5 0-27.5 7.6-41.3 23.6-58.9-2.6-6.5-11.1-33.3 2.6-67.9 20.9-6.5 69 27 69 27 20-5.6 41.5-8.5 62.8-8.5s42.8 2.9 62.8 8.5c0 0 48.1-33.6 69-27 13.7 34.7 5.2 61.4 2.6 67.9 16 17.7 25.8 31.5 25.8 58.9 0 96.5-58.9 104.2-114.8 110.5 9.2 7.9 17 22.9 17 46.4 0 33.7-.3 75.4-.3 83.6 0 6.5 4.6 14.4 17.3 12.1C428.2 457.8 496 362.9 496 252 496 113.3 383.5 8 244.8 8zM97.2 352.9c-1.3 1-1 3.3.7 5.2 1.6 1.6 3.9 2.3 5.2 1 1.3-1 1-3.3-.7-5.2-1.6-1.6-3.9-2.3-5.2-1zm-10.8-8.1c-.7 1.3.3 2.9 2.3 3.9 1.6 1 3.6.7 4.3-.7.7-1.3-.3-2.9-2.3-3.9-2-.6-3.6-.3-4.3.7zm32.4 35.6c-1.6 1.3-1 4.3 1.3 6.2 2.3 2.3 5.2 2.6 6.5 1 1.3-1.3.7-4.3-1.3-6.2-2.2-2.3-5.2-2.6-6.5-1zm-11.4-14.7c-1.6 1-1.6 3.6 0 5.9 1.6 2.3 4.3 3.3 5.6 2.3 1.6-1.3 1.6-3.9 0-6.2-1.4-2.3-4-3.3-5.6-2z"/></svg> @apreshill](http://github.com/apreshill) [<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="rfa" style="height:0.75em;fill:currentColor;position:relative;"><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></svg> alison.rbind.io](https://alison.rbind.io) ] ]