Disclaimer: I am not a coder and have only a very limited working understanding of r, so I apologise if my question is completely feeble.
I was using the r package "pegas" (https://cran.r-project.org/web/packages/pegas/pegas.pdf) and came across some errors with some of the functions, which the package developer kindly fixed after I brought them to his attention. He provided the fixes on Github here: https://github.com/emmanuelparadis/pegas/commit/4ce1b3396a6e90f3acf76e44469b107a3a1923da
He said that I need to recompile the whole package with the new fixes.
The problem is, is that I have absolutely no idea how to do this. In my naivety, I tried install.packages("pegas", lib="~/Documents/", dependencies = "Depends"), thinking that I could then open the file and replace the necessary .R files, but this didn't work (I couldn't see any files in the library folder that resembled the .R files I need to update). I've done some searches on Google and here, but to be honest I just can't find something this specific that has been helpful. I am not even sure that I'm getting the files off Github correctly - I assume I do View < Raw < and then copy and paste the text into a text editor and save in the necessary format (i.e. .R).
I'm using a Mac and r Studio (r V. 3.2.4).