{"id":15893419,"url":"https://github.com/multimeric/altrepr","last_synced_at":"2025-06-13T22:36:20.941Z","repository":{"id":191284477,"uuid":"625263213","full_name":"multimeric/altrepr","owner":"multimeric","description":"Tools for exploring and working with ALTREP objects in R","archived":false,"fork":false,"pushed_at":"2023-08-28T23:41:52.000Z","size":593,"stargazers_count":5,"open_issues_count":5,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-03T13:21:22.993Z","etag":null,"topics":["altrep","r"],"latest_commit_sha":null,"homepage":"https://multimeric.github.io/altrepr","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/multimeric.png","metadata":{"files":{"readme":"README.Rmd","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2023-04-08T15:13:01.000Z","updated_at":"2024-07-31T07:20:24.000Z","dependencies_parsed_at":"2023-08-29T06:36:59.772Z","dependency_job_id":"d2ca8924-1005-4290-8cc4-150e1c25ee50","html_url":"https://github.com/multimeric/altrepr","commit_stats":null,"previous_names":["multimeric/altrepr"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/multimeric/altrepr","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/multimeric%2Faltrepr","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/multimeric%2Faltrepr/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/multimeric%2Faltrepr/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/multimeric%2Faltrepr/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/multimeric","download_url":"https://codeload.github.com/multimeric/altrepr/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/multimeric%2Faltrepr/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259730845,"owners_count":22902921,"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":["altrep","r"],"created_at":"2024-10-06T08:10:28.957Z","updated_at":"2025-06-13T22:36:20.919Z","avatar_url":"https://github.com/multimeric.png","language":"C++","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# altrepr\n\n\u003c!-- badges: start --\u003e\n[![Lifecycle: experimental](https://img.shields.io/badge/lifecycle-experimental-orange.svg)](https://lifecycle.r-lib.org/articles/stages.html#experimental)\n[![CRAN status](https://www.r-pkg.org/badges/version/altrepr)](https://CRAN.R-project.org/package=altrepr)\n\u003c!-- badges: end --\u003e\n\n`altrepr` shines light on the enigmatic ALTREP (Alernate Representation) objects in R.\n\nIt offers:\n\n* Inspection of ALTREP types\n* Specialized constructors and inspections for the 4 built-in ALTREP classes in R\n* Detailed vignettes that explore these classes, how to use them in R, and\n  their internal workings\n\n## Installation\n\nYou can install the development version of altrepr like so:\n\n``` r\nremotes::install_github(\"multimeric/altrepr\")\n```\n\n## Example\n\n```{r example}\nlibrary(altrepr)\n```\n\n`1:5` is just a normal integer vector right? Wrong! It's a sneaky ALTREP\nmasquerading as an integer vector.\n\n```{r}\nx \u003c- 1:5\nis_altrep(x)\n```\n\nWith `altrepr` we can dig into the details:\n```{r}\nalt_details(x)\n```\n```{r}\ncompact_details(x)\n```\n\nAnd, if we're feeling brave, we can even edit the ALTREP:\n```{r}\nset_alt_data1(x, c(10, 1, 1))\nx\n```\n\nFor more information, refer to the detailed vignettes!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmultimeric%2Faltrepr","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmultimeric%2Faltrepr","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmultimeric%2Faltrepr/lists"}