Closed black-snow closed 1 year ago
R does not really have versioned dependencies, and will always install the latest packages from CRAN, so you cannot depend on an exact version.
@gaborcsardi wait, really? There's no reasonable way for reproducible builds in R?
So many people in science use it. How are you supposed to reproduce anything built on R then?
Any why do devtools apparently note that you are requesting a specific version but then ignore it? Shouldn't they ignore it off the bat and not say "oh you want 0.1.5? Sure, I'll give you 0.2.0 then"? Or even say "sorry mate, we can only give you latest - go looking for the requested version by yourself and drop it into your lib"?
P.S.: thanks for the quick reply!
I don't know if this belongs here or in usethis (or if I'm missing something).
I wanted to specify a dependency on a specific version of a (CRAN) package. I tried
taxadb (== 0.1.5)
inDepends:
as well as inImports:
and while devtools seem to pick it up, they also seem to just ignore it:What the heck? I'm not profound in R, but this is absolutely not what I'd expect ;)