The inside story of how Claude Code with the proper scope provided a massive boost to drafting hundreds of pull requests, and debunking the myth on settling for compromises when prioritizing accessibility principles as demonstrated by a prominent leader in the visualization space. Plus we address candid feedback on last week's discussion on the tinyshinyserver package. Episode Links This week's curator: Jon Calder - @jonmcalder@fosstodon.org (Mastodon) & @jonmcalder (X/Twitter) Semi-automating 200 Pull Requests with Claude Code How to create a more accessible line chart Entire issue available at rweekly.org/2026-W04 Supplement Resources Risk Conference hosted by the R Consortium (February 18-19, 2026) https://rconsortium.github.io/Risk_website/ Supporting the show Use the contact page at https://serve.podhome.fm/custompage/r-weekly-highlights/contact to send us your feedback R-Weekly Highlights on the Podcastindex.org - You can send a boost into the show directly in the Podcast Index. First, top-up with Alby, and then head over to the R-Weekly Highlights podcast entry on the index. A new way to think about value: https://value4value.info Get in touch with us on social media Eric Nantz: @rpodcast@podcastindex.social (Mastodon), @rpodcast.bsky.social (BlueSky) and @theRcast (X/Twitter) Mike Thomas: @mike_thomas@fosstodon.org (Mastodon), @mike-thomas.bsky.social (BlueSky), and @mike_ketchbrook (X/Twitter) Music credits powered by OCRemix Divinity - The Legend of Zelda: A Link to the Past - Nostalvania - https://ocremix.org/remix/OCR03442
Audio and video play straight from the show's own hosting. PodSubs stores and serves no media.
Transcript
From the show. Tap a time to play from there.
Hello friends, we are back of episode two eighteen of the Our Weekly Highlights Podcast. We are a couple days later because yeah, the day job schedule is a bit hectic for yours truly, but we're here now at least. And this is the weekly podcast where we talk about the excellent highlights and additional feedback that we get from our community that's shared every single week at rweekly.org. My name is Eric Nance, I'm happy you have joined us from wherever you are around this wide world we live in. And I'm joined as always by my co host Mike Thomas, who hopefully is staying warm up there because a lot of the world is bracing for a winter ice apocalypse, it sounds like in the coming days.
It's going to be tough here in a lot of The US over the next coming days. I've got a teammate in North Dakota who I think today it was minus 25 Fahrenheit. And then I've got a teammate in Argentina who's currently on a beach playing bocce and it's 86 degrees. So, yeah, depending on where you are in the world, hope you're having a good day. The dichotomy is large and yes, we have some big meetings next week at the day job. We have some folks coming from the Southern part of US
and they're about to get hammered with ice and who knows? So we'll see what happens. But no ice apocalypse here on this recording here at least. So we're going to dive right into it. We got a couple of great highlights to talk about and some very thought provoking feedback to share at the end, but our curator this week is John Calder. He's also been on the Our Weekly Curator team for quite a while. Thanks again, John, for sticking with us for 2026, but as always, he had tremendous help from our fellow Our Weekly team members and contributors like all of you around the world of your poll requests and other wonderful suggestions.
And we are going to lead off with a topic we'll probably dive into also a bit in the feedback as well, but there are times when there may be some very interesting cases where being able to get a little helping hand from a larger language model might end up saving you a lot of time. However, it needs to be used responsibly because sometimes things can go off the rails a little bit if you're not careful, but we have our first highlight here is one such case that I think
many, especially in the package development community, can very much relate to. This is coming to us from Davis Vaughn, who is a engineer on deposit team, especially regarding the Tidyverse packages. And he talks about how he was able to at least in a semi automated fashion, submit 200 poll requests to different packages that depend on dplyr with the help of ClawCode. So to set the stage a little bit,
the dplyr package, part of the tidyverse, is hugely important in the world of data science and especially in the world of R, and there are quite a few packages that use this as a dependency, and certainly I'm sure that's an understatement. And from time to time, certain functions, functionality will either slowly get deprecated or maybe warn to the user that it's, you know, the shelf life of that function is not much longer,
and there comes a time when the team does have to make the call to actually rip that function out. But it's always a courtesy when you're developing a package, when you're about to introduce a breaking change, no matter big or small, to at least try to take a look at what packages depend on your said package and try to help that maintainer out with the necessary updates to make sure that their package can be compliant with the latest version of dplyr, for example.
So this situation has come around in current term for the Tidyverse team, and Davis was tasked with, once again, trying to figure out what kind of code changes are necessary for, in this case, about 200 packages that utilize this certain functionality in dplyr we're about to talk about. He did a little back of the envelope math of what this typically takes in practice, usually for packages that he's not familiar with,
he'll need about ten minutes to do some dev time to craft the pull request necessary to help that maintainer with the break and change fix. So if that's ten minutes for a PR per package and there are 200 packages, that roughly works out to about thirty three hours of total work. And that might even be underselling it in certain cases because not every case is going to be that uniformly distributed in any amount of time. So he had talked to his team, in particular Hadley,
who suggested that Clog Code might actually be a help here. And Davis has been a skeptic of a lot of these tooling and how much it could help him, but he thought this was a good way to kind of test the waters here. So what we're about to talk about is that this did in fact help out quite a bit, but it wasn't necessarily that way right away. It did take a little crafting of proper framing and structure, but the TLDR, so to speak, is that this reduced the time
to submit these PRs or at get the PRs ready for review from that around thirty three hours to about eight hours and almost a whole working day at that point. That's not too shabby, so let's see what actually happened here. This function in question is from the dplyrid function. He mentions this has been defunct for a while and throwing an error, but that function has still been there in the code base,
and we won't dive into why it's been there for this time, but they wanted to rip this function out for this upcoming release. And there are other logistics of, you know, why they wanted to remove it, but that's not really the point here. The point is that with it removed, there are quite a few packages that depend on dplyr that would fail their R command checks as a result of whatever they're standardizing on. So this was a time to leverage quad code, and in particular the Opus 4.5 model,
which is getting a lot of positive attention in the community lately from many in the data science community and beyond. So that's what he went to start with here, and he tasked it with a minimal set of permissions, basically relayed to GitHub in his bash shell to fork clone repos, use some R scripting creation, editing R scripts, you know, using CAD and FIND and whatnot.
Then Claw came up with a plan such as, you know, cloning down the package in question with the GH package, setting up a kind of project based library folder for installing that package and running tests, and being able to analyze the package code, looking for any global variable calls that relates to what they're trying to fix here, running devtools check to make sure both the CRAN version and the dev version of dplyr were passing
in these checks, I should say, with these updated changes. And so that he has the full plan here as in the blog post, if you want to look with it, there's a lot to it, but it was tasking ClawCode to do quite a bit. And it gets to work pretty, pretty well. It starts to craft these PRs. He started reviewing them. He even has a little screencast of one of those, you know, reviews that he's looking at, but then something happens along the way.
One of which is he encountered rate limits from GitHub itself because it was throwing a lot of processes at the GitHub API to do all this cloning, this forking, and then submitting PRs or whatnot. And that was, usually he never encountered this before in his daily work, but there are a lot of sub processes that Clog Cove was spinning up behind the scenes and that will actually wreck everything at some point because it can't, Clawd
Code tried to work around this. So to its credit, it tried to work around it, but it resorted to going to unpacking tarballs from GitHub, like in the old days, if you will, and then trying to install these directly. And then the worst part is it didn't help them get that intelligent git like diff of the code updates because of this way of installing it and working with the package as opposed to the typical cloning the repo approach.
So along the way, it starts to even ignore the plan a little bit altogether, starts to show a bunch of permission warnings about not going to the R Package global library. It's just causing, or it's encountering a lot of problems, which is causing Davis a lot of problems in this. And his first attempt was to just give it a heck of a lot more permissions in this like JSON settings file. And it's a massive list of bash commands here. I don't think any sane person would want to do this in real practice, but he was just trying to get anything to solve it at this point.
But it was just like little band aids. It wasn't quite doing what he had in mind. And then at some point he just wanted to take a step back and try to figure out, Claude itself, it seemed like it was trying to do a bit too much, especially this idea of managing all the git, you know, interactions, setting up the package libraries. You know, we have tooling in the R community to automate a lot of that stuff already. The LLM doesn't really need to do that, right? So what he said, takes a step back, let's say, okay, how about
I clone all these 50 packages into a single directory via an R script, you could easily loop through that, generate the necessary library subdirectories, the R profiles, again a script that can do that, and then create this list in a bullet, like in a text way, of all the 50 packages it's going to work on so that you could track the progress pretty easily throughout ClogCode's operation. And let ClogCode do what it really needed help, what Davis really needed help with was getting these contribute these new code updates,
getting the diffs so that Davis could review them in his you know positron type IDE setup and then then submit the poll request after his review. With this updated plan which you can look to in the blog post as well it worked much much better. It did try you know there was maybe some permission things here and there but they were largely circumvented with this approach because his global r library is never touched by claw code trying to do something crazy with it and the diffs were
actually right as he wanted. He was able to look at the different patches. He has an example for the benthos package you can look at, and that's the stuff that he was dreading to do, and Clog Co. Did a decent job of it. So again, there's a screencast here to look at all this in action, but one might say, hey, this is great, but I've heard there can be a lot of token usage for all this. So the end of the post does look at the cost, you know, figures, and sure enough, when he ran the slash cost command in ClawCode,
it amounts to about a 150 ish dollars, a little less than that. Now, of course, that's not trivial by any means. However, if you think about posit paying him to do this drudgery for the amount of time it was kind of done in typical practice in a manual fashion, probably seems like a bargain compared to what a salaried pay might actually get or a contractor pay. So seems like we turn around Davis's perspective on this, in this case of it, but I want to hit home a couple of things.
One, the first attempt definitely was a result of Cloud Code trying to do too much at once, and when it ran into problems there, it introduced more problems. And that is something that is quite common in this space from what I'm hearing. These ambitious plans, if anything goes awry, intervention is needed at some point anyway. That tight scope, I think, is really important, but this is something where it's not like he was asking Claude Cove to do some novel,
brand new functionality, right? It's just updating the code bases of these packages to utilize or at least not utilize a deprecated function, but not break anything else that package does. Does. It's literally just to make it pass the command check. So I think with that tight focus, combined with what he learned in the first attempt of it, this is an intriguing case for, you know, those on the development side that want a little help with the little drudgery that can happen
in, like I said, package development life. So it definitely gave me some things to think about, Mike, but that was one of those cases where things go crazy at first, but if you persevere through it and take a step back, you might be able to get something useful out of ClawCode after all. I was actually watching this in real time on my GitHub feed, as I imagine, you know, many folks who follow Davis on GitHub did as well because there's a lot of activity, that was going on. And my initial reactions were one,
woah, you know, this makes me happy to see people being empathetic towards others, which in my humble opinion is a staple of open source by taking the time to reach out to all of the reverse dependency packages that you're going to affect before they get the CRAN archive warning email. And my second reaction was this must have been a ton of work. But as we get the peek behind the curtains here, it's really interesting the way that, you know, Davis was able to leverage Cloud Code for this particular task and,
not only just show us, you know, what worked, but also show us what didn't work. And and really appreciate him pasting some of his Claude code markdown instructions in the blog post. I had also never seen that permission style JSON file with all of those batch commands before. So that was new to me. Cloud Code is something that I haven't played around enough with and I certainly need to do some more of. And I always wonder if the amount of time and mental effort it takes to put together these markdown instructions or skills or whatever for Claude or your LLM of choice is
actually going to save time compared to just writing the code itself, and all that troubleshooting in the middle. And I think the reason that LLMs are so good at generating code is how much more black and white code is compared to every other like text based training data, like conversations, books and blogs. Code is literally the representation of answering a question. But there's very little ambiguity in code compared to answering a question in natural language. Right? It could be interpreted a bunch of different ways. But anyways,
this is probably obvious now, but it's something I still struggle with and maybe represent, maybe resonates with others out there that still enjoy writing code like myself instead of writing markdown all the time to make code and then carefully reviewing that code after the fact. Although I absolutely love it and use it every day for debugging or making smaller scale changes and stuff like that. I just haven't jumped two feet in yet, I feel like. And, you know, like you Eric, I really appreciate his insights into the actual ROI with his clawed costs at the end of the blog post. Because if you are doing this on a personal project and just let it rip, right, you could rack up a couple $100,
that may surprise you if you're not keeping an eye on that as well. So yeah, and I'm, you know, I'm still very early in my journey of just turning Clawcove loose on like a brand new project yet. I'm slowly going to get there, think for some cases. I hear the chatter in many other sectors and of course others in data science as well. I know Hadley's even sent some posts on Blue Sky recently about some packages he's made entirely through a quad code vibe coding session. And he of all people have gotten that to work well. So I mean, that's, speaks something right there. So,
but I think the scoping side of it is what I'll remember the most is that let's not forget the great innovations that have already happened from like an automation perspective in our community for a lot of the drudgery that goes before the code is even ready, which of course is in this case was cloning the repos, getting them installed in package, you know, library environments. This is something in life sciences we have to be very careful with because we often have project specific libraries for different, you know, clinical stuff.
So this is something that I want to lean into the existing stuff to automate that, but then let Claude or whatever LLM provider of choice do the drudgery that gets to the actual code stuff, which these apparently these new models are getting really good at. So yeah, I think Davis hearing his perspective from a self professed skeptic of how this might help him out personally. These stories more and more are what resonate with me the most. Practical,
very transparent ways of sharing their development workflow of this, I think has been very helpful. So kudos to Davis for an awesome post here. And rounding out our highlights today, we're going to take a visit to our visualization corner here, which is always an adventure on an audio podcast,
but an area that definitely gets talked about a bit, but a lot of times might be some misconceptions around it. And that's a topic of making sure our visualizations are accessible in the ways that it can reach the most broad audience, not just those that have the benefit of, you know, healthy vision and whatnot, but those that may have difficulties in looking at these visualizations. What can be done with the aesthetics to make these more readable to them,
but it's not always just on a compromise standpoint. One might think that it totally changes the output of this plot, but no, it's more about enhancing the communication of it. And who better in this space to talk about this than Nicole O'Renee, who has been so prevalent in her visualization adventures and thought leader making her own visualization guides and so much more. Her blog post is talking about how to make a more accessible line chart.
And in this, the line chart's actually not that complicated. She has an example here with code of what looks like a four line plot with a month on the x axis, the y value going from 0.2 to 0.6, and different categories. And they got the default kind of color palette, pretty thin lines, but there are lots of things that can be improved. But what is the things that can help the most without compromising the overall intent of this plot?
One of which is the size of the lines. They are a bit thin in the early going, so just updating the size of these, and in this case with ggplot2, that's just a simple line width call in the geom line, you can now see the lines with a lot better thickness, they pop out a lot more on the background. That's just one aspect. The other aspect is colors, which if you have the ability to distinguish colors, you know, through normal means, you don't think as much about this.
But the eye opening thing that happens is what happens with the colors that were chosen here if you force those to be a grayscale? And you see this in the second pick here, there are gray lines and I can't make heads or tails from one to the other out what differences they are. They all look gray to me. That's a wake up call that maybe you should look at a color blind friendly palette. And that is where there are some great resources that are shared here.
One of which is there is a new palette that I believe has become as of R4.0, the default palette for base R plots called the Acuhiito, I believe, and that is right there. And once she makes that change, these colors both look good from like the default color perspective, but I believe if they were converted to grayscale, they would show very sharp contrast between the four lines.
She also links to a great resource called Vis Palette to evaluate different color palette options if you want some choice in this and how they might look to those that are, you know, experiencing a different visual, you know, deficiency. So great way to check your color palettes. Oftentimes that alone is a huge win to make these plots more accessible. Other tips include maybe annotating the plot so it's not just color itself that's driving the main story,
and maybe the lines are more complex and it's harder to see the different patterns, having an annotation at the end of the plot can be very helpful for these, as well as perhaps different symbols of the points if they're connected via points. Sometimes things get a little busier when you do that, so you use that, you know, responsibly, but these are all visual cues to make things more distinguishable while preserving the overall intent of the plot. Other suggestions include faceting,
which can be very helpful where you hide the other lines in a more, you know, background kind of fashion and only make the line that should be the focus of the facet really pop out. That's definitely one approach there, as well as augmenting the plot with additional text. That can be very helpful too. And then she has a before and after from that default ggplot to this, you know, very nicely styled annotated plot with facets that can definitely be very helpful in communicating this to those across different backgrounds for visual
interpretation. Lots of great notes here shared here by Nicola as always, additional resources as well that she plugs and this blog post is fantastic, especially if you're just looking for a very practical example of how to up your game, so to speak, with accessibility without compromising your overall intent. Very good stuff here from Nicole. That big decision on how wide to make the lines in my line charts is always something I'm super particular about. Yes.
Got a feeling I'm not the only one. I was very interested in taking a look at that color palette, that you mentioned there, Oca Beato or something like that. It's supposed to be, I think, a lot more friendly. I did try to print it, in grayscale, and the contrast looked good except for the middle two lines. They looked almost identical, but it was very easy to tell the other lines apart. So, I would imagine, you know, maybe if you are someone who's red red green color blind or something like that, that it might, be a lot more accessible
of a palette than some of the defaults that we get. Still can't believe it's I mean, it's still you know, every time I generate a pure g g plot without adjusting the theme at all and that gray background and those thin lines, it's like, I can't I can't type, you know, theme minimal or theme BW fast enough. You and me both. Yep. But I always, you know, really appreciate the creativity that Nicole brings to these blog posts and particularly the concept of these line charts where you
dull or sort of make reduce the contrast of the lines that you still want to provide for context, but maybe aren't the main focus of the narrative that you're trying to portray. That's not a technique that I use enough. I need to start using that more. One that I do use all the time is sticking your conclusion right in the title and the subtitle as well, which I'm a big fan favorite of, particularly when you're communicating data results to non technical stakeholders. It
really makes that communication go a lot more efficiently than when I used to have to sort of explain what the chart was saying in the past. Just stick it right there in the title. It's a free tip. The other thing that Nicole put in this blog post that is from a woman named Amy Seesaw, it's her advice for writing alt text for data viz. I found very interesting. She has sort of this framework where you start with the chart type. So you're explaining in your alt type that your alt text, excuse me,
you use this template that's chart type of the type of data that you're showing, where, and then you include your reason for including the chart. And I think that's fantastic. It's reusable, especially if you are someone who's trying to include alt text, but sometimes, you know, need just a little bit of a starter to help you out. This is a great blog post to come back to for Amy's advice here. So thank you, Nicole, as always. Yep. And all the code is here and her site looks fantastic. This is a Quarto
Refresh blog. She mentioned she was doing some additional tweaks on it and it looks like they're looking fantastic, including the cover page, a nice little purple pinkish LX splash at the top. That's all good stuff. I love it. Absolutely love it. So just a small sample this week, but another powerful issue that we have available this week. And before we close out here, we do want to, you know, address some very thought provoking feedback we got from the last episode.
And friend of the show, John Harmon, sent us a note, sent me a note on Blue Sky about his take on what we covered at the end, towards the end of last week's episode about the tiny, shiny server package that we did, you know, correctly point out definitely was AI LLM generated, but John was a little, a little, I have to say, not too thrilled that this made it through both on the CRAN and into our weeklies,
feed itself. So first, John, thank you. I always enjoy hearing from you. One thing I think we need to be realistic about is that A) what CRAN does with this, I mean, that's some of the decision they're going to have to make. And, but I do think at some point, you know, this is going to become a bit more common than maybe we're ready to admit to. But I do think we were pretty fair about our assessment that neither
Mike or I have any illusions about using this in a production setting anytime soon and a lot of what Tiny Shiny Server is trying to do sounds too good to be true and in many cases it literally is too good to be true because it can't accomplish some of the key things that it outlines in its readme, which was massive and definitely as I was scrolling through at that time reviewing it, was a bit on the ambitious side to say the least. I think there is still a time and place to get help through LLMs that generate package code development,
as we just heard from, you know, our first highlight here, but we are trying to be fair to what are the trends in the R community and what comes to R weekly. So we do understand the feedback, but I think it's an important conversation or at least a point that will probably become more common, maybe not in this extreme example of Tiny Shiny Server, but a lot of software development now is going to get help from LLMs in various ways, shape or form,
and we'll see what happens in the future. But I think it was still important enough to cover regardless. Yeah, I would tend to agree with all those sentiments and you're right that we're going to be seeing more of this, I would imagine come through and I would have to guess that this is something that PyPI is just getting inundated with. Right? Maybe one of the pros of being, you know, more on the R side is that we're a smaller community, so we don't necessarily have to deal with maybe as much of the slop
slop as John puts it, that I have to imagine the Python community is facing just because more training data, more users, more code Python code out there. Yeah. I I mean, CRAN may have to do some self assessment around this. You know, they have good, in my opinion, guardrails framework, sometimes overly strict guardrails in a lot of cases. I think people feel that way for something being able to to pass all the checks and and get on to crayon. So the fact that this
made it through means that it must have passed all of those checks, which is interesting, and maybe something to spend a little more time researching on. Maybe there's no unit tests. Right? So it's it's easier to pass. Maybe the, the examples are very minimal. Something to take a look at. Yeah. And and, obviously, John and I are both working literally in the same industry right now. And we do have to take careful looks at package quality, just that they're on cramp period,
but what they actually do. So nothing that happened here is going to change our perspective on assessing these from a human level. But to be, let's be frank here, well before LLMs, CRAN has over 20,000 packages. Not every one of those is going to be quote unquote the most useful for our daily task and they may do things that over time just deprecate for various reasons for no fault of anybody, but they're in the end, you, the person listening, the customer of this package, whatever analysis you're doing,
you need to be the correct, you know, the reviewer of it and be accountable, especially if you're putting this in production, No matter what industry you're in, if you're putting in a package or depending on the package for a production thing, Mike and I build, you know, production grade apps in our literal day job right now. We are always very careful about what we take on from a dependency and if we can't stand by it, nope, it's out. We're gonna do something else instead. So that part never goes away and of course what never goes away is R Weekly itself. We love hearing from you. Let's hope it never goes away anyway
And you can get in touch with the project at RWeekly dot org. The link to pull requests to send us that great new resource that you found is right there at the top of the page. You can also get in touch with us like John did on our social medias. I am at rpodcastbsky. Social on bluesky. I'm also on Mastodon at rpodcastpodcastindex.social and I'm on LinkedIn. You just search my name and you'll find me there. And Mike, where can the listeners find you?
You can find me on blue sky at mike thomas. B s k y dot social. You can find me on LinkedIn if you search Ketchbrooke Analytics, k e t c h b r o o k. And excited to announce that I will be speaking at the risk, the twenty twenty six risk conference. That's r with an exclamation point s k put on by r consortium for those doing, at the intersection of data science and risk management. So check it out. It's online in February. We'll link in the show notes. Awesome stuff. I'm really happy to hear that. I'll have to tune in. That sounds like a fun event. So yep, as Mike said, we'll link all that in the show notes and we're going to link ourselves out of here. We got our day jobs calling back. So we're going to close-up shop for this edition of our weekly highlights
and we will be back with another edition of our weekly highlights next week.
Our takes on the increasing removal of friction in good and not-so-good ways thanks to AI, a visual tour of hot air balloon accident data, and a case study of novel image recognition with the rplatipus package. Episode...
The flow of both data and analytical jobs just got smoother with mizu, opening the door for multiple agent harnesses in Positron, and an optimal statistical model tailored to complex experimental designs with a friendly...
What happens when that online data set isn't so easy to download anymore? We learn of two packages to ease the pain of obtaining these files and then some. Plus a visit to the visualization corner with a handy way to...
The celebration of rOpenSci's 15-year anniversary continues with the community sharing their perspectives, and a fun Shiny app that could be quite useful during celebrations on a weekend or the holidays. If you ever...
We learn about the variety of ways you can contribute back to the core of R, a roundup of the excellent choices available for package and environment reproducibility, and an amazing collection of Shiny applications and...