{"id":50737797,"url":"https://github.com/royratcliffe/lua51","last_synced_at":"2026-06-10T15:02:13.776Z","repository":{"id":43944873,"uuid":"458626510","full_name":"royratcliffe/lua51","owner":"royratcliffe","description":"Wraps Lua 5.1.5 state machine using Rcpp","archived":false,"fork":false,"pushed_at":"2022-02-13T12:59:33.000Z","size":33,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2023-04-11T20:50:39.804Z","etag":null,"topics":["lua","r","r-package"],"latest_commit_sha":null,"homepage":"https://royratcliffe.github.io/lua51/","language":"R","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/royratcliffe.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}},"created_at":"2022-02-12T20:02:22.000Z","updated_at":"2022-02-13T09:52:20.000Z","dependencies_parsed_at":"2022-09-24T20:02:24.552Z","dependency_job_id":null,"html_url":"https://github.com/royratcliffe/lua51","commit_stats":null,"previous_names":[],"tags_count":null,"template":null,"template_full_name":null,"purl":"pkg:github/royratcliffe/lua51","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/royratcliffe%2Flua51","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/royratcliffe%2Flua51/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/royratcliffe%2Flua51/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/royratcliffe%2Flua51/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/royratcliffe","download_url":"https://codeload.github.com/royratcliffe/lua51/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/royratcliffe%2Flua51/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34157453,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-10T02:00:07.152Z","response_time":89,"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":["lua","r","r-package"],"created_at":"2026-06-10T15:02:12.834Z","updated_at":"2026-06-10T15:02:13.769Z","avatar_url":"https://github.com/royratcliffe.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# lua51\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/lua51)](https://CRAN.R-project.org/package=lua51)\n[![R build status](https://github.com/royratcliffe/lua51/workflows/R-CMD-check/badge.svg)](https://github.com/royratcliffe/lua51/actions?workflow=R-CMD-check)\n\u003c!-- badges: end --\u003e\n\nThe goal of lua51 is to ...\n\n## Installation\n\nYou can install the development version of lua51 like so:\n\n``` r\n# FILL THIS IN! HOW CAN PEOPLE INSTALL YOUR DEV PACKAGE?\n```\n\n## Example\n\nThis is a basic example which shows you how to solve a common problem:\n\n```{r example}\nlibrary(lua51)\n## basic example code\n```\n\n## Rcpp packaging\n\n[rcpp.org]:http://www.rcpp.org/\n\nSee [Rcpp][rcpp.org] for full details. This section simply sets out some abbreviated notes. The package applies `use_rcpp` from `usethis` in order to set up a C++ package.\n```r\nusethis::create_tidy_package(\"lua51\")\nusethis::use_package_doc()\nusethis::use_rcpp()\n```\nThe package comprises a single `Rcpp` module.\n```cpp\nRCPP_MODULE(lua51) {\n  using namespace Rcpp;\n}\n```\n\nBut why C++ integration when Lua is pure C? The decision is one of style. All of the low-level Lua interface functions interact with a Lua 'State' encapsulating a single mutable Lua state machine. The design wraps this State into an object that you can instantiate using S6 class mechanisms. The S6 layer acts as a thin shim between R's object world and the underlying Lua implementation.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Froyratcliffe%2Flua51","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Froyratcliffe%2Flua51","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Froyratcliffe%2Flua51/lists"}