It seems there is no R package called airquality, can you tell us why you think there is one? Maybe it is not a publicly available package or maybe you simply are confused about the package name.
You need check the version of R and RStudio for run this package. In addition is important read the documentation about this library. In occasion you need update the last version.