{"id":13858038,"url":"https://github.com/yihui/printr","last_synced_at":"2025-03-25T01:31:00.667Z","repository":{"id":16418584,"uuid":"19169727","full_name":"yihui/printr","owner":"yihui","description":"Some (magical) printing methods for knitr","archived":false,"fork":false,"pushed_at":"2023-03-08T19:44:03.000Z","size":44,"stargazers_count":118,"open_issues_count":15,"forks_count":22,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-03-19T06:39:06.051Z","etag":null,"topics":["knitr","printr","r"],"latest_commit_sha":null,"homepage":"https://yihui.org/printr/","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/yihui.png","metadata":{"files":{"readme":"README.md","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":"2014-04-26T05:30:05.000Z","updated_at":"2024-05-17T07:10:01.000Z","dependencies_parsed_at":"2024-02-09T01:59:26.469Z","dependency_job_id":"61a627da-ad4c-47cd-9d1e-24156d9d4185","html_url":"https://github.com/yihui/printr","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yihui%2Fprintr","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yihui%2Fprintr/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yihui%2Fprintr/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yihui%2Fprintr/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/yihui","download_url":"https://codeload.github.com/yihui/printr/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245381455,"owners_count":20606039,"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":["knitr","printr","r"],"created_at":"2024-08-05T03:01:54.706Z","updated_at":"2025-03-25T01:31:00.338Z","avatar_url":"https://github.com/yihui.png","language":"R","funding_links":[],"categories":["R"],"sub_categories":[],"readme":"# printr\n\n\u003c!-- badges: start --\u003e\n[![R-CMD-check](https://github.com/yihui/printr/actions/workflows/R-CMD-check.yaml/badge.svg)](https://github.com/yihui/printr/actions/workflows/R-CMD-check.yaml)\n\u003c!-- badges: end --\u003e\n\nThis is a companion package to [**knitr**](https://yihui.org/knitr). Its main\npurpose is to extend the S3 generic function `knit_print()` in **knitr**, which\nis the default value of the chunk option `render`, as explained in the vignette\n[knit_print.html](https://cran.r-project.org/package=knitr/vignettes/knit_print.html).\n\nYou can install the stable version from CRAN or the development version from my personal repo:\n\n```r\n# CRAN version\ninstall.packages('printr')\n\n# or the dev version\ninstall.packages(\n  'printr',\n  repos = c('https://yihui.r-universe.dev', 'https://cran.rstudio.com')\n)\n```\n\nTo enable the printing methods defined in this package, just `library(printr)`\nin a code chunk (in the beginning) of your **knitr** document. Then some objects\nwill be printed differently with what you would have seen in a normal R console.\nFor example:\n\n- matrices, data frames, and contingency tables are printed as tables (LaTeX,\n  HTML, or Markdown, depending on your output format)\n- the help page (from `?foo` or `help(foo)`) can be rendered as HTML, LaTeX, or\n  plain text, and you can also specify which section(s) of the help page to\n  include in the output\n- the results from `browseVignettes()`, `help.search()`, `data()`, and\n  `vignette()` are rendered as tables\n- the package information from `library(help = 'foo')` is rendered as plain text\n\nFor more information, please check out the [package\nvignette](https://yihui.org/printr/):\n\n```r\nvignette('printr', package = 'printr')\n```\n\nYou are welcome to contribute more S3 methods to this package, and you may want\nto read the existing methods in this package before you get started. In most\ncases, I guess you will end up rendering either plain text (see\n`knit_print.packageInfo` for example) or tables (see `knit_print.matrix`) in the\noutput.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyihui%2Fprintr","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyihui%2Fprintr","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyihui%2Fprintr/lists"}