Title: | Tidyverse activity dashboard |
---|---|
Description: | A dashboard to show repository activity in tidyverse organisations. |
Authors: | Jim Hester [aut, cre] |
Maintainer: | Jim Hester <[email protected]> |
License: | GPL-3 |
Version: | 0.0.0.9000 |
Built: | 2024-10-26 02:55:12 UTC |
Source: | https://github.com/ThinkR-open/tidyversedashboard |
A wrapper around [DT::datatable] to change some defaults
data_table( data, options = list(), ..., filter = "top", style = "default", autoHideNavigation = TRUE, rownames = FALSE, escape = FALSE )
data_table( data, options = list(), ..., filter = "top", style = "default", autoHideNavigation = TRUE, rownames = FALSE, escape = FALSE )
data |
a data object (either a matrix or a data frame) |
options |
a list of initialization options (see
https://datatables.net/reference/option/); the character options
wrapped in |
... |
Other parameters to add to DT::datatable |
filter |
whether/where to use column filters; |
style |
either |
autoHideNavigation |
|
rownames |
|
escape |
whether to escape HTML entities in the table: |
Return the number of development dependencies in a package description file.
desc_dev_deps(description) desc_maintainer(description)
desc_dev_deps(description) desc_maintainer(description)
description |
A [desc::desc] object. |
Get org logo
get_org_logo(org)
get_org_logo(org)
org |
Name of the GiHub organisation / user to get logo from |
writes the avatar as a local file logo.png
## Not run: get_org_logo("r-lib") ## End(Not run)
## Not run: get_org_logo("r-lib") ## End(Not run)
Get org name
get_org_name(org)
get_org_name(org)
org |
Org or user login |
string
get_org_name("r-lib") get_org_name("jimhester")
get_org_name("r-lib") get_org_name("jimhester")
Return github user name homepage link
github_user_home(username)
github_user_home(username)
username |
github username |
Retrieve opened and closed issues and pull requests since a given date
issue_progress( org, start = today() - dweeks(1), privacy = c("PUBLIC", "PRIVATE", "BOTH") )
issue_progress( org, start = today() - dweeks(1), privacy = c("PUBLIC", "PRIVATE", "BOTH") )
org |
A GitHub user, either a normal user or an organization |
start |
Datetime to start query from |
privacy |
The repository privacy |
Normalize the repository privacy
normalize_privacy(privacy = c("PUBLIC", "PRIVATE", "BOTH"))
normalize_privacy(privacy = c("PUBLIC", "PRIVATE", "BOTH"))
privacy |
repository privacy |
Number of downloads from RStudio mirror
num_downloads(package, when = "last-week")
num_downloads(package, when = "last-week")
package |
One or more packages to search |
when |
|
Compute an organization summary
org_data(org, privacy = c("PUBLIC", "PRIVATE", "BOTH"))
org_data(org, privacy = c("PUBLIC", "PRIVATE", "BOTH"))
org |
A GitHub user, either a normal user or an organization |
privacy |
The repository privacy |
Compute an pull request reviewer summary
org_pr(org, privacy = c("PUBLIC", "PRIVATE", "BOTH"))
org_pr(org, privacy = c("PUBLIC", "PRIVATE", "BOTH"))
org |
A GitHub user, either a normal user or an organization |
privacy |
The repository privacy |
Calculate number or reverse dependencies
reverse_dependencies(package)
reverse_dependencies(package)
package |
One or more packages to search |
Plot a sparkline table
sparkline_table(data, sparkline_column, ...)
sparkline_table(data, sparkline_column, ...)
data |
a data object (either a matrix or a data frame) |
sparkline_column |
The column to convert to a sparkline |
... |
Other parameter to add to DT::datatable |
Generate a status badge
github_status_badge(owner, package) cran_status_badge(package) coverage_status_badge(owner, package, default = "main")
github_status_badge(owner, package) cran_status_badge(package) coverage_status_badge(owner, package, default = "main")
owner |
The repository owner |
package |
The package |
default |
Main branch of the git repository |
Lookup weekly commit counts for each repo
weekly_commits(org, package)
weekly_commits(org, package)
org |
A GitHub user, either a normal user or an organization |
package |
One or more packages to search |