{
  "_id": "6aca786ffe5cc25786e89bfa",
  "Package": "SpatPCA",
  "Title": "Regularized Principal Component Analysis for Spatial Data",
  "Version": "1.3.8",
  "Authors@R": "c(person(\ngiven = \"Wen-Ting\",\nfamily = \"Wang\",\nemail = \"egpivo@gmail.com\",\nrole = c(\"aut\", \"cre\"),\ncomment = c(ORCID = \"0000-0003-3051-7302\")\n),\nperson(\ngiven = \"Hsin-Cheng\",\nfamily = \"Huang\",\nemail = \"hchuang@stat.sinica.edu.tw\",\nrole = \"aut\",\ncomment = c(ORCID = \"0000-0002-5613-349X\")\n)\n)",
  "Description": "Provide regularized principal component analysis\nincorporating smoothness, sparseness and orthogonality of\neigen-functions by using the alternating direction method of\nmultipliers algorithm (Wang and Huang, 2017,\n<DOI:10.1080/10618600.2016.1157483>). The method can be applied\nto either regularly or irregularly spaced data, including 1D,\n2D, and 3D.",
  "License": "GPL (>= 2)",
  "ByteCompile": "true",
  "BugReports": "https://github.com/egpivo/SpatPCA/issues",
  "SystemRequirements": "GNU make",
  "VignetteBuilder": "knitr, rmarkdown",
  "Encoding": "UTF-8",
  "RoxygenNote": "7.2.3",
  "Roxygen": "list(markdown = TRUE)",
  "URL": "https://egpivo.github.io/SpatPCA/,\nhttps://github.com/egpivo/SpatPCA",
  "Config/testthat/edition": "3",
  "Config/pak/sysreqs": "make",
  "Repository": "https://egpivo.r-universe.dev",
  "Date/Publication": "2025-09-28 10:33:04 UTC",
  "RemoteUrl": "https://github.com/egpivo/spatpca",
  "RemoteRef": "HEAD",
  "RemoteSha": "ef5fdb3947a19da43c0aa4168f761de0e9f5f97f",
  "NeedsCompilation": "yes",
  "Packaged": {
    "Date": "2026-10-10 16:34:55 UTC",
    "User": "root"
  },
  "Author": "Wen-Ting Wang [aut, cre] (ORCID:\n<https://orcid.org/0000-0003-3051-7302>),\nHsin-Cheng Huang [aut] (ORCID: <https://orcid.org/0000-0002-5613-349X>)",
  "Maintainer": "Wen-Ting Wang <egpivo@gmail.com>",
  "_user": "egpivo",
  "_type": "src",
  "_file": "SpatPCA_1.3.8.tar.gz",
  "_fileid": "https://r2.ropensci.org/be8cb888ef583410ebd6c7ae877ed8bf757bd440115734966cc901a8641b8955",
  "_filesize": 1090711,
  "_sha256": "be8cb888ef583410ebd6c7ae877ed8bf757bd440115734966cc901a8641b8955",
  "_expires": "2027-01-18T17:39:57.000Z",
  "_created": "2026-10-10T16:34:55.000Z",
  "_published": "2026-10-10T17:39:59.739Z",
  "_buildurl": "https://github.com/r-universe/egpivo/actions/runs/38067942827",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_jobs": [
    {
      "job": 114260323855,
      "time": 169,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11676012255"
    },
    {
      "job": 114260323856,
      "time": 146,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11676345973"
    },
    {
      "job": 114260323845,
      "time": 152,
      "config": "linux-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11675877206"
    },
    {
      "job": 114260323789,
      "time": 148,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11675702494"
    },
    {
      "job": 114260323821,
      "time": 123,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11677780068"
    },
    {
      "job": 114260323873,
      "time": 269,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11675772550"
    },
    {
      "job": 114260323860,
      "time": 101,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11676789615"
    },
    {
      "job": 114260323790,
      "time": 409,
      "config": "macos-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11676081626"
    },
    {
      "job": 114259376746,
      "time": 284,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11675577314"
    },
    {
      "job": 114260323768,
      "time": 110,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "11676350861"
    },
    {
      "job": 114260323844,
      "time": 198,
      "config": "windows-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11675462949"
    },
    {
      "job": 114260323787,
      "time": 172,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11676206949"
    },
    {
      "job": 114260323822,
      "time": 174,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11675881292"
    },
    {
      "job": 114260323833,
      "time": 248,
      "config": "windows-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11676266129"
    },
    {
      "job": 114260323815,
      "time": 125,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11675822113"
    }
  ],
  "_upstream": "https://github.com/egpivo/spatpca",
  "_commit": {
    "id": "ef5fdb3947a19da43c0aa4168f761de0e9f5f97f",
    "author": "Joseph (Wen-Ting) Wang <egpivo@gmail.com>",
    "committer": "GitHub <noreply@github.com>",
    "message": "[BUGFIX] Restore SpatPCA build after Armadillo update (#33)\n\n* FIX: refine the codebase by refining the dependencies of rcpparamdillo\n\n* FIX: correct the bug in tests; refine cpp code snippets\n\n* CHG: refine rcpp codebase\n\n* FIX: update the readme\n\n* FIX: remove invalid url",
    "time": 1759055584
  },
  "_maintainer": {
    "name": "Wen-Ting Wang",
    "email": "egpivo@gmail.com",
    "login": "egpivo",
    "linkedin": "in/wtwang",
    "description": "I love turning messy & massive data into intelligent systems.\n",
    "uuid": 7146349,
    "orcid": "0000-0003-3051-7302"
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.4.0",
      "role": "Depends"
    },
    {
      "package": "Rcpp",
      "role": "LinkingTo"
    },
    {
      "package": "RcppArmadillo",
      "role": "LinkingTo"
    },
    {
      "package": "Rcpp",
      "version": ">= 1.0.12",
      "role": "Imports"
    },
    {
      "package": "ggplot2",
      "role": "Imports"
    },
    {
      "package": "parallel",
      "role": "Imports"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 2.1.0",
      "role": "Suggests"
    },
    {
      "package": "dplyr",
      "version": ">= 1.0.3",
      "role": "Suggests"
    },
    {
      "package": "tidyr",
      "role": "Suggests"
    },
    {
      "package": "fields",
      "role": "Suggests"
    },
    {
      "package": "scico",
      "role": "Suggests"
    },
    {
      "package": "plot3D",
      "role": "Suggests"
    },
    {
      "package": "pracma",
      "role": "Suggests"
    },
    {
      "package": "RColorBrewer",
      "role": "Suggests"
    },
    {
      "package": "maps",
      "role": "Suggests"
    },
    {
      "package": "covr",
      "role": "Suggests"
    },
    {
      "package": "styler",
      "role": "Suggests"
    },
    {
      "package": "V8",
      "role": "Suggests"
    }
  ],
  "_owner": "egpivo",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [],
  "_tags": [],
  "_topics": [
    "admm",
    "covariance-estimation",
    "eigenfunctions",
    "lasso",
    "matrix-factorization",
    "pca",
    "rcpparmadillo",
    "rcppparallel",
    "regularization",
    "spatial",
    "spatial-data-analysis",
    "splines",
    "openblas",
    "cpp",
    "openmp"
  ],
  "_stars": 20,
  "_contributors": [
    {
      "user": "egpivo",
      "count": 212,
      "uuid": 7146349
    },
    {
      "user": "olivroy",
      "count": 1,
      "uuid": 52606734
    }
  ],
  "_userbio": {
    "uuid": 7146349,
    "type": "user",
    "name": "Wen-Ting (Joseph) Wang",
    "followers": 28,
    "description": "I love turning messy & massive data into intelligent systems.\r\n"
  },
  "_downloads": {
    "count": 324,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/SpatPCA"
  },
  "_devurl": "https://github.com/egpivo/spatpca",
  "_pkgdown": "https://egpivo.github.io/SpatPCA/",
  "_searchresults": 17,
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/manual.pdf",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "extra/SpatPCA.html"
  ],
  "_homeurl": "https://github.com/egpivo/spatpca",
  "_realowner": "egpivo",
  "_cranurl": true,
  "_releases": [
    {
      "version": "1.0",
      "date": "2015-01-23"
    },
    {
      "version": "1.0.0.1",
      "date": "2015-02-06"
    },
    {
      "version": "1.0.0.2",
      "date": "2015-06-06"
    },
    {
      "version": "1.1.0.0",
      "date": "2015-11-01"
    },
    {
      "version": "1.1.1.0",
      "date": "2016-02-11"
    },
    {
      "version": "1.1.1.1",
      "date": "2016-05-27"
    },
    {
      "version": "1.1.1.2",
      "date": "2017-03-18"
    },
    {
      "version": "1.2.0.0",
      "date": "2018-02-20"
    },
    {
      "version": "1.2.0.1",
      "date": "2020-01-09"
    },
    {
      "version": "1.3.3.0",
      "date": "2021-01-31"
    },
    {
      "version": "1.3.5",
      "date": "2023-11-13"
    },
    {
      "version": "1.3.8",
      "date": "2025-09-28"
    }
  ],
  "_exports": [
    "checkInputData",
    "checkNewLocationsForSpatpcaObject",
    "detrend",
    "eigenFunction",
    "fetchUpperBoundNumberEigenfunctions",
    "plot.spatpca",
    "predict",
    "predictEigenfunction",
    "scaleLocation",
    "setCores",
    "setGamma",
    "setL2",
    "setNumberEigenfunctions",
    "setTau1",
    "setTau2",
    "spatialPrediction",
    "spatpca",
    "spatpcaCV",
    "spatpcaCVWithSelectedK",
    "thinPlateSplineMatrix"
  ],
  "_help": [
    {
      "page": "SpatPCA-package",
      "title": "Regularized Principal Component Analysis for Spatial Data",
      "topics": [
        "SpatPCA-package"
      ]
    },
    {
      "page": "plot.spatpca",
      "title": "Display the cross-validation results",
      "topics": [
        "plot.spatpca"
      ]
    },
    {
      "page": "predict",
      "title": "Spatial predictions on new locations",
      "topics": [
        "predict"
      ]
    },
    {
      "page": "predictEigenfunction",
      "title": "Spatial dominant patterns on new locations",
      "topics": [
        "predictEigenfunction"
      ]
    },
    {
      "page": "spatpca",
      "title": "Regularized PCA for spatial data",
      "topics": [
        "spatpca"
      ]
    },
    {
      "page": "thinPlateSplineMatrix",
      "title": "Thin-plane spline matrix",
      "topics": [
        "thinPlateSplineMatrix"
      ]
    }
  ],
  "_readme": "https://github.com/egpivo/spatpca/raw/HEAD/README.md",
  "_rundeps": [
    "cli",
    "cpp11",
    "farver",
    "ggplot2",
    "glue",
    "gtable",
    "isoband",
    "labeling",
    "lifecycle",
    "R6",
    "RColorBrewer",
    "Rcpp",
    "RcppArmadillo",
    "rlang",
    "S7",
    "scales",
    "vctrs",
    "viridisLite",
    "withr"
  ],
  "_sysdeps": [
    {
      "shlib": "liblapack",
      "package": "libopenblas0-pthread",
      "source": "openblas",
      "version": "0.3.32+ds-5",
      "name": "openblas",
      "homepage": "https://www.openblas.net/",
      "description": "Optimized BLAS (linear algebra) library (shared lib, pthread)"
    },
    {
      "shlib": "libblas",
      "package": "libopenblas0-pthread",
      "source": "openblas",
      "version": "0.3.32+ds-5",
      "name": "openblas",
      "homepage": "https://www.openblas.net/",
      "description": "Optimized BLAS (linear algebra) library (shared lib, pthread)"
    },
    {
      "shlib": "libstdc++",
      "package": "libstdc++6",
      "source": "gcc",
      "version": "16-20260322-1ubuntu1",
      "name": "c++",
      "homepage": "http://gcc.gnu.org/",
      "description": "GNU Standard C++ Library v3"
    },
    {
      "shlib": "libgomp",
      "package": "libgomp1",
      "source": "gcc",
      "version": "16-20260322-1ubuntu1",
      "name": "openmp",
      "homepage": "http://gcc.gnu.org/",
      "description": "GCC OpenMP (GOMP) support library"
    }
  ],
  "_vignettes": [
    {
      "source": "demo-one-dim-location.Rmd",
      "filename": "demo-one-dim-location.html",
      "title": "Capture the Dominant Spatial Pattern with One-Dimensional Locations",
      "author": "Wen-Ting Wang",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Objective",
        "Basic settings",
        "Used packages",
        "True spatial pattern (eigenfunction)",
        "Case I: Higher signal of the true eigenfunction",
        "Generate realizations",
        "Animate realizations",
        "Apply SpatPCA::spatpca",
        "Compare SpatPCA with PCA",
        "Case II: Lower signal of the true eigenfunction",
        "Generate realizations with $\\sigma=3$",
        "Compare resultant patterns"
      ],
      "created": "2021-01-01 08:31:43",
      "modified": "2025-09-28 10:33:04",
      "commits": 5
    },
    {
      "source": "demo-two-dim-location.Rmd",
      "filename": "demo-two-dim-location.html",
      "title": "Capture the Dominant Spatial Pattern with Two-Dimensional Locations",
      "author": "Wen-Ting Wang",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Objective",
        "Basic settings",
        "Used packages",
        "True spatial pattern (eigenfunction)",
        "Experiment",
        "Generate 2-D realizations",
        "Animate realizations",
        "Apply SpatPCA::spatpca",
        "Compare SpatPCA with PCA"
      ],
      "created": "2021-01-01 08:31:43",
      "modified": "2025-09-28 10:33:04",
      "commits": 8
    }
  ],
  "_score": 5.531478917042255,
  "_indexed": true,
  "_nocasepkg": "spatpca",
  "_universes": [
    "egpivo"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.3.8",
      "date": "2026-10-10T16:37:47.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "ef5fdb3947a19da43c0aa4168f761de0e9f5f97f",
      "fileid": "https://r2.ropensci.org/c92a5654fa91f1e66ca3142c19fd8fe275fef93c56d3e04740ea62d70781a27f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/egpivo/actions/runs/38067942827"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.3.8",
      "date": "2026-10-10T16:37:26.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "ef5fdb3947a19da43c0aa4168f761de0e9f5f97f",
      "fileid": "https://r2.ropensci.org/67b3e56c2dfb513f1fb4e8cdb1a7dbf13ea6d3cced206062f338a89ed2ace6e2",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/egpivo/actions/runs/38067942827"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "1.3.8",
      "date": "2026-10-10T16:37:35.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "ef5fdb3947a19da43c0aa4168f761de0e9f5f97f",
      "fileid": "https://r2.ropensci.org/5e9886e92dd185c152838d194740bf2fa705bf200061f7f226f053657e2036c3",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/egpivo/actions/runs/38067942827"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "1.3.8",
      "date": "2026-10-10T16:37:22.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "ef5fdb3947a19da43c0aa4168f761de0e9f5f97f",
      "fileid": "https://r2.ropensci.org/798edfd61c9cf7e08a251729c8cbac20ef1aa51ca595c8800421fddfca613ef4",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/egpivo/actions/runs/38067942827"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.3.8",
      "date": "2026-10-10T17:38:49.000Z",
      "arch": "aarch64",
      "commit": "ef5fdb3947a19da43c0aa4168f761de0e9f5f97f",
      "fileid": "https://r2.ropensci.org/7ef46c8e501f01f4f6c5d4875edf41ab5bedd27e5c9ee10f279a44ebe41aa961",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/egpivo/actions/runs/38067942827"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.3.8",
      "date": "2026-10-10T16:39:18.000Z",
      "arch": "x86_64",
      "commit": "ef5fdb3947a19da43c0aa4168f761de0e9f5f97f",
      "fileid": "https://r2.ropensci.org/034b0ed7f1509aa789ef67a2846e05754e815701f0c9ccb104356e9282594df5",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/egpivo/actions/runs/38067942827"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "1.3.8",
      "date": "2026-10-10T17:39:14.000Z",
      "arch": "aarch64",
      "commit": "ef5fdb3947a19da43c0aa4168f761de0e9f5f97f",
      "fileid": "https://r2.ropensci.org/ae929f2d833e67de45657dc90728058fc8a8a32c346c6cd79895eaa9248ff2c8",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/egpivo/actions/runs/38067942827"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "1.3.8",
      "date": "2026-10-10T16:40:53.000Z",
      "arch": "x86_64",
      "commit": "ef5fdb3947a19da43c0aa4168f761de0e9f5f97f",
      "fileid": "https://r2.ropensci.org/271206160e9027d7094e1270f1c94da94b985bf49aaa9965d2ceea62402ff877",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/egpivo/actions/runs/38067942827"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.3.8",
      "date": "2026-10-10T16:37:17.000Z",
      "arch": "emscripten",
      "commit": "ef5fdb3947a19da43c0aa4168f761de0e9f5f97f",
      "fileid": "https://r2.ropensci.org/0f08460cd3d38a778bab57577dfb2f3d74e4b512052b6bb88f19c2bb67bd8b02",
      "status": "success",
      "buildurl": "https://github.com/r-universe/egpivo/actions/runs/38067942827"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.3.8",
      "date": "2026-10-10T16:37:57.000Z",
      "arch": "aarch64",
      "commit": "ef5fdb3947a19da43c0aa4168f761de0e9f5f97f",
      "fileid": "https://r2.ropensci.org/0cfd15d9ed415c4057cbbfbfb88d057f0967d5705c9b7da19bd056238f6e87f7",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/egpivo/actions/runs/38067942827"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.3.8",
      "date": "2026-10-10T16:36:39.000Z",
      "arch": "x86_64",
      "commit": "ef5fdb3947a19da43c0aa4168f761de0e9f5f97f",
      "fileid": "https://r2.ropensci.org/c96c3bb1ee078b3d39f0d33f2221f5941449ea9710262defaf67960eb6f14313",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/egpivo/actions/runs/38067942827"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.3.8",
      "date": "2026-10-10T16:36:43.000Z",
      "arch": "x86_64",
      "commit": "ef5fdb3947a19da43c0aa4168f761de0e9f5f97f",
      "fileid": "https://r2.ropensci.org/9cb003f51cd95f012363d4c2d7396428ac109cf8dfb7aec92afd0b6597ba28de",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/egpivo/actions/runs/38067942827"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "1.3.8",
      "date": "2026-10-10T16:38:49.000Z",
      "arch": "aarch64",
      "commit": "ef5fdb3947a19da43c0aa4168f761de0e9f5f97f",
      "fileid": "https://r2.ropensci.org/58e407121219f083bee3ed230655cb777783d5cad71a8483553b2b91474348f2",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/egpivo/actions/runs/38067942827"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "1.3.8",
      "date": "2026-10-10T16:36:29.000Z",
      "arch": "x86_64",
      "commit": "ef5fdb3947a19da43c0aa4168f761de0e9f5f97f",
      "fileid": "https://r2.ropensci.org/c3d3002faf9fb8678a54a1360db91b1d2d947766feef026a233e6a094f6b351d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/egpivo/actions/runs/38067942827"
    }
  ]
}