tladeras’s avatartladeras’s Twitter Archive—№ 1,920

          1. @kara_woo on debugging boxplots: a case study in perseverance. Showing the debugging process #Rstudioconf
            oh my god twitter doesn’t include alt text from images in their API
        1. …in reply to @tladeras
          What is the bug? Isolate the problem, make a minimal reproducible example (reprex) #Rstudioconf
      1. …in reply to @tladeras
        Next: follow the trails. Start with warning and work backwards- search on github, read code, read comments, isolate issue with debug() #rstudioconf
    1. …in reply to @tladeras
      Isolating the objects with debug lets you look at intermediate result in object. Fixing issue requires experimentation, use reprex to check whether fix works. #rstudioconf
  1. …in reply to @tladeras
    Fixing bugs may introduce more bugs. Test many scenarios. Generalize fix to multiple scenarios, if possible #Rstudioconf