Some help pages have links to other pages and they might be linked from others but they are closed network: there is no link that leads to different help pages. Each group of linked help pages is a clique.
Value
Return a data.frame of help pages not connected to the network of help pages.
Or NULL if nothing are found.
NA if not able to collect the data from CRAN.
Details
The first clique is the biggest one. You might want to check if others cliques can be connected to this one.
Requires igraph.
See also
Other functions related to CRAN help pages:
cran_help_pages_not_linked(),
cran_help_pages_wo_links()
Examples
chc <- cran_help_cliques("BaseSet")
#> Retrieving cran_rdxrefs, this might take a bit.
#> Caching results to be faster next call in this session.
#> Retrieving base_aliases, this might take a bit.
#> Caching results to be faster next call in this session.
#> Warning: Packages with targets not present in a OS:
#> ‘base’, ‘parallel’
#> Warning: Some links are distinct depending on the OS.
table(chc$clique)
#>
#> 1 2 3 4
#> 4286 6 2 2
chc[chc$clique != 1L, ]
#> from_pkg from_Rd clique to_pkg to_Rd n
#> 4287 BaseSet getGAF.Rd 2 BaseSet getGMT.Rd 1
#> 4288 BaseSet getGAF.Rd 2 BaseSet getOBO.Rd 1
#> 4289 BaseSet getGMT.Rd 2 BaseSet getGAF.Rd 1
#> 4290 BaseSet getGMT.Rd 2 BaseSet getOBO.Rd 1
#> 4291 BaseSet getOBO.Rd 2 BaseSet getGAF.Rd 1
#> 4292 BaseSet getOBO.Rd 2 BaseSet getGMT.Rd 1
#> 4293 BaseSet names.TidySet.Rd 3 base dimnames.Rd 1
#> 4294 base dimnames.Rd 3 <NA> <NA> NA
#> 4295 BaseSet naming.Rd 4 BaseSet set_symbols.Rd 1
#> 4296 BaseSet set_symbols.Rd 4 <NA> <NA> NA