Uri Simonsoh @urisohn@twitter

632 Followers
88 Following
46 Posts
Pragmatic Methodologist & Behavioral Scientist at ESADE Business School (Barcelona)
webhttps://urisohn.com
bloghttp://datacolada.org
twitter@urisohn
Post data code materialshttp://researchbox.org
@mccarthymg
Shoot. Thanks.

Trying to migrate groundhog from MRAN to R Studio's pacakge manager, hiccup for M1 mac. Help?

https://community.rstudio.com/t/no-binaries-found-in-packagemanager-when-using-m1-mac-arm64/157978?u=urisohn

No binaries found in packagemanager when using M1 Mac (arm64)

I am testing the usage of Posit's pacakge manager as a substitue for MRAN and cannot find binaries for arm64 architecture on Posit, while I do find it both on CRAN and MRAN for the same date. Code below shows that source packages are found on packagemanager but not binaries, and that those binaries are available from mran and cran. This code runs fine in windows because those binaries are found, presumably it woud run also in Linux and older Mac, the problem is with arm64 binaries. #1 binarie...

RStudio Community
@brodriguesco
alright, easy enough with a short script to figure out.
@brodriguesco
that's great.
do you know if there is an easy way to pull all the dates for which they have binaries? (they don't have daily snapshots)

@brodriguesco
OK.
In Windows it is trivial
It is easy'ish in Mac
In Unix, harder I understand.

I don't know Docker enough.
How accessible a solution is it for the masses? Like if I am user unfamiliar with Docker, could a Docker based solution help me?

@brodriguesco
I am sure it plays a role.
But there are notable examples of the developers being at fault

1) stringasfactors=TRUE vs FALSE broke a high % of existing code.

2) tidyverse routinely introduces breaking changes that they document.

Blame aside, are you skeptical that providing access to old versions of packages helps?

@brodriguesco
I have wondered about that, to what extent the failures to reproduce really are on that kind of stuff. The authors of the paper I discuss claim it is not just that for they fix those things by hand. I have since heard from an editor from a journal that reproduces all code that they had plenty of issues.

I think looking at examples from pkgs is an upper bound and automatically running posted code is a lower bound. I wonder what the expected value is.

@brodriguesco
Can you DM or email me a link to it once you have it?

I just learned that MRAN will be shut down this year
So, am copying all their CRAN binaries, to eventually put in a public page

This is for `groundhog`, but will be open to all

If you know of alternatives or have thoughts: email me
#rstats
(BTW: http://datacolada.org/100)

[100] Groundhog 2.0: Further addressing the threat R poses to reproducible research - Data Colada

About a year ago I wrote Colada[95], a post on the threat R poses to reproducible research. The core issue is the 'packages'. When using R, you can run library(some_package) and R can all of a sudden scrape a website, cluster standard errors, maybe even help you levitate. The problem is that packages get updated...

Data Colada

Don't shoot me I'm only a #RStats baseplotter. (nothing against ggplot2, just a ❤️ 4 base r)

... and this is an amazing+modern baseplotting intro ⬇️
https://github.com/karoliskoncevicius/tutorial_r_introduction/blob/main/baseplotting.md

tutorial_r_introduction/baseplotting.md at main · karoliskoncevicius/tutorial_r_introduction

Contribute to karoliskoncevicius/tutorial_r_introduction development by creating an account on GitHub.

GitHub