Getting weird R related errors. Going to merge some files with previous commit