I am trying to make a personal R-function.
I want add if statement which can check whether essential R packages are installed.
I used exist() function but its purpose is to examine existence of an object so it didn't work.
Is there a basic command for checking existence of a specific R-package in R?
Thx