Closed grabear closed 6 years ago
Generate a YAML file that's kept somewhere in the users home or .config or wherever beRi's main files go. I think pip's are in .config.
This could also be done with r2py calls.
https://rpy2.readthedocs.io/en/version_2.8.x/robjects_rpackages.html#installing-removing-r-packages
Figure out how to properly parse HTML from the CRAN mirror site.
This works with pandas.read_html("https://cran.r-project.org/mirrors.html"), but it's still too messy to make any sense of it programatically.
BeautifulSoup4 should be of service.