R package to deal with SWAP stuff from Alterra