TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

My Journey Submitting to Cran

14 pointsby apwheeleover 1 year ago

4 comments

twelfthnightover 1 year ago
I&#x27;ve always found R dependency and package management to be considerably worse than Python. Years ago we needed to use a Microsoft mirror of cran to pin versions which routinely went down making builds impossible. Pushing to cran is arbitrary and tedious, for instance you _must_ support Oracle Solaris. Lastly, the maintainer of cran is notoriously prickly. This means it&#x27;s way to easier to get new algorithms on pypi than cran, and hence a big reason why DS leans python over R.<p>I feel like cran is a great example of how more restrictions and tests is actually worse for software quality when it prevents iteration and creates toil for devs.
评论 #39119332 未加载
legobmw99over 1 year ago
This gives a good overview of the pains in getting a package on to CRAN, but that is sadly only the beginning. If you end up getting users, the process described here becomes fractally bad for future updates, as you can also receive rejections for breaking any test in any dependent package.<p>Any test, in any package, even if it is using some regex on an error message and you updated the wording to remove a typo.
sturmdevover 1 year ago
There’s probably a healthy balance somewhere between this and the PyPI approach. But I will say, R (including most CRAN libraries) is a dream to use for data analysis, whereas Python is an exercise in frustration. CRAN libraries are idiomatic, work without fuss, and feel like a cohesive ecosystem. In my experience, working with too many Python packages feels like holding an airplane together with tape.
评论 #39119326 未加载
xnxover 1 year ago
In the R ecosystem, it seems like the faults of the language and packages are made up for by the ease of use of RStudio. I&#x27;ve tinkered&#x2F;hacked in a lot of interpreted languages, but I&#x27;ve been most productive with R because of RStudio.