This function queries GitHub for dependencies of the selected tagged commit of a repo. By default, it queries the latest commit instead.
Value
A data frame with three columns, all in string format:
package
(package name),version
(minimum version requirement orNA
if none),type
(dependency type, e.g."Imports"
).
See also
Functions for GitHub:
wood_github_latest()
,
wood_github_packages()
,
wood_github_tags()
,
wood_github_versions()
Functions that query package dependencies:
wood_bioc_dependencies()
,
wood_core_dependencies()
,
wood_cran_dependencies()
,
wood_dependencies()
,
wood_gitlab_dependencies()
,
wood_local_dependencies()
,
wood_runiverse_dependencies()
,
wood_url_dependencies()
Examples
wood_github_dependencies("gglgbtq", "turtletopia")
#> <dependencies>
#> Depends: R (>= 2.10)
#> Imports: ggplot2 (>= 3.4.0)
#> Imports: graphics
#> Imports: grDevices
#> Imports: rlang
#> Imports: tibble
#> Suggests: knitr
#> Suggests: rmarkdown
#> Suggests: spelling
#> Suggests: testthat (>= 3.0.0)
#> Suggests: vdiffr
wood_github_dependencies("versionsort", "turtletopia", tag = "v1.0.0")
#> <dependencies>
#> Suggests: covr
#> Suggests: spelling
#> Suggests: testthat (>= 3.0.0)