From c93bbf231074ae9e7f861dd78dcaf19d9bc9d779 Mon Sep 17 00:00:00 2001 From: Maciej Banas Date: Mon, 17 Feb 2025 15:51:35 +0000 Subject: [PATCH] Fix setting ellipsis arguments. --- DESCRIPTION | 2 +- R/set_repos.R | 8 ++++---- man/set_github_repos.Rd | 2 +- man/set_gitlab_repos.Rd | 2 +- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/DESCRIPTION b/DESCRIPTION index d94d082..3c2425e 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -1,6 +1,6 @@ Package: GitAI Title: Extracts Knowledge From Git Repositories -Version: 0.0.0.9019 +Version: 0.0.0.9020 Authors@R: c( person("Kamil", "Wais", , "kamil.wais@gmail.com", role = c("aut", "cre")), person("Krystian", "Igras", , "krystian8207@gmail.com", role = "aut"), diff --git a/R/set_repos.R b/R/set_repos.R index 7b894de..4cbf76b 100644 --- a/R/set_repos.R +++ b/R/set_repos.R @@ -8,7 +8,7 @@ #' @return A \code{GitAI} object. #' @export set_github_repos <- function(gitai, - ... = ..., + ..., verbose = is_verbose()) { if (is.null(gitai$gitstats)) { gitstats <- GitStats::create_gitstats() @@ -17,7 +17,7 @@ set_github_repos <- function(gitai, } gitai$gitstats <- gitstats |> GitStats::set_github_host( - ... = ..., + ..., verbose = verbose ) invisible(gitai) @@ -33,7 +33,7 @@ set_github_repos <- function(gitai, #' @return A \code{GitAI} object. #' @export set_gitlab_repos <- function(gitai, - ... = ..., + ..., verbose = is_verbose()) { if (is.null(gitai$gitstats)) { gitstats <- GitStats::create_gitstats() @@ -42,7 +42,7 @@ set_gitlab_repos <- function(gitai, } gitai$gitstats <- gitstats |> GitStats::set_gitlab_host( - ... = ..., + ..., verbose = verbose ) invisible(gitai) diff --git a/man/set_github_repos.Rd b/man/set_github_repos.Rd index ea6e0bd..22f44a2 100644 --- a/man/set_github_repos.Rd +++ b/man/set_github_repos.Rd @@ -4,7 +4,7 @@ \alias{set_github_repos} \title{Set GitHub repositories in \code{GitAI} object.} \usage{ -set_github_repos(gitai, ... = ..., verbose = is_verbose()) +set_github_repos(gitai, ..., verbose = is_verbose()) } \arguments{ \item{gitai}{A \code{GitAI} object.} diff --git a/man/set_gitlab_repos.Rd b/man/set_gitlab_repos.Rd index d121151..9e219f1 100644 --- a/man/set_gitlab_repos.Rd +++ b/man/set_gitlab_repos.Rd @@ -4,7 +4,7 @@ \alias{set_gitlab_repos} \title{Set GitLab repositories in \code{GitAI} object.} \usage{ -set_gitlab_repos(gitai, ... = ..., verbose = is_verbose()) +set_gitlab_repos(gitai, ..., verbose = is_verbose()) } \arguments{ \item{gitai}{A \code{GitAI} object.}