A lot of things done on this website, or contained in tutorials, need plenty lines of R code to accomplish. And over time, it would be very difficult for me to maintain clarity with this pieces of code, so the best way to avoid this was by creating personal package. It may contain extensions to specific packages (like bibliometrix) or related to some topic (like Eurostat, or text mining) and this is usually expressed by prefixes to function names. All functions start with ok., and then cateogry of function is used (i.e. ok.text) and then what is done (ok.text.removeUrls).
It is far from being perfect, and for this reason you are welcome to post comments or open issues on GitHub. Here is the link to the package: