{"id":14068909,"url":"https://github.com/ropensci-archive/pkginspector","last_synced_at":"2025-07-30T04:32:43.670Z","repository":{"id":51201787,"uuid":"135383874","full_name":"ropensci-archive/pkginspector","owner":"ropensci-archive","description":":no_entry: ARCHIVED :no_entry: Package review tools","archived":true,"fork":false,"pushed_at":"2022-05-10T14:10:57.000Z","size":1584,"stargazers_count":16,"open_issues_count":0,"forks_count":1,"subscribers_count":4,"default_branch":"master","last_synced_at":"2024-12-04T09:40:06.048Z","etag":null,"topics":["r","r-package","rstats","unconf","unconf18"],"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":".github/CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":".github/CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-05-30T03:36:22.000Z","updated_at":"2024-04-09T00:05:55.000Z","dependencies_parsed_at":"2022-09-13T03:11:48.599Z","dependency_job_id":null,"html_url":"https://github.com/ropensci-archive/pkginspector","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ropensci-archive/pkginspector","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ropensci-archive%2Fpkginspector","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ropensci-archive%2Fpkginspector/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ropensci-archive%2Fpkginspector/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ropensci-archive%2Fpkginspector/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ropensci-archive","download_url":"https://codeload.github.com/ropensci-archive/pkginspector/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ropensci-archive%2Fpkginspector/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267809583,"owners_count":24147499,"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","status":"online","status_checked_at":"2025-07-30T02:00:09.044Z","response_time":70,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["r","r-package","rstats","unconf","unconf18"],"created_at":"2024-08-13T07:06:28.685Z","updated_at":"2025-07-30T04:32:43.386Z","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\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[![lifecycle](https://img.shields.io/badge/lifecycle-experimental-orange.svg)](https://www.tidyverse.org/lifecycle/#experimental)\n[![Travis build\nstatus](https://travis-ci.org/ropenscilabs/pkginspector.svg?branch=master)](https://travis-ci.org/ropenscilabs/pkginspector)\n[![codecov](https://codecov.io/gh/ropenscilabs/pkginspector/branch/master/graph/badge.svg)](https://codecov.io/gh/ropenscilabs/pkginspector)\n\nThe goal of pkginspector is to inspect and better understand the\ninternal structure of an R package, with focus on facilitating package\nreviews and [**rOpenSci**\nonboarding](https://github.com/ropensci/onboarding).\n\n## Installation\n\nYou can install pkginspector from GitHub with:\n\n``` r\n# install.packages(\"devtools\")\ndevtools::install_github(\"ropenscilabs/pkginspector\")\n```\n\n## Example\n\nThe inspected package must be stored locally and installed.\n\n``` r\nlibrary(pkginspector)\n\npath \u003c- pkginspector_example(\"viridisLite\")\nknitr::kable(rev_fn_summary(path))\n#\u003e Warning in ls.str(pos = pos, envir = envir, mode = \"function\", ...):\n#\u003e partial argument match of 'all' to 'all.names'\n```\n\n| f\\_name    | f\\_args                                                                 | calls | called\\_by | dependents |\n| :--------- | :---------------------------------------------------------------------- | ----: | ---------: | ---------: |\n| cividis    | cividis (n, alpha = 1, begin = 0, end = 1, direction = 1)               |     1 |          0 |          0 |\n| inferno    | inferno (n, alpha = 1, begin = 0, end = 1, direction = 1)               |     1 |          0 |          0 |\n| magma      | magma (n, alpha = 1, begin = 0, end = 1, direction = 1)                 |     1 |          0 |          0 |\n| plasma     | plasma (n, alpha = 1, begin = 0, end = 1, direction = 1)                |     1 |          0 |          0 |\n| viridis    | viridis (n, alpha = 1, begin = 0, end = 1, direction = 1, option = “D”) |     0 |          4 |          4 |\n| viridisMap | viridisMap (n = 256, alpha = 1, begin = 0, end = 1, direction = 1,      |     0 |          0 |          0 |\n\n``` r\nrev_args(path)\n#\u003e $arg_df\n#\u003e    arg_name n_functions default_consistent default_consistent_percent\n#\u003e 1         n           6              FALSE                   83.33333\n#\u003e 2     alpha           6               TRUE                  100.00000\n#\u003e 3     begin           6               TRUE                  100.00000\n#\u003e 4       end           6               TRUE                  100.00000\n#\u003e 5 direction           6               TRUE                  100.00000\n#\u003e 6    option           2               TRUE                  100.00000\n#\u003e \n#\u003e $arg_map\n#\u003e               n alpha begin  end direction option\n#\u003e cividis    TRUE  TRUE  TRUE TRUE      TRUE  FALSE\n#\u003e inferno    TRUE  TRUE  TRUE TRUE      TRUE  FALSE\n#\u003e magma      TRUE  TRUE  TRUE TRUE      TRUE  FALSE\n#\u003e plasma     TRUE  TRUE  TRUE TRUE      TRUE  FALSE\n#\u003e viridis    TRUE  TRUE  TRUE TRUE      TRUE   TRUE\n#\u003e viridisMap TRUE  TRUE  TRUE TRUE      TRUE   TRUE\n\ncorrplot::corrplot(rev_args(path)$arg_map, method = 'square', cl.pos = \"n\")\n```\n\n![](tools/readme/README-rev_args-1.png)\u003c!-- --\u003e\n\n## Information\n\n  - [Getting help](SUPPORT.md).\n  - [Contributing](CONTRIBUTING.md).\n  - [Contributor Code of Conduct](CODE_OF_CONDUCT.md).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fropensci-archive%2Fpkginspector","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fropensci-archive%2Fpkginspector","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fropensci-archive%2Fpkginspector/lists"}