The repositories and their stars; the page views and clones of the days of the card, or the forks when there is no traffic; the downloads of release files, when there are releases; and the GitHub Actions runs, when there are runs.
Arguments
- d
The numbers of the card, from
card_data().
Examples
str(rghcard:::card_tiles(rghcard:::card_data(example_stats(), 30)))
#> List of 6
#> $ :List of 3
#> ..$ : chr "Repositories"
#> ..$ : chr "8"
#> ..$ : chr "public"
#> $ :List of 3
#> ..$ : chr "Stars"
#> ..$ : chr "101"
#> ..$ : chr "total"
#> $ :List of 3
#> ..$ : chr "Page views"
#> ..$ : chr "1.1K"
#> ..$ : chr "last 30 days"
#> $ :List of 3
#> ..$ : chr "Clones"
#> ..$ : chr "1.4K"
#> ..$ : chr "last 30 days"
#> $ :List of 3
#> ..$ : chr "Release downloads"
#> ..$ : chr "599"
#> ..$ : chr "all time"
#> $ :List of 3
#> ..$ : chr "Actions runs"
#> ..$ : chr "86"
#> ..$ : chr "last 30 days"