4 ms·
Doesn't address documenting dependencies? This is scientific code we are talking about right? Perhaps we're talking past each other. This is what I mean. For a
by jonnycomputer 5y ago
Doesn't address documenting dependencies? This is scientific code we are talking about right? Perhaps we're talking past each other.
This is what I mean. For application or package development, say in python, or even in R, then you will want to test for a wide range of dependencies. Then a snapshot such as provided by virtualenv or conda is inadequate. Better to have a requirements.txt file, or something equivalent (like a poetry toml file).
But for a lot of scientific code, such as is published along side a paper, a snapshot is sufficient, and more than is usually provided. How many times have I downloaded a paper's R code only to find it won't run because of some dependency kludge that isn't explicitly stated? Too often.