ropensci / rix

Reproducible development environments for R with Nix
https://docs.ropensci.org/rix/
GNU General Public License v3.0
136 stars 12 forks source link

Need to handle packages listed under "Depends" for old packages like AER 1.2-8 #60

Closed b-rodrigues closed 1 year ago

b-rodrigues commented 1 year ago

Need to handle packages listed under "Depends" for old packages like AER 1.2-8

Package: AER
Version: 1.2-8
Date: 2019-11-08
Title: Applied Econometrics with R
Authors@R: c(person(given = "Christian", family = "Kleiber", role = "aut", email = "Christian.Kleiber@unibas.ch", 
             comment = c(ORCID = "0000-0002-6781-4733")),
             person(given = "Achim", family = "Zeileis", role = c("aut", "cre"), email = "Achim.Zeileis@R-project.org",
             comment = c(ORCID = "0000-0003-0918-3766")))
Description: Functions, data sets, examples, demos, and vignettes for the book
             Christian Kleiber and Achim Zeileis (2008),
         Applied Econometrics with R, Springer-Verlag, New York.
         ISBN 978-0-387-77316-2. (See the vignette "AER" for a package overview.)
LazyLoad: yes
Depends: R (>= 3.0.0), car (>= 2.0-19), lmtest, sandwich (>= 2.4-0),
        survival (>= 2.37-5), zoo
Suggests: boot, dynlm, effects, fGarch, forecast, foreign, ineq,
        KernSmooth, lattice, longmemo, MASS, mlogit, nlme, nnet, np,
        plm, pscl, quantreg, rgl, ROCR, rugarch, sampleSelection,
        scatterplot3d, strucchange, systemfit (>= 1.1-20), truncreg,
        tseries, urca, vars
Imports: stats, Formula (>= 0.2-0)
License: GPL-2 | GPL-3
NeedsCompilation: no
Packaged: 2019-11-08 00:06:11 UTC; zeileis
Author: Christian Kleiber [aut] (<https://orcid.org/0000-0002-6781-4733>),
  Achim Zeileis [aut, cre] (<https://orcid.org/0000-0003-0918-3766>)
Maintainer: Achim Zeileis <Achim.Zeileis@R-project.org>
Repository: CRAN
Date/Publication: 2019-11-08 09:03:55 UTC

should be simply adding the correct field to https://github.com/b-rodrigues/git2nixsha/blob/f32dc08f894e04b388387f89ce6aa1eb679ad788/git2nixsha.R#L89

but need to remove R itself

b-rodrigues commented 1 year ago

fixed with 93a0b56aae850ac404392ba5cf8e17f970e1c1a2