{"id":18722567,"url":"https://github.com/mdsumner/rmdal0","last_synced_at":"2025-11-11T05:30:17.374Z","repository":{"id":72211784,"uuid":"157473804","full_name":"mdsumner/rmdal0","owner":"mdsumner","description":null,"archived":false,"fork":false,"pushed_at":"2019-09-20T07:05:10.000Z","size":34,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-12-28T12:16:55.737Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mdsumner.png","metadata":{"files":{"readme":"README.Rmd","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2018-11-14T01:49:24.000Z","updated_at":"2019-09-20T07:05:12.000Z","dependencies_parsed_at":"2023-05-28T08:00:39.929Z","dependency_job_id":null,"html_url":"https://github.com/mdsumner/rmdal0","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mdsumner%2Frmdal0","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mdsumner%2Frmdal0/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mdsumner%2Frmdal0/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mdsumner%2Frmdal0/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mdsumner","download_url":"https://codeload.github.com/mdsumner/rmdal0/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239587244,"owners_count":19663892,"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":[],"created_at":"2024-11-07T13:42:01.728Z","updated_at":"2025-11-11T05:30:16.774Z","avatar_url":"https://github.com/mdsumner.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\u003c!-- badges: start --\u003e\n[![Travis build status](https://travis-ci.org/mdsumner/rmdal0.svg?branch=master)](https://travis-ci.org/mdsumner/rmdal0)[![AppVeyor build status](https://ci.appveyor.com/api/projects/status/github/mdsumner/rmdal0?branch=master\u0026svg=true)](https://ci.appveyor.com/project/mdsumner/rmdal0)\n\u003c!-- badges: end --\u003e\n\n```{r setup, 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# rmdal0\n\nAn attempt, minimal proof of concept for an R package using the [MDAL library](https://www.mdal.xyz/). \n\nSee also https://github.com/lutraconsulting/MDAL/issues/42 which I will speak to once I get some functionality working. \n\n## setup MDAL\n\n```bash\ngit clone https://github.com/lutraconsulting/MDAL.git\ncd MDAL\nmkdir build;cd build\n## DONE AS ROOT, BECAUSE otherwise fail for some reason\ncmake -DCMAKE_BUILD_TYPE=Rel -DENABLE_TESTS=ON  ..\nmake\nmake all install\n```\n\nRun the init thing for the C++ in this package: \n\n```{r init, eval=FALSE, include = TRUE}\ntools::package_native_routine_registration_skeleton(\"../rmdal0\", \"src/init.c\",character_only = FALSE)\n```\n\nRun the package, currently only calls [MDAL_Status()](https://github.com/lutraconsulting/MDAL/blob/0.3.3/mdal/mdal.cpp) as a minimal test. \n\nAll going well it should return the value `2` and print out \"mdalinfo 0\". \n\n```{r minimal, }\nrmdal0:::rmdal0()\n```\n\n---\nPlease note that the 'rmdal0' project is released with a\n  [Contributor Code of Conduct](https://github.com/mdsumner/rmdal0/blob/master/CODE_OF_CONDUCT.md).\n  By contributing to this project, you agree to abide by its terms.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmdsumner%2Frmdal0","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmdsumner%2Frmdal0","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmdsumner%2Frmdal0/lists"}