{"id":13857877,"url":"https://github.com/ropensci-archive/tl","last_synced_at":"2025-07-13T22:31:19.291Z","repository":{"id":51291995,"uuid":"158623986","full_name":"ropensci-archive/tl","owner":"ropensci-archive","description":":no_entry: ARCHIVED :no_entry: Quick Ref. Guides For R Functions","archived":true,"fork":false,"pushed_at":"2022-05-10T14:13:51.000Z","size":52,"stargazers_count":51,"open_issues_count":0,"forks_count":4,"subscribers_count":5,"default_branch":"master","last_synced_at":"2024-11-22T15:41:27.669Z","etag":null,"topics":["ozunconf18","r","r-package","rstats","tldr","unconf"],"latest_commit_sha":null,"homepage":"","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/ropensci-archive.png","metadata":{"files":{"readme":"README-NOT.md","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":"2018-11-22T01:02:37.000Z","updated_at":"2024-02-06T13:58:46.000Z","dependencies_parsed_at":"2022-09-09T09:11:03.136Z","dependency_job_id":null,"html_url":"https://github.com/ropensci-archive/tl","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ropensci-archive/tl","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ropensci-archive%2Ftl","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ropensci-archive%2Ftl/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ropensci-archive%2Ftl/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ropensci-archive%2Ftl/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ropensci-archive","download_url":"https://codeload.github.com/ropensci-archive/tl/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ropensci-archive%2Ftl/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265218209,"owners_count":23729496,"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":["ozunconf18","r","r-package","rstats","tldr","unconf"],"created_at":"2024-08-05T03:01:49.498Z","updated_at":"2025-07-13T22:31:18.966Z","avatar_url":"https://github.com/ropensci-archive.png","language":"R","funding_links":[],"categories":["R"],"sub_categories":[],"readme":"\n\u003c!-- README.md is generated from README.Rmd. Please edit that file --\u003e\ntl\n==\n\n[![Project Status: Abandoned – Initial development has started, but there has not yet been a stable, usable release; the project has been abandoned and the author(s) do not intend on continuing development.](https://www.repostatus.org/badges/latest/abandoned.svg)](https://www.repostatus.org/#abandoned)\n[![Travis build status](https://travis-ci.org/ropenscilabs/tl.svg?branch=master)](https://travis-ci.org/ropenscilabs/tl) [![Codecov test coverage](https://codecov.io/gh/ropenscilabs/tl/branch/master/graph/badge.svg)](https://codecov.io/gh/ropenscilabs/tl?branch=master)\n\nThe goal of tl is to provide an R equivalent to the tldr command line tool, a community-contributed set of quick reference guides for R functions.\n\n\u003e \"Perfection is achieved not when there is nothing more to add, but when there is nothing left to take away\" - Antoine de Saint-Exupéry\n\nBriefly forgotten how a function works? Don't want to scroll through a long help file to find the example usage? You need tl;dr!\n\nInstallation\n------------\n\nYou can install the current version of tl from [github](https://github.com) with:\n\n``` r\ndevtools::install_github(\"ropenscilabs/tl\")\n```\n\nExamples\n--------\n\nHere are some basic examples of how to use tl:\n\nUse the `dr` function to find a help page\n\n``` r\ntl::dr(lm)\n```\n\n\u003e ``` r\n\u003e fits a linear model\n\u003e\n\u003e - fits a linear model of y dependent on x1 and x2\n\u003e   m1 \u003c- lm(y ~ x1 + x2)\n\u003e\n\u003e - fits on data in data frame df\n\u003e   m1 \u003c- lm(y ~ x1 + x2, data = df)\n\u003e\n\u003e - fits model of y on categorical variable xc\n\u003e   m1 \u003c- lm(y ~ as.factor(xc), data = df)\n\u003e\n\u003e - print model\n\u003e   summary(m1)\n\u003e ```\n\n``` r\ntl::dr(tidyr::gather)\n```\n\n\u003e ``` r\n\u003e tidyr::gather\n\u003e\n\u003e converts data from wide to long\n\u003e\n\u003e - collapse columns x1 to x5 into 5 rows\n\u003e   gather(data, key = \"key\", value = \"value\", x1:x5)\n\u003e\n\u003e - collapse all columns\n\u003e   gather(data, key = \"key\", value = \"value\")\n\u003e ```\n\nPage you are looking for does not exist? Use the `create_page` function to make one! Please follow the instructions to keep it brief.\n\n``` r\ntl::create_page(base::system.file)\n```\n\nWant to submit your new page to the `tl` package? Use the `submit_page` function to get instructions on how to add your help page to `tl`.\n\n``` r\ntl::submit_page(base::system.file)\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fropensci-archive%2Ftl","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fropensci-archive%2Ftl","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fropensci-archive%2Ftl/lists"}