{"id":20888292,"url":"https://github.com/ismailsunni/altrnative","last_synced_at":"2026-04-17T03:31:26.114Z","repository":{"id":145983539,"uuid":"222448784","full_name":"ismailsunni/altRnative","owner":"ismailsunni","description":"An R package to run you R code in different R implementations and platforms on a docker container.","archived":false,"fork":false,"pushed_at":"2020-03-23T10:14:09.000Z","size":632,"stargazers_count":0,"open_issues_count":2,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-12-31T21:14:13.393Z","etag":null,"topics":["benchmark","docker","fastr","mro","pqr","r","renjin"],"latest_commit_sha":null,"homepage":null,"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/ismailsunni.png","metadata":{"files":{"readme":"README.Rmd","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","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":"2019-11-18T12:52:47.000Z","updated_at":"2020-03-23T10:14:11.000Z","dependencies_parsed_at":null,"dependency_job_id":"4d3e3300-f14c-432e-b352-554ec0d925d0","html_url":"https://github.com/ismailsunni/altRnative","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/ismailsunni/altRnative","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ismailsunni%2FaltRnative","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ismailsunni%2FaltRnative/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ismailsunni%2FaltRnative/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ismailsunni%2FaltRnative/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ismailsunni","download_url":"https://codeload.github.com/ismailsunni/altRnative/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ismailsunni%2FaltRnative/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31913573,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-16T18:22:33.417Z","status":"online","status_checked_at":"2026-04-17T02:00:06.879Z","response_time":62,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["benchmark","docker","fastr","mro","pqr","r","renjin"],"created_at":"2024-11-18T08:26:43.361Z","updated_at":"2026-04-17T03:31:26.097Z","avatar_url":"https://github.com/ismailsunni.png","language":"R","funding_links":[],"categories":[],"sub_categories":[],"readme":"---\noutput: github_document\n---\n\n\u003c!-- README.md is generated from README.Rmd. Please edit that file --\u003e\n\n```{r, include = FALSE}\nknitr::opts_chunk$set(\n  collapse = TRUE,\n  comment = \"#\u003e\",\n  fig.path = \"man/figures/README-\",\n  out.width = \"100%\"\n)\n```\n\n# altRnative\n\n\u003c!-- badges: start --\u003e\n[![Lifecycle: experimental](https://img.shields.io/badge/lifecycle-experimental-orange.svg)](https://www.tidyverse.org/lifecycle/#experimental)\n[![Travis build status](https://travis-ci.org/ismailsunni/altRnative.svg?branch=master)](https://travis-ci.org/ismailsunni/altRnative)\n[![DOI](https://zenodo.org/badge/DOI/10.5281/zenodo.3671405.svg)](https://doi.org/10.5281/zenodo.3671405)\n\u003c!-- badges: end --\u003e\n\nAn R package to run you R code in different R implementations and platforms in [Docker]() containers.\n\n## Installation\n\nYou can install the development version [from GitHub](https://github.com/ismailsunni/altRnative) with:\n\n``` r\n# install.packages(\"remotes\")\nremotes::install_github(\"ismailsunni/altRnative\")\n```\n\n## Example\n\n```{r example, cache=TRUE, results='hide', fig.width=8}\nlibrary('altRnative')\npull_docker_image(c('gnu-r', 'mro'), c('debian', 'ubuntu', 'fedora'))\n\nbenchmark_result = benchmarks_code(\n  code = \"1 + 1\", \n  r_implementations = c('gnu-r', 'mro'), \n  platforms = c('debian', 'ubuntu', 'fedora', 'archlinux'),\n  times = 3\n  )\n\nlibrary('ggplot2')\nautoplot(benchmark_result)\n```\n\n## Documentation\n\nDocumentation is created with [roxygen2](https://roxygen2.r-lib.org/) and the website with [pkgdown](https://pkgdown.r-lib.org/).\nRender both with the following commands:\n\n```{r docs, eval=FALSE}\nroxygen2::roxygenise(roclets = c('rd', 'collate', 'namespace', 'vignette'))\npkgdown::build_site()\n```\n\nThe file `README.md` is generated from `README.Rmd`.\nA [pre-commit hook]() added with [`usethis`](https://usethis.r-lib.org/reference/use_readme_rmd.html) should be configured to make sure the Markdown file is always up to date with the R Markdown file.\nAdd the following to a file `.git/hooks/pre-commit`:\n\n```bash\n#!/bin/bash\nREADME=($(git diff --cached --name-only | grep -Ei '^README\\.[R]?md$'))\nMSG=\"use 'git commit --no-verify' to override this check\"\n\nif [[ ${#README[@]} == 0 ]]; then\n  exit 0\nfi\n\nif [[ README.Rmd -nt README.md ]]; then\n  echo -e \"README.md is out of date; please re-knit README.Rmd\\n$MSG\"\n  exit 1\nelif [[ ${#README[@]} -lt 2 ]]; then\n  echo -e \"README.Rmd and README.md should be both staged\\n$MSG\"\n  exit 1\nfi\n```\n\n## Contribute\n\nPlease note that the 'altRnative' project is released with a [Contributor Code of Conduct](CODE_OF_CONDUCT.md).\nBy contributing to this project, you agree to abide by its terms.\n  \n## License\n\nThis project is published under MIT license, see file `LICENSE`.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fismailsunni%2Faltrnative","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fismailsunni%2Faltrnative","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fismailsunni%2Faltrnative/lists"}