R interface to the mangal API for ecological networks