R for
Authoring!!

OOH Session #84…
…test piloting

GitHub Copilot (IV):
positron

Open Office Hours
(June 27, 2025)

Recap of Session
#83:

GitHub Copilot (III) chattr!!!

/*-- scss:defaults --*/

@import url('https://fonts.googleapis.com/css?family=Dancing Script');
@import url('https://fonts.googleapis.com/css?family=Fontdiner Swanky');
@import url('https://fonts.googleapis.com/css?family=Mona Sans');
@import url('https://fonts.googleapis.com/css?family=Oswald');
@import url('https://fonts.googleapis.com/css?family=Joti One');

$presentation-title-slide-text-align: left;

// fonts
$font-family-sans-serif: "Palatino Linotype", "Book Antiqua", Palatino,
  FreeSerif, serif !default;
$presentation-line-height: 1.3;

.quarto-title-author-name {
  font-family: "Mona Sans";
  font-size: 65px;
  font-weight: bold;
  color: transparent; /* Make the text color transparent to show the gradient */
  background: linear-gradient(to bottom, #1E90FF 30%, #9146bd 100%); /* Gradient from purple to blue */
  -webkit-background-clip: text; /* Clip the gradient to the text */
  background-clip: text; /* Standard property for broader support */
  --fade-start: 50%; /* Kept for consistency, though not used here */
}

// colors
$body-bg: #e9cee5; 
$body-color: #a92777;
$link-color: #a92777;;
$selection-bg: #2a1625;

// headings
$presentation-heading-font: "Fontdiner Swanky", "Book Antiqua", Palatino,
  FreeSerif, serif !default;             
$presentation-heading-color: #a92777 !default;
$presentation-h1-text-shadow: 7px 7px #222;
$presentation-heading-text-shadow: 5px 5px #222;

// callouts

$callout-color-note: #a92777;
$callout-border-scale: -20%;

// code blocks 

/*$code-block-bg: #241f23;*/
$code-block-border-color: #a92777;

/*-- scss:mixins --*/

// Background generator
@mixin bodyBackground() {
  @include radial-gradient(#f2bbea, #faf5f9);
}

/*-- scss:rules --*/

.titleauthor {
  font-size: 65px;
  color:    white;
  font-weight: bold;
  font-family: 'Dancing Script';
  text-shadow: 
    2px 2px 2px black,
    -3px -3px 3px black;
}

// tilts, mirrors, etc 

.mirror {
  transform: rotateY(180deg);
}

.tilt {
  rotate: 20deg;
}

.tilt2 {
  rotate: -20deg;
}

// fonts

.copilot2 {
  font-family: "Oswald";
  color: transparent; /* Make the text color transparent to show the gradient */
  background: linear-gradient(to bottom, #1E90FF 50%, #9146bd 100%); /* Gradient from purple to blue */
  -webkit-background-clip: text; /* Clip the gradient to the text */
  background-clip: text; /* Standard property for broader support */
  --fade-start: 50%; /* Kept for consistency, though not used here */
  font-weight: bold;
}

.copilot3 {
  font-family: "Oswald";
  color: transparent; /* Make the text color transparent to show the gradient */
  background: linear-gradient(to bottom, #1E90FF 50%, #9146bd 100%); /* Gradient from purple to blue */
  -webkit-background-clip: text; /* Clip the gradient to the text */
  background-clip: text; /* Standard property for broader support */
  --fade-start: 50%; /* Kept for consistency, though not used here */
  font-weight: bold;
  text-shadow: 0px 0px !important;
}

.themingpink{
  color: #db72b6;
  font-family: "Fontdiner Swanky";
  text-shadow: 
    0px 0px 0px #2c528f,
    -5px -5px 0px #2c528f !important;
}

.themingblue{
  color: #2c528f;
  font-family: "Fontdiner Swanky";
  text-shadow: 
    0px 0px 0px #db72b6,
    -4px -4px 0px #db72b6 !important;
}

.foreground-image {
  z-index: 1000 !important;
}

.chatter {
  color: white;
  font-family: "Joti One";
  text-shadow: 
    4px 4px 0px black,
    -2px -2px 2px black !important;
}
1
seems to be best option given existing palette 🎨 – note also changed hyperlink color (affects multiple elements)

  1. install chattr package from CRAN 📦
  2. chattr::options(.chattr_chat = ellmer::chat_github()) connects to
  3. chattr::chattr_app() initiates the chat window (also see Note)
  4. chattr::chattr_test() will give feedback on your connection

Note

Posit recommends utilizing keyboard shortcuts to access the app

Today…

GitHub Copilot (IV): positron

Session Info (June 27, 2025) 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     

other attached packages:
[1] fontawesome_0.5.3

loaded via a namespace (and not attached):
 [1] digest_0.6.37     assertthat_0.2.1  lubridate_1.9.4   fastmap_1.2.0    
 [5] xfun_0.52         magrittr_2.0.3    glue_1.8.0        stringr_1.5.1    
 [9] knitr_1.50        htmltools_0.5.8.1 timechange_0.3.0  generics_0.1.3   
[13] rmarkdown_2.29    lifecycle_1.0.4   cli_3.6.5         vctrs_0.6.5      
[17] compiler_4.5.0    purrr_1.0.4       emo_0.0.0.9000    rstudioapi_0.17.1
[21] tools_4.5.0       evaluate_1.0.3    yaml_2.3.10       rlang_1.1.6      
[25] jsonlite_2.0.0    crayon_1.5.3      stringi_1.8.7