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 Report: the arg ref is not used #1

Closed
JiaxiangBU opened this issue Sep 28, 2019 · 2 comments
Closed

Bug Report: the arg ref is not used #1

JiaxiangBU opened this issue Sep 28, 2019 · 2 comments

Comments

@JiaxiangBU
Copy link

Here is the error message.

Error in commits(repo = repo, ref = ref, topological = TRUE, time = TRUE,  : 
  参数没有用(ref = ref)
> gitdown::git_down(
+     repo = ".",
+     book_path = "gitdown",
+     open = TRUE,
+     author = "Jiaxiang Li",
+     pattern = c("ticket[[:digit:]]+", "#[[:digit:]]+"),
+     names_section = c("Ticket", "Issues")
+ )
Error in commits(repo = repo, ref = ref, topological = TRUE, time = TRUE,  : 
  参数没有用(ref = ref)
> library(gitdown)
> get_commits_pattern(repo, pattern = "#[[:digit:]]+", ref = "master") %>%
+     select(pattern, everything())
Error in commits(repo = repo, ref = ref, topological = TRUE, time = TRUE,  : 
  参数没有用(ref = ref)
> ?get_commits_tags
> get_commits_tags()
Error in commits(repo = repo, ref = ref, topological = TRUE, time = TRUE,  : 
  参数没有用(ref = ref)
> get_commits_tags(ref = NULL)
Error in commits(repo = repo, ref = ref, topological = TRUE, time = TRUE,  : 
  参数没有用(ref = ref)

I try several functions from gitdown and get the same error message.

Here is the repo I test https://github.com/JiaxiangBU/tutoring2

@statnmap
Copy link
Member

Hi,
The minimum version of {git2r} is 0.26.0. I forgot to specify it in the Description file.
Can you try to update {git2r} ?

@JiaxiangBU
Copy link
Author

Hi @statnmap thanks for your help, it works when I update git2r.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants