Your problem is that the library is not getting installed because of missing dependencies, try with this command
install.packages("UsingR", dependencies = TRUE)
If everything goes well you should get this message at the end
* DONE (UsingR)
The downloaded source packages are in
‘/tmp/Rtmp0gcizd/downloaded_packages’
Then you can load the library with
library(UsingR)