{"id":14068010,"url":"https://github.com/devOpifex/erratum","last_synced_at":"2025-07-30T02:32:39.481Z","repository":{"id":56934287,"uuid":"316977186","full_name":"devOpifex/erratum","owner":"devOpifex","description":"Error \u0026 warning handling for R inspired by go","archived":false,"fork":false,"pushed_at":"2024-01-28T21:10:27.000Z","size":21976,"stargazers_count":22,"open_issues_count":0,"forks_count":1,"subscribers_count":4,"default_branch":"master","last_synced_at":"2024-12-04T08:36:57.459Z","etag":null,"topics":["error-handling","r","rstats","warning"],"latest_commit_sha":null,"homepage":"http://erratum.opifex.org","language":"R","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"agpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/devOpifex.png","metadata":{"files":{"readme":"README.md","changelog":"NEWS.md","contributing":null,"funding":null,"license":"LICENSE.md","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":"2020-11-29T15:06:43.000Z","updated_at":"2023-10-31T05:08:47.000Z","dependencies_parsed_at":"2024-08-13T07:13:41.491Z","dependency_job_id":"45f5e299-3146-46a2-bc76-da9b74482d46","html_url":"https://github.com/devOpifex/erratum","commit_stats":{"total_commits":93,"total_committers":1,"mean_commits":93.0,"dds":0.0,"last_synced_commit":"828f720d73fb7b36dd3616934e1fa77b0d36fd5f"},"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/devOpifex/erratum","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devOpifex%2Ferratum","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devOpifex%2Ferratum/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devOpifex%2Ferratum/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devOpifex%2Ferratum/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/devOpifex","download_url":"https://codeload.github.com/devOpifex/erratum/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devOpifex%2Ferratum/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267798625,"owners_count":24145727,"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-07-30T02:00:09.044Z","response_time":70,"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":["error-handling","r","rstats","warning"],"created_at":"2024-08-13T07:05:53.775Z","updated_at":"2025-07-30T02:32:39.170Z","avatar_url":"https://github.com/devOpifex.png","language":"R","funding_links":[],"categories":["R"],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n\n\u003cimg src=\"docs/src/.vuepress/public/erratum-logo.png\" height=\"200px\" /\u003e\n\n\u003c!-- badges: start --\u003e\n[![R-CMD-check](https://github.com/devOpifex/erratum/workflows/R-CMD-check/badge.svg)](https://github.com/devOpifex/erratum/actions)\n[![Coveralls test coverage](https://coveralls.io/repos/github/devOpifex/erratum/badge.svg)](https://coveralls.io/github/devOpifex/erratum)\n\u003c!-- badges: end --\u003e\n\n[Docs](https://erratum.opifex.org) | [Quick start](https://erratum.opifex.org/guide/get-started.html) | [Install](https://erratum.opifex.org/guide/installation.html)\n\n\u003c/div\u003e\n\nErratum handles errors and warnings in a manner inspired by Go's standard error library.\n\n```r\n#install.packages(\"remotes\")\nremotes::install_github(\"devOpifex/erratum\")\n```\n\n## Example\n\n```r\nlibrary(erratum)\n\nerr \u003c- e(\"Input must be a numeric\")\nerr$rule \u003c- is.numeric\n\nsafe_log \u003c- function(x){\n  err$check(x)\n\n  log(x)\n}\n\nsafe_log(\"two\")\n```\n\n## Code of Conduct\n\nPlease note that the erratum project is released with a [Contributor Code of Conduct](https://contributor-covenant.org/version/2/0/CODE_OF_CONDUCT.html). By contributing to this project, you agree to abide by its terms.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FdevOpifex%2Ferratum","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FdevOpifex%2Ferratum","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FdevOpifex%2Ferratum/lists"}