## Not run:
# ## Check packages in dir without reverse dependencies:
# check_packages_in_dir(dir)
# ## Check packages in dir and their reverse dependencies using the
# ## defaults (all repositories in getOption("repos"), all "strong"
# ## reverse dependencies, no recursive reverse dependencies):
# check_packages_in_dir(dir, reverse = list())
# ## Check packages in dir with their reverse dependencies from CRAN,
# ## using all strong reverse dependencies and reverse suggests:
# check_packages_in_dir(dir,
# reverse = list(repos = getOption("repos")["CRAN"],
# which = "most"))
# ## Check packages in dir with their reverse dependencies from CRAN,
# ## using '--as-cran' for the former but not the latter:
# check_packages_in_dir(dir,
# check_args = c("--as-cran", ""),
# reverse = list(repos = getOption("repos")["CRAN"]))
# ## End(Not run)
Run the code above in your browser using DataLab