{
  "_id": "6aca7fa4fe5cc25786e8a505",
  "Package": "sdm",
  "Type": "Package",
  "Title": "Species Distribution Modelling",
  "Version": "1.2-67",
  "Date": "2025-09-24",
  "Authors@R": "c(person(given = \"Babak\",\nfamily = \"Naimi\",\nrole = c(\"aut\", \"cre\"),\nemail = \"naimi.b@gmail.com\",\ncomment = c(ORCID = \"0000-0001-5431-2729\")),\nperson(given = c(\"Miguel\", \"B.\"),\nfamily = \"Araujo\",\nrole = \"aut\"))",
  "Description": "An extensible framework for developing species\ndistribution models using individual and community-based\napproaches, generate ensembles of models, evaluate the models,\nand predict species potential distributions in space and time.\nFor more information, please check the following paper: Naimi,\nB., Araujo, M.B. (2016) <doi:10.1111/ecog.01881>.",
  "License": "GPL (>= 3)",
  "URL": "https://www.biogeoinformatics.org",
  "VignetteBuilder": "R.rsp",
  "Config/pak/sysreqs": "libgdal-dev gdal-bin libgeos-dev libproj-dev\nlibsqlite3-dev",
  "Repository": "https://babaknaimi.r-universe.dev",
  "Date/Publication": "2025-09-24 16:34:08 UTC",
  "RemoteUrl": "https://github.com/babaknaimi/sdm",
  "RemoteRef": "HEAD",
  "RemoteSha": "a3c956f3b9f7e91dbc6e4f2c82a691cd6f88f9a4",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-10-10 17:05:48 UTC",
    "User": "root"
  },
  "Author": "Babak Naimi [aut, cre] (ORCID: <https://orcid.org/0000-0001-5431-2729>),\nMiguel B. Araujo [aut]",
  "Maintainer": "Babak Naimi <naimi.b@gmail.com>",
  "_user": "babaknaimi",
  "_type": "src",
  "_file": "sdm_1.2-67.tar.gz",
  "_fileid": "https://r2.ropensci.org/7dfb3f2caa44eb40edcb7fc6378bc3fce3f0a62810562f0a2047e1ed9e904aa0",
  "_filesize": 3984624,
  "_sha256": "7dfb3f2caa44eb40edcb7fc6378bc3fce3f0a62810562f0a2047e1ed9e904aa0",
  "_expires": "2027-01-18T18:10:42.000Z",
  "_created": "2026-10-10T17:05:48.000Z",
  "_published": "2026-10-10T18:10:44.597Z",
  "_buildurl": "https://github.com/r-universe/babaknaimi/actions/runs/38070065813",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_jobs": [
    {
      "job": 114266471411,
      "time": 279,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "WARNING",
      "artifact": "11676173852"
    },
    {
      "job": 114266471390,
      "time": 270,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "WARNING",
      "artifact": "11676866194"
    },
    {
      "job": 114266471415,
      "time": 247,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "WARNING",
      "artifact": "11678412416"
    },
    {
      "job": 114266471355,
      "time": 275,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "WARNING",
      "artifact": "11678232713"
    },
    {
      "job": 114265544237,
      "time": 275,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11676293214"
    },
    {
      "job": 114266471409,
      "time": 108,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "11676173617"
    },
    {
      "job": 114266471464,
      "time": 256,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "WARNING",
      "artifact": "11676621566"
    },
    {
      "job": 114266471457,
      "time": 202,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "WARNING",
      "artifact": "11676118735"
    },
    {
      "job": 114266471371,
      "time": 221,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "WARNING",
      "artifact": "11676931030"
    }
  ],
  "_upstream": "https://github.com/babaknaimi/sdm",
  "_commit": {
    "id": "a3c956f3b9f7e91dbc6e4f2c82a691cd6f88f9a4",
    "author": "Babak Naimi <naimi.b@gmail.com>",
    "committer": "Babak Naimi <naimi.b@gmail.com>",
    "message": "bug fix\n",
    "time": 1758731648
  },
  "_maintainer": {
    "name": "Babak Naimi",
    "email": "naimi.b@gmail.com",
    "login": "babaknaimi",
    "linkedin": "in/babak-naimi-73026341",
    "description": "I am a senior researcher at the University of Utrecht, NL. I am interested in spatial and spatiotemporal modelling, AI, and spatial data science.",
    "uuid": 6040726,
    "orcid": "0000-0001-5431-2729"
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "methods",
      "role": "Depends"
    },
    {
      "package": "R",
      "version": ">= 3.5.0",
      "role": "Depends"
    },
    {
      "package": "terra",
      "role": "Depends"
    },
    {
      "package": "sp",
      "role": "Imports"
    },
    {
      "package": "raster",
      "role": "Imports"
    },
    {
      "package": "R.rsp",
      "role": "Suggests"
    },
    {
      "package": "shinyBS",
      "role": "Suggests"
    },
    {
      "package": "shiny",
      "role": "Suggests"
    },
    {
      "package": "dismo",
      "role": "Suggests"
    }
  ],
  "_owner": "babaknaimi",
  "_selfowned": true,
  "_usedby": 2,
  "_updates": [],
  "_tags": [],
  "_stars": 29,
  "_contributors": [
    {
      "user": "babaknaimi",
      "count": 56,
      "uuid": 6040726
    },
    {
      "user": "wycology",
      "count": 1,
      "uuid": 57949665
    }
  ],
  "_userbio": {
    "uuid": 6040726,
    "type": "user",
    "name": "Babak Naimi",
    "followers": 104,
    "description": "I am a senior researcher at the University of Utrecht, NL. I am interested in spatial and spatiotemporal modelling, AI, and spatial data science."
  },
  "_downloads": {
    "count": 995,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/sdm"
  },
  "_mentions": 26,
  "_devurl": "https://github.com/babaknaimi/sdm",
  "_searchresults": 415,
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/manual.pdf",
    "extra/readme.html",
    "extra/readme.md",
    "extra/sdm.html"
  ],
  "_homeurl": "https://github.com/babaknaimi/sdm",
  "_realowner": "babaknaimi",
  "_cranurl": true,
  "_releases": [
    {
      "version": "1.0-10",
      "date": "2016-04-07"
    },
    {
      "version": "1.0-25",
      "date": "2016-07-15"
    },
    {
      "version": "1.0-28",
      "date": "2016-10-16"
    },
    {
      "version": "1.0-32",
      "date": "2016-12-02"
    },
    {
      "version": "1.0-41",
      "date": "2017-07-26"
    },
    {
      "version": "1.0-46",
      "date": "2018-02-21"
    },
    {
      "version": "1.0-67",
      "date": "2019-02-26"
    },
    {
      "version": "1.0-81",
      "date": "2020-01-17"
    },
    {
      "version": "1.0-82",
      "date": "2020-02-03"
    },
    {
      "version": "1.0-89",
      "date": "2020-04-29"
    },
    {
      "version": "1.1-8",
      "date": "2021-11-12"
    },
    {
      "version": "1.2-32",
      "date": "2024-03-02"
    },
    {
      "version": "1.2-40",
      "date": "2024-05-02"
    },
    {
      "version": "1.2-46",
      "date": "2024-07-17"
    },
    {
      "version": "1.2-55",
      "date": "2025-01-11"
    },
    {
      "version": "1.2-59",
      "date": "2025-07-13"
    }
  ],
  "_exports": [
    "add",
    "aoa",
    "background",
    "calibration",
    "coords",
    "coords<-",
    "ensemble",
    "evaluates",
    "getEvaluation",
    "getmethod",
    "getmethodNames",
    "getModelId",
    "getModelInfo",
    "getModelObject",
    "getReplication",
    "getResponseCurve",
    "getRoc",
    "getThreshold",
    "getVarImp",
    "gui",
    "installAll",
    "niche",
    "nicheSimilarity",
    "pa",
    "pca",
    "rcurve",
    "read.sdm",
    "roc",
    "sdm",
    "sdmAdapt",
    "sdmData",
    "sdmSetting",
    "threshold",
    "write.sdm"
  ],
  "_help": [
    {
      "page": "add",
      "title": "Add a new method to the package",
      "topics": [
        "add",
        "add,list,character-method",
        "getmethod",
        "getmethod,character-method",
        "getmethodNames",
        "getmethodNames,ANY-method"
      ]
    },
    {
      "page": "aoa",
      "title": "Area of Applicability",
      "topics": [
        "aoa",
        "aoa,SpatRaster,sdmdata-method",
        "aoa,SpatRaster,sdmModels-method"
      ]
    },
    {
      "page": "arithm",
      "title": "Combine (merge) two sdmModels into a single object",
      "topics": [
        "+,sdmModels,sdmModels-method",
        "Arith-methods"
      ]
    },
    {
      "page": "as.data.frame",
      "title": "Get a data.frame with record id values (rID)",
      "topics": [
        "as.data.frame",
        "as.data.frame,sdmdata-method"
      ]
    },
    {
      "page": "background",
      "title": "Generates background (pseudo-absence) records",
      "topics": [
        "background",
        "background,Raster-method",
        "background,SpatRaster-method"
      ]
    },
    {
      "page": "boxplot",
      "title": "boxplot",
      "topics": [
        "boxplot",
        "boxplot,sdmEvaluate-method"
      ]
    },
    {
      "page": "calibration",
      "title": "Calibration",
      "topics": [
        "calibration",
        "calibration,sdmEvaluate,missing-method",
        "calibration,vector,vector-method"
      ]
    },
    {
      "page": "coordinates",
      "title": "Get or set spatial coordinates of species data",
      "topics": [
        "coords",
        "coords,sdmdata-method",
        "coords,sdmModels-method",
        "coords<-",
        "coords<-,sdmdata-method"
      ]
    },
    {
      "page": "density",
      "title": "density",
      "topics": [
        "density",
        "density,sdmEvaluate-method"
      ]
    },
    {
      "page": "ensemble",
      "title": "Ensemble Forecasting of SDMs",
      "topics": [
        "ensemble",
        "ensemble,sdmModels,data.frame-method",
        "ensemble,sdmModels,Raster-method",
        "ensemble,sdmModels,SpatRaster-method",
        "ensemble,sdmModels-method"
      ]
    },
    {
      "page": "evaluates",
      "title": "evaluate for accuracy",
      "topics": [
        "evaluates",
        "evaluates,sdmdata,RasterLayer-method",
        "evaluates,sdmdata,SpatRaster-method",
        "evaluates,sdmModels,missing-method",
        "evaluates,sdmModels,SpatRaster-method",
        "evaluates,vector,vector-method",
        "getEvaluation",
        "getEvaluation,sdmModels-method",
        "getReplication",
        "getReplication,sdmModels-method",
        "show,sdmEvaluate-method"
      ]
    },
    {
      "page": "extractIndex",
      "title": "Indexing to extract records of a sdmdata object",
      "topics": [
        "[,sdmdata,ANY,ANY-method",
        "[,sdmdata,missing,missing-method"
      ]
    },
    {
      "page": "featuresFrame-class",
      "title": "featureFrame class",
      "topics": [
        "featuresFrame-class"
      ]
    },
    {
      "page": "getModelInfo",
      "title": "Get information/modelIDs relevant to fitted models in a sdmModels object",
      "topics": [
        "getModelId",
        "getModelId,sdmModels-method",
        "getModelInfo",
        "getModelInfo,sdmModels-method",
        "getModelObject",
        "getModelObject,sdmModels-method"
      ]
    },
    {
      "page": "varImportance",
      "title": "variable importance",
      "topics": [
        "getVarImp",
        "getVarImp,sdmModels-method"
      ]
    },
    {
      "page": "gui",
      "title": "Graphical User Interface",
      "topics": [
        "gui",
        "gui,sdmModels-method"
      ]
    },
    {
      "page": "installAll",
      "title": "Install all packages that may be required by the package",
      "topics": [
        "installAll",
        "installAll,ANY-method"
      ]
    },
    {
      "page": "names",
      "title": "Names of species",
      "topics": [
        "names",
        "names,sdmdata-method",
        "names<-",
        "names<-,sdmdata-method"
      ]
    },
    {
      "page": "niche",
      "title": "Generate and plot Ecological Niche",
      "topics": [
        "niche",
        "niche,RasterStackBrick,RasterLayer-method",
        "niche,RasterStackBrick,sdmdata-method",
        "niche,RasterStackBrick,SpatialPoints-method",
        "niche,sdmdata,ANY-method",
        "niche,SpatRaster,sdmdata-method",
        "niche,SpatRaster,SpatRaster-method",
        "niche,SpatRaster,SpatVector-method",
        "plot,.nicheRaster-method",
        "plot,.nicheSpatRaster-method"
      ]
    },
    {
      "page": "nicheSimilarity",
      "title": "Niche Similarity",
      "topics": [
        "nicheSimilarity",
        "nicheSimilarity,.nicheSpatRaster,.nicheSpatRaster-method",
        "nicheSimilarity,SpatRaster,missing-method",
        "nicheSimilarity,SpatRaster,SpatRaster-method"
      ]
    },
    {
      "page": "pa",
      "title": "Converting probability of occurrence to presence-absence",
      "topics": [
        "pa",
        "pa,SpatRaster,numeric-method",
        "pa,SpatRaster,sdmdata-method",
        "pa,SpatRaster,sdmModels-method"
      ]
    },
    {
      "page": "pca",
      "title": "Principle Components Analysis",
      "topics": [
        "pca",
        "pca,data.frame-method",
        "pca,RasterStackBrick-method",
        "pca,sdmdata-method",
        "pca,SpatRaster-method",
        "princomp-class"
      ]
    },
    {
      "page": "predict",
      "title": "sdm model prediction",
      "topics": [
        "predict",
        "predict,.maxlikeModel-method",
        "predict,sdmModels-method"
      ]
    },
    {
      "page": "response",
      "title": "Generate and plot response curves",
      "topics": [
        "getResponseCurve",
        "getResponseCurve,sdmModels-method",
        "plot,.responseCurve-method",
        "rcurve",
        "rcurve,.responseCurve-method",
        "rcurve,sdmModels-method"
      ]
    },
    {
      "page": "read.sdm",
      "title": "read/write sdm* object from/to a file",
      "topics": [
        "read.sdm",
        "read.sdm,character-method",
        "write.sdm",
        "write.sdm,.sdmCorSetting,character-method",
        "write.sdm,sdmdata,character-method",
        "write.sdm,sdmModels,character-method"
      ]
    },
    {
      "page": "roc",
      "title": "plot ROC curves",
      "topics": [
        "getRoc",
        "getRoc,sdmModels,ANY-method",
        "getRoc,vector,vector-method",
        "roc",
        "roc,sdmModels,ANY-method",
        "roc,sdmModels-method",
        "roc,vector,vector-method"
      ]
    },
    {
      "page": "sdm",
      "title": "Fit and evaluate species distribution models",
      "topics": [
        "sdm",
        "sdm,ANY,sdmdata,.sdmCorSetting-method",
        "sdm,ANY,sdmdata,character-method",
        "sdm,sdmdata,.sdmCorSetting,ANY-method"
      ]
    },
    {
      "page": "adapt",
      "title": "Adapting sdm* objects in the new version",
      "topics": [
        "sdmAdapt",
        "sdmAdapt,sdmdata-method",
        "sdmAdapt,sdmModels-method"
      ]
    },
    {
      "page": "sdmCorrelativeMethod-class",
      "title": "sdmCorrelativeMethod class",
      "topics": [
        "sdmCorrelativeMethod-class"
      ]
    },
    {
      "page": "sdmData",
      "title": "Creating sdmdata object",
      "topics": [
        "sdmData",
        "sdmData,ANY,data.frame,missing,missing-method",
        "sdmData,ANY,data.frame,missing-method",
        "sdmData,ANY,data.frame,SpatRaster-method",
        "sdmData,ANY,SpatialPoints,missing-method",
        "sdmData,ANY,SpatialPoints,Raster-method",
        "sdmData,ANY,SpatVector,SpatRaster-method",
        "sdmData,data.frame,formula,missing-method",
        "sdmData,data.frame,missing,missing-method"
      ]
    },
    {
      "page": "sdmdata-class",
      "title": "An S4 class representing sdm dataset",
      "topics": [
        "sdmdata-class",
        "show,sdmdata-method"
      ]
    },
    {
      "page": "sdmModel-class",
      "title": "sdmModels classes",
      "topics": [
        ".pcaObject-class",
        "characterORmissing-class",
        "characterORnull-class",
        "CRSorNULL-class",
        "data.frameORmatrix-class",
        "data.frameORnull-class",
        "environmentORnull-class",
        "expressionORnull-class",
        "formulaORnull-class",
        "functionORcharacter-class",
        "functionORnull-class",
        "integerORnull-class",
        "listORcharacter-class",
        "listORnull-class",
        "matrixORnull-class",
        "numericORnull-class",
        "sdmEvaluate-class",
        "sdmFormula-class",
        "sdmModels-class",
        "show,sdmModels-method"
      ]
    },
    {
      "page": "sdmSetting",
      "title": "creating sdmSetting object",
      "topics": [
        "sdmSetting",
        "sdmSetting,ANY,sdmdata,character-method",
        "show,sdmSetting-method"
      ]
    },
    {
      "page": "subset",
      "title": "Subset models in a sdmModels object",
      "topics": [
        "subset",
        "subset,sdmModels-method",
        "[[,sdmModels,ANY,ANY-method"
      ]
    },
    {
      "page": "threshold",
      "title": "Identifying/extracting the best threshold to convert probabilities to presence-absence",
      "topics": [
        "getThreshold",
        "getThreshold,sdmModels,character-method",
        "getThreshold,sdmModels,numeric-method",
        "threshold",
        "threshold,sdmModels,character-method",
        "threshold,sdmModels,numeric-method"
      ]
    }
  ],
  "_readme": "https://github.com/babaknaimi/sdm/raw/HEAD/README.md",
  "_rundeps": [
    "lattice",
    "raster",
    "Rcpp",
    "sp",
    "terra"
  ],
  "_vignettes": [
    {
      "source": "quick_sdm.pdf.asis",
      "filename": "quick_sdm.pdf",
      "title": "sdm",
      "engine": "R.rsp::asis",
      "headings": [
        "Installing sdm and all the required packages",
        "A brief overview:",
        "Example Dataset:",
        "Data preparation",
        "Model Fitting and Evaluation",
        "Prediction",
        "Ensemble forecasting",
        "Reference"
      ],
      "created": "2018-04-05 16:12:15",
      "modified": "2018-04-05 16:12:15",
      "commits": 1
    }
  ],
  "_score": 8.55756734933071,
  "_indexed": true,
  "_nocasepkg": "sdm",
  "_universes": [
    "babaknaimi"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.2-67",
      "date": "2026-10-10T17:08:30.000Z",
      "distro": "resolute",
      "commit": "a3c956f3b9f7e91dbc6e4f2c82a691cd6f88f9a4",
      "fileid": "https://r2.ropensci.org/c33e16fc90570a4eb39300cb62e72d688d4955729919786c7112e8ac6cd19d24",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/babaknaimi/actions/runs/38070065813"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "1.2-67",
      "date": "2026-10-10T17:08:43.000Z",
      "distro": "resolute",
      "commit": "a3c956f3b9f7e91dbc6e4f2c82a691cd6f88f9a4",
      "fileid": "https://r2.ropensci.org/9a36dc17fbbbbb4ebdb2e36767fe47fc7be60ec878a5fea2a9c87f62780348f1",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/babaknaimi/actions/runs/38070065813"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.2-67",
      "date": "2026-10-10T18:08:03.000Z",
      "commit": "a3c956f3b9f7e91dbc6e4f2c82a691cd6f88f9a4",
      "fileid": "https://r2.ropensci.org/82c4a05806301f21ca8628bd26ea48ab4a8a6d75a540d2aa5699f954a43ba8e2",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/babaknaimi/actions/runs/38070065813"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "1.2-67",
      "date": "2026-10-10T18:07:53.000Z",
      "commit": "a3c956f3b9f7e91dbc6e4f2c82a691cd6f88f9a4",
      "fileid": "https://r2.ropensci.org/555098fabeb75e3766749f419c3a50dc81f9878bbe9f5da3666531392213c21d",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/babaknaimi/actions/runs/38070065813"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.2-67",
      "date": "2026-10-10T17:08:30.000Z",
      "commit": "a3c956f3b9f7e91dbc6e4f2c82a691cd6f88f9a4",
      "fileid": "https://r2.ropensci.org/6dd7a10a805ed491cb0f63a982363f55cb4507e9677654369eaef2c292e5751e",
      "status": "success",
      "buildurl": "https://github.com/r-universe/babaknaimi/actions/runs/38070065813"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.2-67",
      "date": "2026-10-10T17:07:46.000Z",
      "commit": "a3c956f3b9f7e91dbc6e4f2c82a691cd6f88f9a4",
      "fileid": "https://r2.ropensci.org/95f6b65879615ec298eced40c6e793064b8fc71683110356a1b2e1078abc3bc1",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/babaknaimi/actions/runs/38070065813"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.2-67",
      "date": "2026-10-10T17:07:35.000Z",
      "commit": "a3c956f3b9f7e91dbc6e4f2c82a691cd6f88f9a4",
      "fileid": "https://r2.ropensci.org/4befdf9520a8a115144b09eb3eefde19da46376d29ddf802815799e92e10291e",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/babaknaimi/actions/runs/38070065813"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "1.2-67",
      "date": "2026-10-10T17:08:01.000Z",
      "commit": "a3c956f3b9f7e91dbc6e4f2c82a691cd6f88f9a4",
      "fileid": "https://r2.ropensci.org/f87588856bd4925ef245e1aaf78d098e9c55adfb4c786bd3aeafe1bb176dd3c5",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/babaknaimi/actions/runs/38070065813"
    }
  ]
}