{"id":14069069,"url":"https://github.com/jonocarroll/githubtools","last_synced_at":"2025-10-29T01:31:58.430Z","repository":{"id":71014059,"uuid":"61074402","full_name":"jonocarroll/githubtools","owner":"jonocarroll","description":"Tools to complement building and using R packages installed from GitHub","archived":false,"fork":false,"pushed_at":"2016-06-23T14:46:28.000Z","size":140,"stargazers_count":25,"open_issues_count":2,"forks_count":0,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-02-01T21:05:35.849Z","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/jonocarroll.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,"publiccode":null,"codemeta":null}},"created_at":"2016-06-13T22:41:01.000Z","updated_at":"2024-09-04T22:18:41.000Z","dependencies_parsed_at":null,"dependency_job_id":"19a12793-08e4-4b24-ab14-56ed5c3fe607","html_url":"https://github.com/jonocarroll/githubtools","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/jonocarroll%2Fgithubtools","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jonocarroll%2Fgithubtools/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jonocarroll%2Fgithubtools/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jonocarroll%2Fgithubtools/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jonocarroll","download_url":"https://codeload.github.com/jonocarroll/githubtools/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":238758181,"owners_count":19525722,"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-13T07:06:35.170Z","updated_at":"2025-10-29T01:31:53.030Z","avatar_url":"https://github.com/jonocarroll.png","language":"R","funding_links":[],"categories":["R"],"sub_categories":[],"readme":"# githubtools\n\nThe goal of githubtools is to ease the integration between GitHub and R. \n\n## Installation\n\nYou can install githubtools from github with:\n\n```R\n# install.packages(\"devtools\")\ndevtools::install_github(\"jonocarroll/githubtools\")\n```\n\n## Features\n\n### Create links back to an installed GitHub package right in the RStudio help viewer.\n\n![](http://i.imgur.com/CemtYVA.gif)\n\nFull credit to @noamross for the\n[noamross/htmlhelp](http://github.com/noamross/htmlhelp) package which inspired\nand enabled the use of the hijacking of `Rd2HTML`. Full details to follow, but this\ncurrently works on any package installed from GitHub (other than those that this package is \ndependent on itself).\n\n### Scan installed GitHub packages and analyse them\n\nThink about your R library right now... How old are the packages you installed\nfrom GitHub? Have the developers been improving those packages in the meantime?\nDid you install in the middle of a feature integration? Now you can find out.\n\n```R\nsetwd(\"tmp_directory\")\nscan_gh_pkgs()\n```\n\nProduces a HTML file displaying an array of GitHub-styled tile graphs, one for \neach packge you have installed from GitHub (presumably via \n`devtools::install_github()`). Commits for the last 12 months for each \nGiHub-loaded package are obtained. Darker green tiles indicate more commits were\nperformed on that day, lighter green indicates less commits that day. Light grey\nindicates no commits that day, and dark grey indicates the boundaries of the\navailable commits (expanded to the last 12 months). The red tile indicates when\nyou installed the packge. It should now be clear whether or not you installed\nbefore, during, or after a flurry of commits, or if the developer has been\nactive/quiet regarding that packge in the last 12 months.\n\n![](https://github.com/jonocarroll/githubtools/blob/master/man/figures/scan.png?raw=true)\n\nThis works best if you are authenticated to GitHub. Steps to achieve that to\nfollow. Note also that this won't search any packages you're currently forking,\nas they will be local installs. To view which packages you have installed in all\nyour libraries (note, this may be a lot) use the convenience wrapper to\n`devtools::session_info` which finds *all* installed packages, not just those\ncurrently loaded.\n\n*NOTE* this will scan the **master** branch of the requested repo. Development that occurs \non a forked branch will not be captured.\n\n```R\nview_all_sources()\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjonocarroll%2Fgithubtools","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjonocarroll%2Fgithubtools","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjonocarroll%2Fgithubtools/lists"}