-
- Downloads
cran: Improve listing of R packages
Previously, the lister was relying on the use of the CRANtools R module but it has the drawback to only list the latest version of each registered package in the CRAN registry. In order to get all possible versions for each CRAN package, prefer to exploit the content of the weekly dump of the CRAN database in RDS format. To read the content of the RDS file from Python, the rpy2 package is used as it has the advantage to be packaged in debian. Related to swh/meta#1709.
Showing
- mypy.ini 6 additions, 0 deletionsmypy.ini
- requirements-test.txt 1 addition, 0 deletionsrequirements-test.txt
- requirements.txt 1 addition, 0 deletionsrequirements.txt
- swh/lister/cran/list_all_packages.R 0 additions, 9 deletionsswh/lister/cran/list_all_packages.R
- swh/lister/cran/lister.py 70 additions, 104 deletionsswh/lister/cran/lister.py
- swh/lister/cran/tests/data/list-r-packages.json 0 additions, 32 deletionsswh/lister/cran/tests/data/list-r-packages.json
- swh/lister/cran/tests/test_lister.py 159 additions, 115 deletionsswh/lister/cran/tests/test_lister.py
... | ... | @@ -8,6 +8,7 @@ psycopg2 |
python_debian | ||
repomd | ||
requests | ||
rpy2 | ||
setuptools | ||
tenacity >= 6.2 | ||
testing.postgresql |
swh/lister/cran/list_all_packages.R
deleted
100755 → 0
Please register or sign in to comment