Claudy crans mcsm’hood

Our R package mcsm (containing functions and example for the book Introducing Monte Carlo Methods with R I wrote with George Casella in 2009) was archived on CRAN on March 6, 2022. It was removed because “check problems were not corrected in time”, i.e. because I did not update the functions within to accommodate the continuous upgrades of R that eventually made some functions not running… Fast forward to this era and I received a query from Springer to make such updates and then some to accompany the incoming Greek translation of the book (!). I was not much enthusiastic about going into each R function to suit the new format and constraints, but now being now I first checked with Gemini for the reasons why the package was incompatible and given the nature of the answer requested Claude to rewrite the entire package to this effect. Which took about one clock-hour, with Claude spotting and correcting two MCMC mistakes in two functions (!) After (installing docker and) verifying the resulting tar.gz file passed the R-devel check on my machine, I dropped the result on the CRAN webpage and got the green light a few minutes later. Et voilà! Maybe I should have asked for a Greek version of the users’ manual! Or of the entire package, which Claude deems feasible…

Leave a Reply