{"id":21400206,"url":"https://github.com/oefenweb/ansible-r","last_synced_at":"2025-04-09T15:10:12.611Z","repository":{"id":32263876,"uuid":"35838378","full_name":"Oefenweb/ansible-r","owner":"Oefenweb","description":"Ansible role to set up (the latest version of) R in Ubuntu systems","archived":false,"fork":false,"pushed_at":"2024-12-10T10:48:18.000Z","size":154,"stargazers_count":44,"open_issues_count":6,"forks_count":27,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-09T15:10:04.315Z","etag":null,"topics":["ansible","cran","r","ubuntu"],"latest_commit_sha":null,"homepage":"","language":"R","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Oefenweb.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2015-05-18T19:35:53.000Z","updated_at":"2024-12-10T10:48:07.000Z","dependencies_parsed_at":"2023-01-14T20:52:01.593Z","dependency_job_id":"c4c4d89a-ae1f-448b-8fd9-ea2623531ab6","html_url":"https://github.com/Oefenweb/ansible-r","commit_stats":{"total_commits":124,"total_committers":7,"mean_commits":"17.714285714285715","dds":0.07258064516129037,"last_synced_commit":"414c0b7f91c9431e9bd5b57444bbad89774c80f7"},"previous_names":[],"tags_count":78,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Oefenweb%2Fansible-r","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Oefenweb%2Fansible-r/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Oefenweb%2Fansible-r/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Oefenweb%2Fansible-r/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Oefenweb","download_url":"https://codeload.github.com/Oefenweb/ansible-r/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248055282,"owners_count":21040157,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ansible","cran","r","ubuntu"],"created_at":"2024-11-22T15:19:36.403Z","updated_at":"2025-04-09T15:10:12.584Z","avatar_url":"https://github.com/Oefenweb.png","language":"R","funding_links":[],"categories":[],"sub_categories":[],"readme":"## r\n\n[![CI](https://github.com/Oefenweb/ansible-r/workflows/CI/badge.svg)](https://github.com/Oefenweb/ansible-r/actions?query=workflow%3ACI)\n[![Ansible Galaxy](https://img.shields.io/badge/ansible--galaxy-r-blue.svg)](https://galaxy.ansible.com/Oefenweb/latest_r/)\n\nSet up the latest version of R in Ubuntu systems.\n\n#### Requirements\n\n* `littler` (will be installed)\n* `bash` (will not be installed)\n* `software-properties-common` (will be installed)\n* `dirmngr` (will be installed)\n* `apt-transport-https` (will be installed)\n\n#### Variables\n\n* `r_version`: [default: `34`, `35` for `Ubuntu \u003e= 18.04`, `40` for `Ubuntu \u003e= 20.04`]: Version to install\n\n* `r_cran_mirror`: [default: `https://cran.rstudio.com/`]: Your favorite [CRAN mirror](https://cran.r-project.org/mirrors.html)\n* `r_bioclite_url`: [default: `https://bioconductor.org/biocLite.R`]: The `biocLite.R` script URL for [Bioconductor](https://bioconductor.org/) installs\n\n* `r_install_dev`: [default: `false`]: Whether install the `r-base-dev` package\n* `r_install`: [default: `['littler']`]: Additional (apt) packages to install (e.g. `r-recommended`)\n\n* `r_packages_lib`: [default: `/usr/local/lib/R/site-library`]: The (default) library directory to install packages to\n* `r_packages_repos`: [default: `\"{{ r_cran_mirror }}\"`]: The (default) URL to install packages from\n\n* `r_packages`: [default: `[]`]: (CRAN) Packages to install or remove\n* `r_packages.{n}.name`: [required]: The name of the package\n* `r_packages.{n}.state`: [optional, default: `present`]: The state of the package (e.g. `updated`, `absent`)\n* `r_packages.{n}.type`: [optional, default: `cran`]: The type of the package (e.g. `bioconductor`)\n* `r_packages.{n}.lib`: [optional, default: `r_packages_lib`]: The library directory to install the package to\n* `r_packages.{n}.repos`: [optional, default: `r_packages_repos`]: The URL to install the package from\n\n* `r_environment`: [default: `{}`]: Environment variables to set (during the installation, update or delete packages tasks)\n\n* `r_scripts_install_path:`: [default: `/usr/local/bin`]: The path where to install the R script used to install, update and delete R package\n* `r_scripts_install_owner`: [default: `root`]: The owner of the R script to install, update and delete R package\n* `r_scripts_install_group`: [default: `root`]: The group of the R script to install, update and delete R package\n\n## Dependencies\n\nNone\n\n#### Example(s)\n\n##### Simple\n\n```yaml\n---\n- hosts: all\n  roles:\n    - oefenweb.r\n```\n\n##### Advanced\n\n```yaml\n---\n- hosts: all\n  roles:\n    - oefenweb.r\n  vars:\n    r_install_dev: true\n    # apt packages\n    r_install:\n      - r-recommended\n    # cran, bioconductor or github (R) packages\n    r_packages:\n      - name: dplyr\n      - name: Biobase\n        type: bioconductor\n      - name: mangothecat/franc\n        type: github\n```\n\n#### License\n\nMIT\n\n#### Author Information\n\nMischa ter Smitten\n\n#### Feedback, bug-reports, requests, ...\n\nAre [welcome](https://github.com/Oefenweb/ansible-r/issues)!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foefenweb%2Fansible-r","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Foefenweb%2Fansible-r","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foefenweb%2Fansible-r/lists"}