Update the different local database (issues, labels and milestones) with the online reference.
A SelectorTB object to check. See the
corresponding vignettes:
https://tanguybarthelemy.github.io/IssueTrackeR/articles/selectors.html
to have more information about selectors.
By default getOption("IssueTrackeR.selector").
Character. Path to the directory containing the YAML file.
Default: value of option IssueTrackeR.dataset.dir.
Character. Name of the dataset.
Default: value of option IssueTrackeR.dataset.name.
Boolean indicating whether to print additional information.
Currently not used.
invisibly (with invisible()) TRUE.
# \donttest{
if (check_github_connection(verbose = FALSE)) {
jdemetra_selector <- init_selector(
source = "GitHub",
owner = "jdemetra",
repo = "jdplus-incubator",
state = "all"
)
update_database(
selector = jdemetra_selector,
dataset_dir = tempdir()
)
}
#> Repo: jdplus-incubator owner: jdemetra
#> The datasets will be exported to /tmp/RtmpSJddLH/list_issues_my_dataset.yaml.
#> Repo: jdplus-incubator owner: jdemetra
#> Reading labels... Done!
#> 12 labels found.
#> The datasets will be exported to /tmp/RtmpSJddLH/list_labels_my_dataset.yaml.
#> Repo: jdplus-incubator owner: jdemetra
#> Reading milestones...
#> Done! 0 milestones found.
#> The datasets will be exported to /tmp/RtmpSJddLH/list_milestones_my_dataset.yaml.
# }