What are the best practices to project analysis codebase for being manipulated?
As I am learning more about some sensitive industries, it seems making an R or python package may not be the best solution if the source code can be manipulated by anyone at anytime. It is quiet straight forward to change the source code even when installed from CRAN or pip.