Skip to content
Snippets Groups Projects
Commit d09afbd5 authored by Reinhold Kainhofer's avatar Reinhold Kainhofer
Browse files

Re-write mortalityTables.(load|list) to prevent timouts when listing installed packages

Rather than using installed.packages() and then loop through all packages and check whether they match ^MoratalityTables$, directly access the library directory structure on disk and list all matching package directories. Problem with installed.packages() is that it does not simply list all existing package directories, but loads all different kinds of other stuff, so try not to use it.
parent 76af12a8
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment