Debugging

Meetups
Reproducible Examples in Debugging
Author

George Hagstrom

Published

September 18, 2024

── Attaching core tidyverse packages ──────────────────────── tidyverse 2.0.0 ──
✔ dplyr     1.1.4     ✔ readr     2.1.5
✔ forcats   1.0.0     ✔ stringr   1.5.1
✔ ggplot2   3.5.1     ✔ tibble    3.2.1
✔ lubridate 1.9.3     ✔ tidyr     1.3.1
✔ purrr     1.0.2     
── Conflicts ────────────────────────────────────────── tidyverse_conflicts() ──
✖ dplyr::filter() masks stats::filter()
✖ dplyr::lag()    masks stats::lag()
ℹ Use the conflicted package (<http://conflicted.r-lib.org/>) to force all conflicts to become errors
Loading required package: xtable


Attaching package: 'likert'


The following object is masked from 'package:dplyr':

    recode


Loading required package: NLP


Attaching package: 'NLP'


The following object is masked from 'package:ggplot2':

    annotate


Loading required package: RColorBrewer


Attaching package: 'VisualStats'


The following object is masked from 'package:stats':

    simulate


Loading required package: shiny

Loading required package: openintro

Loading required package: airports

Loading required package: cherryblossom

Loading required package: usdata

Loading required package: markdown

Welcome to CUNY DATA606 Statistics and Probability for Data Analytics 
This package is designed to support this course. The text book used 
is OpenIntro Statistics, 4th Edition. You can read this by typing 
vignette('os4') or visit www.OpenIntro.org. 
 
The getLabs() function will return a list of the labs available. 
 
The demo(package='DATA606') will list the demos that are available. 

Attaching package: 'DATA606'

The following objects are masked from 'package:openintro':

    calc_streak, present, qqnormsim

The following objects are masked from 'package:VisualStats':

    beta_plot, chisquare_plot, distribution_plot, F_plot, hand_washing,
    normal_plot, t_plot

The following object is masked from 'package:utils':

    demo


Attaching package: 'reshape2'

The following object is masked from 'package:openintro':

    tips

The following object is masked from 'package:tidyr':

    smiths


Attaching package: 'psych'

The following objects are masked from 'package:VisualStats':

    logistic, logit

The following objects are masked from 'package:ggplot2':

    %+%, alpha


Attaching package: 'cowplot'

The following object is masked from 'package:lubridate':

    stamp

This talk by Jenny Bryan from RStudio::conf(2020) titled Object of type ‘closure’ is not subsettable is also very good about the challenges of debugging code.