swh.lister.cran
Add a lister to list all the CRAN packages . It uses the build-in API in R language to list the packages and get their metadata. Closes T1709
This commit is contained in:
parent
7c6245e663
commit
a9a37a85bf
12 changed files with 210 additions and 1 deletions
12
README.md
12
README.md
|
@ -17,6 +17,7 @@ following Python modules:
|
|||
- `swh.lister.pypi`
|
||||
- `swh.lister.npm`
|
||||
- `swh.lister.phabricator`
|
||||
- `swh.lister.cran`
|
||||
|
||||
Dependencies
|
||||
------------
|
||||
|
@ -188,6 +189,17 @@ from swh.lister.gnu.tasks import gnu_lister
|
|||
|
||||
logging.basicConfig(level=logging.DEBUG)
|
||||
gnu_lister()
|
||||
|
||||
## lister-cran
|
||||
|
||||
Once configured, you can execute a RCRAN lister using the following instructions in a `python3` script:
|
||||
|
||||
```lang=python
|
||||
import logging
|
||||
from swh.lister.cran.tasks import cran_lister
|
||||
|
||||
logging.basicConfig(level=logging.DEBUG)
|
||||
cran_lister()
|
||||
```
|
||||
|
||||
Licensing
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue