{
  "_id": "6ad225bb475807f7554a5f7e",
  "Package": "deepspat",
  "Type": "Package",
  "Title": "Deep Compositional Spatial Models",
  "Date": "2026-08-10",
  "Version": "0.3.2",
  "Authors@R": "c(person(given = \"Andrew\", family = \"Zammit-Mangion\", role = \"aut\"), \nperson(given = \"Quan\", family = \"Vu\", role = c(\"aut\", \"cre\"),\nemail = \"quanvustats@gmail.com\"),\nperson(given = \"Xuanjie\", family = \"Shao\", role = \"aut\")\n)",
  "Maintainer": "Quan Vu <quanvustats@gmail.com>",
  "Description": "Deep compositional spatial models are standard spatial\ncovariance models coupled with an injective warping function of\nthe spatial domain. The warping function is constructed through\na composition of multiple elemental injective functions in a\ndeep-learning framework. The package implements two cases for\nthe univariate setting; first, when these warping functions are\nknown up to some weights that need to be estimated, and,\nsecond, when the weights in each layer are random. In the\nmultivariate setting only the former case is available.\nEstimation and inference is done using `tensorflow`, which\nmakes use of graphics processing units. For more details see\nZammit-Mangion et al. (2022)\n<doi:10.1080/01621459.2021.1887741>, Vu et al. (2022)\n<doi:10.5705/ss.202020.0156>, Vu et al. (2023)\n<doi:10.1016/j.spasta.2023.100742>, and Shao et al. (2025)\n<doi:10.48550/arXiv.2505.12548>.",
  "License": "Apache License 2.0",
  "SystemRequirements": "TensorFlow (https://www.tensorflow.org/),",
  "Encoding": "UTF-8",
  "RoxygenNote": "7.3.2",
  "NeedsCompilation": "no",
  "URL": "https://cran.r-project.org/package=deepspat",
  "BugReports": "https://github.com/andrewzm/deepspat/issues",
  "Config/pak/sysreqs": "libpng-dev python3",
  "Repository": "https://andrewzm.r-universe.dev",
  "Date/Publication": "2026-10-16 12:40:11 UTC",
  "RemoteUrl": "https://github.com/andrewzm/deepspat",
  "RemoteRef": "HEAD",
  "RemoteSha": "008206cbf92fd1e0c63add8c6fa06d48e4aac261",
  "Packaged": {
    "Date": "2026-10-16 13:00:38 UTC",
    "User": "root"
  },
  "Author": "Andrew Zammit-Mangion [aut],\nQuan Vu [aut, cre],\nXuanjie Shao [aut]",
  "_user": "andrewzm",
  "_type": "src",
  "_file": "deepspat_0.3.2.tar.gz",
  "_fileid": "https://r2.ropensci.org/c73c429e9d530f2fe046b4810350619f8c434f5c26c8245689775731d90f7f52",
  "_filesize": 256169,
  "_sha256": "c73c429e9d530f2fe046b4810350619f8c434f5c26c8245689775731d90f7f52",
  "_expires": "2027-01-24T13:25:12.000Z",
  "_created": "2026-10-16T13:00:38.000Z",
  "_published": "2026-10-16T13:25:14.791Z",
  "_buildurl": "https://github.com/r-universe/andrewzm/actions/runs/38904152182",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_jobs": [
    {
      "job": 116985120737,
      "time": 156,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "12048280274"
    },
    {
      "job": 116985120346,
      "time": 150,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12047960846"
    },
    {
      "job": 116985120311,
      "time": 134,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "12048603818"
    },
    {
      "job": 116985120410,
      "time": 131,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12047987497"
    },
    {
      "job": 116983534046,
      "time": 230,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12047691018"
    },
    {
      "job": 116985120507,
      "time": 95,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "12046824439"
    },
    {
      "job": 116985120529,
      "time": 122,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "12047586710"
    },
    {
      "job": 116985120513,
      "time": 93,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "12046964814"
    },
    {
      "job": 116985120438,
      "time": 120,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12047546303"
    }
  ],
  "_upstream": "https://github.com/andrewzm/deepspat",
  "_commit": {
    "id": "008206cbf92fd1e0c63add8c6fa06d48e4aac261",
    "author": "shaox0a <72076612+shaox0a@users.noreply.github.com>",
    "committer": "GitHub <noreply@github.com>",
    "message": "Add files via upload",
    "time": 1792154411
  },
  "_maintainer": {
    "name": "Quan Vu",
    "email": "quanvustats@gmail.com"
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "data.table",
      "role": "Imports"
    },
    {
      "package": "dplyr",
      "role": "Imports"
    },
    {
      "package": "Matrix",
      "role": "Imports"
    },
    {
      "package": "methods",
      "role": "Imports"
    },
    {
      "package": "rlang",
      "role": "Imports"
    },
    {
      "package": "reticulate",
      "role": "Imports"
    },
    {
      "package": "keras",
      "role": "Imports"
    },
    {
      "package": "tensorflow",
      "role": "Imports"
    },
    {
      "package": "tfprobability",
      "role": "Imports"
    },
    {
      "package": "evd",
      "role": "Imports"
    },
    {
      "package": "fields",
      "role": "Imports"
    }
  ],
  "_owner": "andrewzm",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2025-43",
      "n": 3
    },
    {
      "week": "2025-45",
      "n": 2
    },
    {
      "week": "2025-46",
      "n": 2
    },
    {
      "week": "2025-47",
      "n": 2
    },
    {
      "week": "2025-48",
      "n": 2
    },
    {
      "week": "2026-23",
      "n": 8
    },
    {
      "week": "2026-28",
      "n": 1
    },
    {
      "week": "2026-32",
      "n": 4
    },
    {
      "week": "2026-33",
      "n": 4
    },
    {
      "week": "2026-38",
      "n": 6
    },
    {
      "week": "2026-40",
      "n": 3
    },
    {
      "week": "2026-41",
      "n": 1
    },
    {
      "week": "2026-42",
      "n": 2
    }
  ],
  "_tags": [],
  "_stars": 10,
  "_contributors": [
    {
      "user": "quanvu17",
      "count": 60,
      "uuid": 61038683
    },
    {
      "user": "shaox0a",
      "count": 40,
      "uuid": 72076612
    },
    {
      "user": "andrewzm",
      "count": 30,
      "uuid": 150125
    }
  ],
  "_userbio": {
    "uuid": 150125,
    "type": "user",
    "name": "Andrew Zammit Mangion",
    "followers": 117
  },
  "_downloads": {
    "count": 575,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/deepspat"
  },
  "_devurl": "https://github.com/andrewzm/deepspat",
  "_searchresults": 1,
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/deepspat.html",
    "extra/manual.pdf",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md"
  ],
  "_homeurl": "https://github.com/andrewzm/deepspat",
  "_realowner": "andrewzm",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.3.0",
      "date": "2025-11-12"
    },
    {
      "version": "0.3.1",
      "date": "2025-11-25"
    },
    {
      "version": "0.3.2",
      "date": "2026-08-28"
    },
    {
      "version": "0.3.3",
      "date": "2026-09-16"
    },
    {
      "version": "0.3.4",
      "date": "2026-09-30"
    },
    {
      "version": "0.3.5",
      "date": "2026-10-07"
    }
  ],
  "_exports": [
    "AFF_1D",
    "AFF_2D",
    "AWU",
    "bisquares1D",
    "bisquares2D",
    "deepspat",
    "deepspat_bivar_GP",
    "deepspat_GP",
    "deepspat_MSP",
    "deepspat_nn_GP",
    "deepspat_nn_ST_GP",
    "deepspat_rPP",
    "deepspat_trivar_GP",
    "init_learn_rates",
    "initvars",
    "LFT",
    "RBF_block",
    "set_deepspat_seed",
    "sim_data"
  ],
  "_help": [
    {
      "page": "AFF_1D",
      "title": "Affine transformation on a 1D domain",
      "topics": [
        "AFF_1D"
      ]
    },
    {
      "page": "AFF_2D",
      "title": "Affine transformation on a 2D domain",
      "topics": [
        "AFF_2D"
      ]
    },
    {
      "page": "AWU",
      "title": "Axial Warping Unit",
      "topics": [
        "AWU"
      ]
    },
    {
      "page": "bisquares1D",
      "title": "Bisquare functions on a 1D domain",
      "topics": [
        "bisquares1D"
      ]
    },
    {
      "page": "bisquares2D",
      "title": "Bisquare functions on a 2D domain",
      "topics": [
        "bisquares2D"
      ]
    },
    {
      "page": "deepspat",
      "title": "Deep compositional spatial models",
      "topics": [
        "deepspat-package",
        "deepspat"
      ]
    },
    {
      "page": "deepspat_bivar_GP",
      "title": "Fit a bivariate Gaussian process deepspat model",
      "topics": [
        "deepspat_bivar_GP"
      ]
    },
    {
      "page": "deepspat_GP",
      "title": "Fit a univariate Gaussian process deepspat model",
      "topics": [
        "deepspat_GP"
      ]
    },
    {
      "page": "deepspat_MSP",
      "title": "Fit a max-stable Brown-Resnick deepspat model",
      "topics": [
        "deepspat_MSP"
      ]
    },
    {
      "page": "deepspat_nn_GP",
      "title": "Fit a nearest-neighbor Gaussian process deepspat model",
      "topics": [
        "deepspat_nn_GP"
      ]
    },
    {
      "page": "deepspat_nn_ST_GP",
      "title": "Fit a nearest-neighbor spatio-temporal Gaussian process deepspat model",
      "topics": [
        "deepspat_nn_ST_GP"
      ]
    },
    {
      "page": "deepspat_rPP",
      "title": "Fit an r-Pareto process deepspat model",
      "topics": [
        "deepspat_rPP"
      ]
    },
    {
      "page": "deepspat_trivar_GP",
      "title": "Fit a trivariate Gaussian process deepspat model",
      "topics": [
        "deepspat_trivar_GP"
      ]
    },
    {
      "page": "init_learn_rates",
      "title": "Initialise learning rates",
      "topics": [
        "init_learn_rates"
      ]
    },
    {
      "page": "initvars",
      "title": "Initialise weights and parameters",
      "topics": [
        "initvars"
      ]
    },
    {
      "page": "LFT",
      "title": "LFT (Möbius transformation)",
      "topics": [
        "LFT"
      ]
    },
    {
      "page": "plot.deepspat",
      "title": "Plot fitted deepspat models",
      "topics": [
        "plot.deepspat",
        "plot.deepspat_bivar_GP",
        "plot.deepspat_GP",
        "plot.deepspat_MSP",
        "plot.deepspat_nn_GP",
        "plot.deepspat_nn_ST_GP",
        "plot.deepspat_rPP",
        "plot.deepspat_trivar_GP"
      ]
    },
    {
      "page": "predict.deepspat",
      "title": "Predict from a fitted deepspat model",
      "topics": [
        "predict.deepspat"
      ]
    },
    {
      "page": "predict.deepspat_bivar_GP",
      "title": "Predict from a fitted bivariate Gaussian process model",
      "topics": [
        "predict.deepspat_bivar_GP"
      ]
    },
    {
      "page": "predict.deepspat_GP",
      "title": "Predict from a fitted univariate Gaussian process model",
      "topics": [
        "predict.deepspat_GP"
      ]
    },
    {
      "page": "predict.deepspat_MSP",
      "title": "Predict fitted dependence from a max-stable process model",
      "topics": [
        "predict.deepspat_MSP"
      ]
    },
    {
      "page": "predict.deepspat_nn_GP",
      "title": "Predict from a fitted nearest-neighbor Gaussian process model",
      "topics": [
        "predict.deepspat_nn_GP"
      ]
    },
    {
      "page": "predict.deepspat_nn_ST_GP",
      "title": "Predict from a fitted nearest-neighbor spatio-temporal Gaussian process model",
      "topics": [
        "predict.deepspat_nn_ST_GP"
      ]
    },
    {
      "page": "predict.deepspat_rPP",
      "title": "Predict fitted dependence from an r-Pareto process model",
      "topics": [
        "predict.deepspat_rPP"
      ]
    },
    {
      "page": "predict.deepspat_trivar_GP",
      "title": "Predict from a fitted trivariate Gaussian process model",
      "topics": [
        "predict.deepspat_trivar_GP"
      ]
    },
    {
      "page": "print.deepspat",
      "title": "Print fitted deepspat models",
      "topics": [
        "print.deepspat",
        "print.deepspat_bivar_GP",
        "print.deepspat_GP",
        "print.deepspat_MSP",
        "print.deepspat_nn_GP",
        "print.deepspat_nn_ST_GP",
        "print.deepspat_rPP",
        "print.deepspat_trivar_GP",
        "print.summary.deepspat"
      ]
    },
    {
      "page": "RBF_block",
      "title": "Radial Basis Function Warpings",
      "topics": [
        "RBF_block"
      ]
    },
    {
      "page": "set_deepspat_seed",
      "title": "Set TensorFlow seed",
      "topics": [
        "set_deepspat_seed"
      ]
    },
    {
      "page": "sim_data",
      "title": "Generate simulation data for testing",
      "topics": [
        "sim_data"
      ]
    },
    {
      "page": "summary.deepspat",
      "title": "Summarize fitted deepspat models",
      "topics": [
        "summary.deepspat",
        "summary.deepspat_bivar_GP",
        "summary.deepspat_GP",
        "summary.deepspat_MSP",
        "summary.deepspat_nn_GP",
        "summary.deepspat_nn_ST_GP",
        "summary.deepspat_rPP",
        "summary.deepspat_trivar_GP"
      ]
    }
  ],
  "_readme": "https://github.com/andrewzm/deepspat/raw/HEAD/README.md",
  "_rundeps": [
    "backports",
    "base64enc",
    "cli",
    "config",
    "data.table",
    "dotCall64",
    "dplyr",
    "evd",
    "fields",
    "generics",
    "glue",
    "here",
    "jsonlite",
    "keras",
    "lattice",
    "lifecycle",
    "magrittr",
    "maps",
    "Matrix",
    "pillar",
    "pkgconfig",
    "png",
    "processx",
    "ps",
    "R6",
    "rappdirs",
    "RColorBrewer",
    "Rcpp",
    "RcppTOML",
    "reticulate",
    "rlang",
    "rprojroot",
    "rstudioapi",
    "spam",
    "tensorflow",
    "tfautograph",
    "tfprobability",
    "tfruns",
    "tibble",
    "tidyselect",
    "utf8",
    "vctrs",
    "viridisLite",
    "whisker",
    "withr",
    "yaml",
    "zeallot"
  ],
  "_score": 5.113943352306837,
  "_indexed": true,
  "_nocasepkg": "deepspat",
  "_universes": [
    "andrewzm"
  ],
  "_previous": "0.3.5",
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.3.2",
      "date": "2026-10-16T13:02:45.000Z",
      "distro": "resolute",
      "commit": "008206cbf92fd1e0c63add8c6fa06d48e4aac261",
      "fileid": "https://r2.ropensci.org/4e6247deecb0007c13d732c38e959a0328e4ad0af09aee659f655b0b006e25ae",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/andrewzm/actions/runs/38904152182"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.3.2",
      "date": "2026-10-16T13:02:42.000Z",
      "distro": "resolute",
      "commit": "008206cbf92fd1e0c63add8c6fa06d48e4aac261",
      "fileid": "https://r2.ropensci.org/3169849b5d398540997b2f227d273d17bf04f5185513294b4672cea28fb925db",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/andrewzm/actions/runs/38904152182"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.3.2",
      "date": "2026-10-16T13:24:07.000Z",
      "commit": "008206cbf92fd1e0c63add8c6fa06d48e4aac261",
      "fileid": "https://r2.ropensci.org/771fa9c15716438a08eab0c3c9d19f366d4df3dab80648e28b51e56a9018e7de",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/andrewzm/actions/runs/38904152182"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.3.2",
      "date": "2026-10-16T13:15:41.000Z",
      "commit": "008206cbf92fd1e0c63add8c6fa06d48e4aac261",
      "fileid": "https://r2.ropensci.org/590e933728818f877fbca82b657cbc90bad1b6eb2eaac4c7bde4a5cc6a7925b9",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/andrewzm/actions/runs/38904152182"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.3.2",
      "date": "2026-10-16T13:02:41.000Z",
      "commit": "008206cbf92fd1e0c63add8c6fa06d48e4aac261",
      "fileid": "https://r2.ropensci.org/9d6c6327761bb7ec723217a88399593e0a790bff002275c8dfbf37bc0494857b",
      "status": "success",
      "buildurl": "https://github.com/r-universe/andrewzm/actions/runs/38904152182"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.3.2",
      "date": "2026-10-16T13:02:01.000Z",
      "commit": "008206cbf92fd1e0c63add8c6fa06d48e4aac261",
      "fileid": "https://r2.ropensci.org/88262fcc8d4370c63af6133e09aacc54179e8c142fb60125c3d190ca67ccfd31",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/andrewzm/actions/runs/38904152182"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.3.2",
      "date": "2026-10-16T13:02:01.000Z",
      "commit": "008206cbf92fd1e0c63add8c6fa06d48e4aac261",
      "fileid": "https://r2.ropensci.org/0d3b5b4dea5979dd9bb535e5e501ee1519f2fc483bf7e57a9c5cc5035b74f959",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/andrewzm/actions/runs/38904152182"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.3.2",
      "date": "2026-10-16T13:02:02.000Z",
      "commit": "008206cbf92fd1e0c63add8c6fa06d48e4aac261",
      "fileid": "https://r2.ropensci.org/4edc7d1405c5b30f464dfc5f8fc16f206d444f0a005c46ade34247691ceb9148",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/andrewzm/actions/runs/38904152182"
    }
  ]
}