Welcome to the community!
When you try to install a package, the function used is install.packages, not installed.packages. The latter can be used to get details of the packages which are already installed.
Try to install by install.packages("haven", dependencies = TRUE), and then try to lead it using library(haven).