# R code in the package should call library or require only exceptionally. Such calls are never needed for packages listed in ‘Depends’ as they will already be on the search path. It used to be common practice to use require calls for packages listed in ‘suggests’ in functions which used their functionality, but nowadays it is better to access such functionality via :: calls.
pass_checkMD5sums<- checkMD5sums2(dir=new_R_path, omit_files= c("etc/Rconsole", "etc/Rprofile.site")) # will work!
warning("There was some problem with installing R. Some files are not what they should be (e.g: check MD5 sums did not pass all the tests). \n You can try installing R again (either manually or through install.R()), \n and if the problem persists you can file a bug report by running: bug.report(package = 'installr') ")