{"id":30770762,"url":"https://github.com/cynkra/cheetahr","last_synced_at":"2025-10-07T23:27:04.865Z","repository":{"id":284533225,"uuid":"927803213","full_name":"cynkra/cheetahR","owner":"cynkra","description":"Super Fast Table Widget for R","archived":false,"fork":false,"pushed_at":"2025-07-28T12:21:20.000Z","size":5716,"stargazers_count":36,"open_issues_count":5,"forks_count":1,"subscribers_count":10,"default_branch":"main","last_synced_at":"2025-09-30T14:57:58.184Z","etag":null,"topics":["htmlwidget","r","speed","tables"],"latest_commit_sha":null,"homepage":"https://cynkra.github.io/cheetahR/","language":"R","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/cynkra.png","metadata":{"files":{"readme":"README.Rmd","changelog":"NEWS.md","contributing":null,"funding":null,"license":"LICENSE.md","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,"zenodo":null}},"created_at":"2025-02-05T15:14:16.000Z","updated_at":"2025-07-17T15:21:06.000Z","dependencies_parsed_at":"2025-04-29T15:49:53.134Z","dependency_job_id":"375716df-afce-4474-b9cb-39707235b72e","html_url":"https://github.com/cynkra/cheetahR","commit_stats":null,"previous_names":["cynkra/cheetahr"],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/cynkra/cheetahR","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cynkra%2FcheetahR","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cynkra%2FcheetahR/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cynkra%2FcheetahR/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cynkra%2FcheetahR/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cynkra","download_url":"https://codeload.github.com/cynkra/cheetahR/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cynkra%2FcheetahR/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278862022,"owners_count":26058851,"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","status":"online","status_checked_at":"2025-10-07T02:00:06.786Z","response_time":59,"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":["htmlwidget","r","speed","tables"],"created_at":"2025-09-04T23:13:48.082Z","updated_at":"2025-10-07T23:27:04.857Z","avatar_url":"https://github.com/cynkra.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# cheetahR\n\n\u003c!-- badges: start --\u003e\n[![CRAN status](https://www.r-pkg.org/badges/version/cheetahR)](https://CRAN.R-project.org/package=cheetahR)\n[![Lifecycle: experimental](https://img.shields.io/badge/lifecycle-experimental-orange.svg)](https://lifecycle.r-lib.org/articles/stages.html#experimental)\n\u003c!-- badges: end --\u003e\n\n`cheetahR` is an R package that brings the power of [Cheetah Grid](https://github.com/future-architect/cheetah-grid) to R. Designed for __speed__ and __efficiency__, `cheetahR` will allow you to __render millions of rows__ in just a few milliseconds, making it an excellent alternative to reactable and other R table widgets. The goal of cheetahR is to wrap the JavaScript functions of Cheetah Grid and make them readily available for R users, providing a seamless and high-performance table widget for R applications.\n\n## Features\n\n- __Ultra-fast__ rendering of large datasets.\n- __Lightweight__ and efficient memory usage.\n- __Customizable__ styling and formatting.\n- __Smooth__ scrolling and interaction.\n- __Seamless integration__ with R and Shiny.\n\n## Installation\n\nYou can install `cheetahR` from GitHub:\n\n```r\npak::pak(\"cynkra/cheetahR\")\n```\n\n## Getting Started\n\nSo far, `cheetah()` is available to render a dataframe in R\n\n```r\nlibrary(cheetahR)\n\n# Render table\ncheetah(iris)\n\n# Change some feature of some columns in the data\ncheetah(\n  iris,\n  columns = list(\n    Sepal.Length = column_def(name = \"Sepal_Length\"),\n    Sepal.Width = column_def(name = \"Sepal_Width\", width = 100)\n  )\n)\n```\n\n## API Integration\n\n`cheetahR` is compatible with Shiny, allowing for dynamic and interactive tables in web applications. Although still a work in progress.\n\n## Contributing\n\nWe welcome contributions! If you’d like to help improve `cheetahR`, feel free to submit issues, feature requests, or pull requests.\n\n### Software Pre-requiste\n\nTo contribute to this project, some software installations are required, such as `npm`, `node`, and `packer`. Please follow the slides attached to help you get started [pre-requisites](https://rsc.cynkra.com/js4Shiny/#/software-pre-requisites). Click here to install [packer](https://rsc.cynkra.com/js4Shiny/#/solutions). \n\nWhen you are in the project, do the following:\n\n```r\npacker::npm_install()\n# Change the code and then rebundle\npacker::bundle(\"development\") # For developement mode\npacker::bundle() # For production. Defaut!\n```\n\nYou may as well bundle for `dev` using `packer::bundle_dev()` when in developer mode and when ready for production use `packer::bundle_prod()`. You may also consider `watch()` which watches for changes in the `srcjs` and rebuilds if necessary, equivalent to `⁠npm run watch⁠`.\n\n### Debugging steps\n\n1. Once you run a function, for instance, `cheetah(iris)`, open the viewer on a web browser window (preferably Chrome as it is used to illustrate the action in this step). Note! Other browser pages may differ.\n2. Right-click on the widget and navigate to the \"inspect\" option on the drop-down menu\n![widget opened on the browser](man/figures/image1.png)\n3. At the top, where the tabs are displayed, navigate to the \"Sources\" tab. Open from the sidepanel \"cheetahr/srcjs/widgets/cheetah.js\" script\n![Inspector tabs are opened](man/figures/image2.png)\n4. Once the \"cheetah.js\" is opened on the main panel. You can set a breakpoint on any line number of the script and reload the page.\n![The breakpoint is shown](man/figures/image3.png)\n\n## Acknowledgments\n\nThis package is built on top of the amazing [Cheetah Grid](https://github.com/future-architect/cheetah-grid) JavaScript library.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcynkra%2Fcheetahr","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcynkra%2Fcheetahr","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcynkra%2Fcheetahr/lists"}