Created
November 7, 2025 15:38
-
-
Save MichaelChirico/ad98d5f2df5c6d86b72e795f7e58d180 to your computer and use it in GitHub Desktop.
{methods} load+unload loop test
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| db <- data.frame(available.packages()) | |
| methods_imports <- db |> | |
| subset(grepl("(^|[^\\w.])methods($|[^\\w.])", Imports, perl=TRUE), "Package", drop=TRUE) | |
| test_lib = '/media/WesternDigital3839/tmpCRAN' | |
| # very slow, and requires some iteration to get SystemRequirements | |
| install.packages(methods_imports, lib=test_lib) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment