Hey, this seems familiar! Almost like I have had to do this too
Stephen Wild
One time maybe 10 years ago I gave a guest lecture to a grad stats class, I had some as.numeric(as.character(data$column)) in my code, which I explained by "Sometimes R just haphazardly decides to change data types and this forces it to treat it as a number, particularly on different computers".
I am 'i have to put this special chunk of code here so this script will run on my machine and i don't want to talk about it, OKAY' version-control years old