| Line 68... |
Line 68... |
| 68 |
lengths(deps) # 2020-05-03: all are 16053, but codetools with 16057
|
68 |
lengths(deps) # 2020-05-03: all are 16053, but codetools with 16057
|
| 69 |
|
69 |
|
| 70 |
## install.packages(dependencies = TRUE) installs 'most' dependencies
|
70 |
## install.packages(dependencies = TRUE) installs 'most' dependencies
|
| 71 |
## and the strong recursive dependencies of these: these dependencies
|
71 |
## and the strong recursive dependencies of these: these dependencies
|
| 72 |
## can be obtained using 'which = "most"' and 'recursive = "strong"'.
|
72 |
## can be obtained using 'which = "most"' and 'recursive = "strong"'.
|
| 73 |
## To illustrate on the the first packages with non-missing Suggests:
|
73 |
## To illustrate on the first packages with non-missing Suggests:
|
| 74 |
packages <- pdb[head(which(!is.na(pdb[, "Suggests"]))), "Package"]
|
74 |
packages <- pdb[head(which(!is.na(pdb[, "Suggests"]))), "Package"]
|
| 75 |
package_dependencies(packages, db = pdb,
|
75 |
package_dependencies(packages, db = pdb,
|
| 76 |
which = "most", recursive = "strong")
|
76 |
which = "most", recursive = "strong")
|
| 77 |
}% dont test
|
77 |
}% dont test
|
| 78 |
}
|
78 |
}
|