Thanks a lot jcl, that was it!

It did not install properly. It took me some time to figure out how to install it properly.
If anyone faces the same issue, below link did it for me:

https://stackoverflow.com/questions/39849542/installation-of-rquantlib