Originally posted by daniel klein
View Post
- Checking if a command is already installed and installing it if that's not the case does not solve the problem of having different versions of a command. While I agree that this is not the root of the problem of the replication crisis, it is an issue I have encountered more than once when checking if I could reproduce the results of a paper (it's happened on no more than 5% of the rep checks I've done, but still it did happen).
- In general, it is not good practice to install things on other people's machines, and it is definitely bad practice to do so without making it very clear to whoever is running any code that the code does so. This could bring upon the very same issue that version-controlling packages is trying to prevent. There is some discussion about this in this thread, but this is one of the reasons why virtual environments and package managers were created in the first place.
Comment