{"id":17795213,"url":"https://github.com/matt-dray/kevinbacran","last_synced_at":"2026-01-23T05:36:40.151Z","repository":{"id":112693493,"uuid":"172104788","full_name":"matt-dray/kevinbacran","owner":"matt-dray","description":":bacon::1234: R package: the Six Degrees of Kevin Bacon. But for CRAN authors.","archived":false,"fork":false,"pushed_at":"2021-05-13T17:38:46.000Z","size":5428,"stargazers_count":3,"open_issues_count":2,"forks_count":1,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-10-12T13:36:14.974Z","etag":null,"topics":["cran","graph","kevin-bacon","network","package","r","rstats","tidygraph"],"latest_commit_sha":null,"homepage":"https://matt-dray.github.io/kevinbacran/","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/matt-dray.png","metadata":{"files":{"readme":"README.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,"governance":null}},"created_at":"2019-02-22T17:14:22.000Z","updated_at":"2022-01-23T10:32:36.000Z","dependencies_parsed_at":null,"dependency_job_id":"de17e9fa-b1d8-4d3e-9759-2292177f85f0","html_url":"https://github.com/matt-dray/kevinbacran","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/matt-dray/kevinbacran","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/matt-dray%2Fkevinbacran","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/matt-dray%2Fkevinbacran/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/matt-dray%2Fkevinbacran/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/matt-dray%2Fkevinbacran/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/matt-dray","download_url":"https://codeload.github.com/matt-dray/kevinbacran/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/matt-dray%2Fkevinbacran/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28681004,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-23T04:33:33.518Z","status":"ssl_error","status_checked_at":"2026-01-23T04:33:30.433Z","response_time":59,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["cran","graph","kevin-bacon","network","package","r","rstats","tidygraph"],"created_at":"2024-10-27T11:25:08.984Z","updated_at":"2026-01-23T05:36:40.131Z","avatar_url":"https://github.com/matt-dray.png","language":"R","funding_links":[],"categories":[],"sub_categories":[],"readme":"# {kevinbacran} \u003cimg src='man/figures/logo.png' align=\"right\" height=\"139\" /\u003e\n\n\u003c!-- badges: start --\u003e\n[![Lifecycle: experimental](https://img.shields.io/badge/lifecycle-experimental-orange.svg)](https://www.tidyverse.org/lifecycle/#experimental)\n[![Blog post](https://img.shields.io/badge/rostrum.blog-post-008900?labelColor=000000\u0026logo=data%3Aimage%2Fgif%3Bbase64%2CR0lGODlhEAAQAPEAAAAAABWCBAAAAAAAACH5BAlkAAIAIf8LTkVUU0NBUEUyLjADAQAAACwAAAAAEAAQAAAC55QkISIiEoQQQgghRBBCiCAIgiAIgiAIQiAIgSAIgiAIQiAIgRAEQiAQBAQCgUAQEAQEgYAgIAgIBAKBQBAQCAKBQEAgCAgEAoFAIAgEBAKBIBAQCAQCgUAgEAgCgUBAICAgICAgIBAgEBAgEBAgEBAgECAgICAgECAQIBAQIBAgECAgICAgICAgECAQECAQICAgICAgICAgEBAgEBAgEBAgICAgICAgECAQIBAQIBAgECAgICAgIBAgECAQECAQIBAgICAgIBAgIBAgEBAgECAgECAgICAgICAgECAgECAgQIAAAQIKAAAh%2BQQJZAACACwAAAAAEAAQAAAC55QkIiESIoQQQgghhAhCBCEIgiAIgiAIQiAIgSAIgiAIQiAIgRAEQiAQBAQCgUAQEAQEgYAgIAgIBAKBQBAQCAKBQEAgCAgEAoFAIAgEBAKBIBAQCAQCgUAgEAgCgUBAICAgICAgIBAgEBAgEBAgEBAgECAgICAgECAQIBAQIBAgECAgICAgICAgECAQECAQICAgICAgICAgEBAgEBAgEBAgICAgICAgECAQIBAQIBAgECAgICAgIBAgECAQECAQIBAgICAgIBAgIBAgEBAgECAgECAgICAgICAgECAgECAgQIAAAQIKAAA7)](https://www.rostrum.blog/2019/02/27/hadley-number/)\n\u003c!-- badges: end --\u003e\n\n![](https://media.giphy.com/media/FltCW7GUbF5iE/giphy.gif)\n\n_This R package comes with no guarantees whatsoever._\n\n## What?\n\nHow separated (in a [graph-theory](https://en.wikipedia.org/wiki/Graph_theory) sense) are authors on the Comprehensive R Archive Network (CRAN), the home of R packages?\n\nThe aim is to provide some functions to approximate an implementation of [The Six Degrees of Kevin Bacon](https://en.wikipedia.org/wiki/Six_Degrees_of_Kevin_Bacon), or [Erdos Numbers](https://en.wikipedia.org/wiki/Erd%C5%91s_number) and [variants](https://www.timeshighereducation.com/blog/whats-your-erdos-bacon-sabbath-number).\n\n# Read more\n\n* [{kevinbacran} demo: what's your Hadley Number?](https://mattdray.shinyapps.io/hadley-number/) by [Matt Dray](https://twitter.com/mattdray): a shiny app to get and visualise the separation between CRAN authors and Hadley Wickham.\n* ['What's your Hadley Number?'](https://www.rostrum.blog/2019/02/27/hadley-number/) by [Matt Dray](https://twitter.com/mattdray): a blogpost introducing the package and the Shiny app\n* ['With added bacran'](https://nacnudus.github.io/duncangarmonsway/posts/2019-02-27-with-added-bacran/) by [Duncan Garmonsway](https://twitter.com/mattdray): a blogpost using the package to find out more about author separation on CRAN: \n\n## How do?\n\n```\n# Install this development version with\nremotes::install_github(\"matt-dray/kevinbacran\")\n\n# Load the package\nlibrary(kevinbacran)\n\n# Get a tidygraph of authors from CRAN data \n# (nodes) and packages (edges)\ncombo_graph \u003c- kb_combos()\n\n# Get subset of CRAN tidygraph composed of named authors\n# plus the packages and authors that connect them\npair_graph \u003c- kb_pair(\n  tidy_graph = combo_graph,\n  name_a = \"Aaron Christ\",\n  name_b = \"Hadley Wickham\"\n)\n\n# Print distance value between named authors\nkb_distance(pair_graph = pair_graph)\n\n# Plot network graph of authors and packages\n# Named authors are terminals\nkb_plot(pair_graph = pair_graph)\n```\n\nNote that the functions of {kevinbacran} are prefixed with `kb_*`.\n\nA snapshot of the CRAN graph from late Feb 2019 is available from the package by calling `cran_graph`. This may be useful for testing purposes.\n\n## References\n\nThis package makes use of several other excellent packages.\n\n### {cranly}\n\nIoannis Kosmidis (2019). cranly: Package Directives and\nCollaboration Networks in CRAN. R package version 0.3.\nhttps://CRAN.R-project.org/package=cranly\n\n### {dplyr}\n\nHadley Wickham, Romain François, Lionel Henry and Kirill\nMüller (2019). dplyr: A Grammar of Data Manipulation. R\npackage version 0.8.0.1.\nhttps://CRAN.R-project.org/package=dplyr\n\n### {ggplot2}\n\nH. Wickham. ggplot2: Elegant Graphics for Data Analysis.\nSpringer-Verlag New York, 2016.\n\n### {ggraph}\n\nThomas Lin Pedersen (2018). ggraph: An Implementation of\nGrammar of Graphics for Graphs and Networks. R package version\n1.0.2. https://CRAN.R-project.org/package=ggraph\n\n### {purrr}\n\nLionel Henry and Hadley Wickham (2019). purrr: Functional\nProgramming Tools. R package version 0.3.0.\nhttps://CRAN.R-project.org/package=purrr\n\n### {tidygraph}\n\nThomas Lin Pedersen (2019). tidygraph: A Tidy API for Graph\nManipulation. R package version 1.1.2.\nhttps://CRAN.R-project.org/package=tidygraph\n\n### {tidyr}\n\nHadley Wickham and Lionel Henry (2018). tidyr: Easily Tidy\nData with 'spread()' and 'gather()' Functions. R package\nversion 0.8.2. https://CRAN.R-project.org/package=tidyr\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmatt-dray%2Fkevinbacran","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmatt-dray%2Fkevinbacran","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmatt-dray%2Fkevinbacran/lists"}