Check if the library was compiled
.onAttach(libname, pkgname)
libname
character
pkgname
No return value, called to check and warn if compiled EDF API interface is missing.