{"id":13858085,"url":"https://github.com/trinker/cal","last_synced_at":"2025-03-20T00:32:02.596Z","repository":{"id":146663083,"uuid":"123649594","full_name":"trinker/cal","owner":"trinker","description":"R console calendars","archived":false,"fork":false,"pushed_at":"2018-03-03T15:10:23.000Z","size":18,"stargazers_count":8,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-28T21:57:26.185Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"R","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/trinker.png","metadata":{"files":{"readme":"README.Rmd","changelog":null,"contributing":null,"funding":null,"license":null,"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}},"created_at":"2018-03-03T01:47:47.000Z","updated_at":"2024-07-04T09:31:19.000Z","dependencies_parsed_at":"2023-04-14T16:20:29.826Z","dependency_job_id":null,"html_url":"https://github.com/trinker/cal","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/trinker%2Fcal","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trinker%2Fcal/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trinker%2Fcal/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trinker%2Fcal/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/trinker","download_url":"https://codeload.github.com/trinker/cal/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244031028,"owners_count":20386534,"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-08-05T03:01:56.185Z","updated_at":"2025-03-20T00:32:02.329Z","avatar_url":"https://github.com/trinker.png","language":"R","funding_links":[],"categories":["R"],"sub_categories":[],"readme":"---\ntitle: \"cal\"\ndate: \"`r format(Sys.time(), '%d %B, %Y')`\"\noutput:\n  md_document   \n---\n\n```{r, echo=FALSE}\ndesc \u003c- suppressWarnings(readLines(\"DESCRIPTION\"))\nregex \u003c- \"(^Version:\\\\s+)(\\\\d+\\\\.\\\\d+\\\\.\\\\d+)\"\nloc \u003c- grep(regex, desc)\nver \u003c- gsub(regex, \"\\\\2\", desc[loc])\n#verbadge \u003c- sprintf('\u003ca href=\"https://img.shields.io/badge/Version-%s-orange.svg\"\u003e\u003cimg src=\"https://img.shields.io/badge/Version-%s-orange.svg\" alt=\"Version\"/\u003e\u003c/a\u003e\u003c/p\u003e', ver, ver)\nverbadge \u003c- ''\n````\n\n```{r, echo=FALSE, message=FALSE, warning=FALSE}\nlibrary(knitr)\nknit_hooks$set(htmlcap = function(before, options, envir) {\n  if(!before) {\n    paste('\u003cp class=\"caption\"\u003e\u003cb\u003e\u003cem\u003e',options$htmlcap,\"\u003c/em\u003e\u003c/b\u003e\u003c/p\u003e\",sep=\"\")\n    }\n    })\nknitr::opts_knit$set(self.contained = TRUE, cache = FALSE, fig.align = 'center')\nknitr::opts_chunk$set(fig.path = \"tools/figure/\", comment=NA)\noptions(scipen=999)\n```\n\n\n[![Build Status](https://travis-ci.org/trinker/cal.svg?branch=master)](https://travis-ci.org/trinker/cal)\n[![Coverage Status](https://coveralls.io/repos/trinker/cal/badge.svg?branch=master)](https://coveralls.io/r/trinker/cal?branch=master)\n`r verbadge`\n\n**cal** is an R package designed to partially mimic the [Unix `cal`](https://www.tutorialspoint.com/unix_commands/cal.htm) command line tool for generating ASCII calendars in the console.\n\n# Installation\n\nTo download the development version of **cal**:\n\nDownload the [zip ball](https://github.com/trinker/cal/zipball/master) or [tar ball](https://github.com/trinker/cal/tarball/master), decompress and run `R CMD INSTALL` on it, or use the **pacman** package to install the development version:\n\n```r\nif (!require(\"pacman\")) install.packages(\"pacman\")\npacman::p_load_current_gh(\"trinker/cal\")\n```\n\n\n# Examples:\n\n```{r}\ncal()\ncal(\"2017\")\ncal(\"03\")\ncal(\"Jan\")\ncal(\"december\")\ncal(\"2:5\")\ncal(\"-r 4\")\ncal(\"-r -3\")\ncal(\"-r -3:4\")\ncal(\"03 2015\")\ncal(\"Jan 2015\")\ncal(\"January 2015\")\n```\n# Contact\n\nYou are welcome to:    \n- submit suggestions and bug-reports at: \u003chttps://github.com/trinker/cal/issues\u003e    \n- send a pull request on: \u003chttps://github.com/trinker/cal\u003e    \n- compose a friendly e-mail to: \u003ctyler.rinker@gmail.com\u003e    \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftrinker%2Fcal","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftrinker%2Fcal","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftrinker%2Fcal/lists"}