unifiedml: A Unified Machine Learning Interface for R, is now on CRAN + Discussion about AI replacing humans

Wait 5 sec.

[This article was first published on T. Moudiki's Webpage - R, and kindly contributed to R-bloggers]. (You can report issue about the content on this page here)Want to share your content on R-bloggers? click here if you have a blog, or here if you don't.unifiedml is now available on CRAN. Just because. I wanted to see what was new We had an interesting discussion about the process of package publishing, and AI replacing human beings (the type of discussion that I’ll have with you when I’ll be out of this mysterious jail).Here is what I had to say about it:> > I see it has changed :) Just a question for my personal culture:> Is this going to be done by AI someday? Because it could/should.>> You want to be replaced by AI?On 11.11.2025 09:23, Thierry Moudiki wrote:> The question of whether one would want to be replaced by AI or not is> too narrow (in general and in particular in this context).>> To me, personally, it's like asking someone, back in the day, whether> he/she wants to use the wheel or not.>> It's already much better than us in many mundane tasks. And it could be> way, way more objective in this particular context.On 11.12.2025 00:09, Thierry Moudiki wrote:I said "AI" to follow up on your argument but this has nothing to do with text models. Not everything has to be AI.In order to validate or push such a thing in prod, you typically need GitHub Actions and a set of objective rules (e.g what's a critical warning, or a critical note, if there's such a thing...). It's not even AI (see e.g https://github.com/Techtonique/techtonique-r-pkgs). Typically, since submitting this package to your highest authority, I've shipped ~5 packages to PyPI (within minutes, and they also check if the code is malicious, or it will be removed) without being bothered by gatekeeping ("this comma is missing", "oh english grammar requires a full stop there"). And this is not an insult, it's food for thought (if you're humble enough to accept it), when Python is eating R at breakfast everyday. R seems to be stuck somewhere in a very distant past with discussions like this. That’s the comment of a foolish guy. If that is foolishness, I want to be foolish forever.The package, unifiedml, provides a consistent interface for machine learning in R, making it easier to work with different ML algorithms using a unified API.Why unifiedml?R has an incredibly rich ecosystem of machine learning packages, but each comes with its own syntax and conventions. unifiedml is an effort to bridge this gap by providing: Extremely lightweight (see for yourself: https://github.com/Techtonique/unifiedml/blob/main/R/model.R) and consistent API across different ML algorithms Automatic task detection (regression vs classification) Built-in cross-validation with appropriate metrics Model interpretation tools including feature importance and partial dependence plots Seamless integration with existing R packages (once installed) like glmnet, randomForest, and moreInstallationinstall.packages("unifiedml", repos = "https://cran.r-project.org/")library(unifiedml)Quick Start: Regression ExampleHere’s how easy it is to build a regression model:library(glmnet)data(mtcars)# Prepare dataX