Update the different local database (issues, labels and milestones) with the online reference.
A character string specifying the path which contains the
datasets (only taken into account if source
is set to "local"
).
Defaults to the package option IssueTrackeR.dataset.dir
.
A named character string of length 4, specifying the
names of the different datasets which will be written. The names
datasets_name
have to be "open"
, "closed"
,
"labels"
and "milestones"
.
Defaults to
c(open = "open_issues.yaml",
closed = "closed_issues.yaml",
labels = "list_labels.yaml",
milestones = "list_milestones.yaml")
.
A logical value indicating whether to print additional
information. Default is TRUE
.
Additional arguments for connecting to the GitHub repository:
repo
A character string specifying the GitHub repository name.
Defaults to the package option IssueTrackeR.repo
.
owner
A character string specifying the GitHub owner.
Defaults to the package option IssueTrackeR.owner
.
(See the documentation of get
to have more
information on theses parameters):
invisibly (with invisible()
) TRUE
.
# \donttest{
update_database()
#> The datasets will be exported to /tmp/RtmpELgOGr/data/open_issues.yaml.
#> The datasets will be exported to /tmp/RtmpELgOGr/data/closed_issues.yaml.
#> Reading labels... Done!
#> 8 labels found.
#> The datasets will be exported to /tmp/RtmpELgOGr/data/list_labels.yaml.
#> Reading milestones...
#> Done! 0 milestones found.
#> The datasets will be exported to /tmp/RtmpELgOGr/data/list_milestones.yaml.
# }