This is a resubmission. In this version I have:
Changed the documentation of the functions in which return value is not in presence.
Add citation in the DESCRIPTION.