Update R script to reflect bug fixes in seegSDM