lint_dir, which is now exported in lintr package.installedPackages, which returns a camelCase formatted data.frame containing a “source” column. This column includes whether the package was installed from CRAN, Biocondcutor, GitHub, GitLab, or NA (if system, or is a local build).