Skip to content
  • Reinhold Kainhofer's avatar
    Re-write mortalityTables.(load|list) to prevent timouts when listing installed packages · d09afbd5
    Reinhold Kainhofer authored
    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.
    d09afbd5