R is for
Authoring!!

OOH Session #132…
Accordion folding

Open Office Hours
(June 02, 2026)






Reminder – check it out!!

Fantastic resource!!

Recap of Session
#131:

building a website!!

Typical website structured as several different .qmd files – easiest to manage from within a project folder

wizard (version 2024.12.1; Build 563) only provides template files if you follow the New Project... New Directory path

  • Existing Directory & Version Control paths do not provide “Quarto Website” template option (no biggie)

project:
  type: website
  output-dir: docs

website:
  title: "Kitty Wampas"
  navbar:              
    logo: "img/wampa.png"
    left:
      - href: index.qmd
        text: Home
      - href: discography.qmd
        text: Discography
      - calendar.qmd
      - contact.qmd
    tools:
      - icon: github
        menu:
          - text: Source Code
            href: https://github.com/jtkulas/kittywampas
          - text: Report an Issue
            href: https://github.com/jtkulas/kittywampas/issues
      - icon: facebook
        href: https://facebook.com
      - icon: twitter-x
        href: https://x.com
      - icon: youtube
        href: https://www.youtube.com/@Kittywampas1
  page-footer:  
    border: true
    center: "no Kitties or Wampas were harmed during the making of this band"
    left: "©Kitty Wampas 2026"
    right: 
      - text: "contact us"
        href: contact.qmd
    
format:
  html:
    mainfont: Zen Dots
    theme:
      light: flatly
      dark: darkly
    css: styles.css
    toc: true
    
    
#    
1
Important for publishing with GitHub – not necessary if publishing to Posit Connect Cloud
2
Navigation content & page ordering specified here
3
Right–hand navbar content specified here
4
Affects majority of content displayed on page – best practice is to also provide backup fonts (to be used if yours isn’t findable by a browser)
5
Specifying both light: and dark: gives you the navbar toggle

“overarching” YAML specifications that bind separate .qmd files into one coherent product (most commonly a book or website)

Published to Posit Connect Cloud on the stream – moved to GitHub after the stream

Today…

Accordion folding

Same concept as
code–folding:1

Show the code
# assign values
x <- 10.5
y <- 55

z <- x + y

# show the value 
z
[1] 65.5


This accordion only contains text, BUT…
…how ’bout some visuals?

& Session Info (June 02, 2026) Rendering:

R version 4.5.0 (2025-04-11 ucrt)
Platform: x86_64-w64-mingw32/x64
Running under: Windows 10 x64 (build 19045)

Matrix products: default
  LAPACK version 3.12.1

locale:
[1] LC_COLLATE=English_United States.utf8 
[2] LC_CTYPE=English_United States.utf8   
[3] LC_MONETARY=English_United States.utf8
[4] LC_NUMERIC=C                          
[5] LC_TIME=English_United States.utf8    

time zone: America/Chicago
tzcode source: internal

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base     

loaded via a namespace (and not attached):
 [1] compiler_4.5.0    fastmap_1.2.0     cli_3.6.5         tools_4.5.0      
 [5] htmltools_0.5.9   otel_0.2.0        rstudioapi_0.18.0 yaml_2.3.12      
 [9] rmarkdown_2.31    knitr_1.51        jsonlite_2.0.0    xfun_0.57        
[13] digest_0.6.39     rlang_1.1.7       evaluate_1.0.5   

Quarto version 1.9.37