Skip to content

Commit

Permalink
Fix spelling and cmd check notes.
Browse files Browse the repository at this point in the history
  • Loading branch information
maciekbanas committed Mar 28, 2024
1 parent dee4cbc commit 9cf6572
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 1 deletion.
3 changes: 3 additions & 0 deletions NAMESPACE
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ importFrom(httr2,req_headers)
importFrom(httr2,req_perform)
importFrom(httr2,request)
importFrom(httr2,resp_body_json)
importFrom(lubridate,floor_date)
importFrom(magrittr,"%>%")
importFrom(purrr,keep)
importFrom(purrr,map)
Expand All @@ -44,3 +45,5 @@ importFrom(rlang,"%||%")
importFrom(rlang,expr)
importFrom(stringr,str_length)
importFrom(stringr,str_replace)
importFrom(utils,URLdecode)
importFrom(utils,URLencode)
2 changes: 1 addition & 1 deletion NEWS.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@

## Minor features:

- Commits response consists now of two new columns: `author_login` and `author_name` ([#332](https://github.com/r-world-devs/GitStats/issues/332)). This is due to the mix of github/gitlab handles and display names in the `author` column (the original author `name` field in commits API response).
- Commits response consists now of two new columns: `author_login` and `author_name` ([#332](https://github.com/r-world-devs/GitStats/issues/332)). This is due to the mix of GitHub/GitLab handles and display names in the `author` column (the original author `name` field in commits API response).
- Use stored repositories when pulling commits or files ([#159](https://github.com/r-world-devs/GitStats/issues/159)).
- Improve printing `GitStats` object - now when you return `GitStats` object in console, it prints `GitStats` data divided into sections to give more readable information to user: `scanning scope` (organizations, repositories and files), `search settings` (searched phrase, language, team name) and `storage` (the output tables stored in `GitStats` with basic information on dimensions) ([#329](https://github.com/r-world-devs/GitStats/issues/329)).

Expand Down
1 change: 1 addition & 0 deletions R/GitStats.R
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
#' @importFrom cli cli_alert_info cli_alert_success cli_alert_warning col_yellow
#' @importFrom dplyr glimpse
#' @importFrom magrittr %>%
#' @importFrom lubridate floor_date
#' @importFrom purrr map map_chr
#'
#' @title A statistics platform for Git hosts
Expand Down
2 changes: 2 additions & 0 deletions R/utils.R
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,8 @@ standardize_dates <- function(dates) {
purrr::discard(dates, is.null) %>% purrr::map_vec(as.POSIXct)
}

#' @importFrom utils URLencode URLdecode

#' @noRd
#' @description Apply url encoding to string
url_encode <- function(url) {
Expand Down
3 changes: 3 additions & 0 deletions inst/WORDLIST
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
Acknowledgement
CMD
Codecov
devs
EngineGraphQL
EngineGraphQLGitHub
EngineGraphQLGitLab
Expand All @@ -14,6 +15,7 @@ GitHost
GitLab
GitLab's
GithubMetrics
gitstats
GraphQL
Igras
Krystian
Expand All @@ -29,6 +31,7 @@ magrittr
organisations
orgs
param
POSIXct
plotly
repo
repos

0 comments on commit 9cf6572

Please sign in to comment.