Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug fixes based on OCS set up #102

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions CRAN-SUBMISSION
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
Version: 1.0.0
Date: 2025-02-18 20:03:26 UTC
SHA: 64ee936ed6d18ed2698b362b7c698c2628b4688c
Date: 2025-02-19 15:39:21 UTC
SHA: e998b19b4ed49e0e5f350f2ed4ea902b91a0f4e8
3 changes: 1 addition & 2 deletions R/auth.R
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,7 @@ authorize <- function(app_name = NULL,
if (!cache) {
message("Would you like to store/cache your credentials?")
cache_it <- menu(c("Yes cache/store credentials",
"No do not store credentials, I will re-run this authorize()",
" in my next R session"))
"No do not store credentials, I will re-run this authorize() in my next R session"))
if (cache_it == 1) {
message("You chose to cache your credentials,",
" if you change your mind, run metricminer::delete_creds(). \n",
Expand Down
5 changes: 4 additions & 1 deletion R/github.R
Original file line number Diff line number Diff line change
Expand Up @@ -452,6 +452,9 @@ get_github_repo_summary <- function(repo,
#'
#' some_repos_metrics <- get_multiple_repos_metrics(repo_names = repo_names,
#' time_course = TRUE)
#'
#' gh_timecourse <- get_multiple_repos_metrics(repo_names = repo_names,
#' github_stats = c("repo_activity", "stars", "forks", "contributors"))
#' }
#'
get_multiple_repos_metrics <- function(repo_names = NULL,
Expand Down Expand Up @@ -483,7 +486,7 @@ get_multiple_repos_metrics <- function(repo_names = NULL,
names(repo_metrics) <- repo_names

if (data_format == "dataframe") {
repo_metrics <- dplyr::bind_rows(repo_metrics)
repo_metrics <- dplyr::bind_rows(repo_metrics, .id = "repo_name")
}

return(repo_metrics)
Expand Down
Loading