{
  "_id": "6a15406facfb0bcc41d55ab2",
  "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-05-26 06:33:35 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>",
  "MD5sum": "96c961ff4f013d9a6a33e70bab2441b7",
  "_user": "egpivo",
  "_type": "src",
  "_file": "SpatPCA_1.3.8.tar.gz",
  "_fileid": "5116f604fe3886f1a7f9b6f2ee21c66719154c66903a05fd710913f586a3515d",
  "_filesize": 1090345,
  "_sha256": "5116f604fe3886f1a7f9b6f2ee21c66719154c66903a05fd710913f586a3515d",
  "_created": "2026-05-26T06:33:35.000Z",
  "_published": "2026-05-26T06:40:47.749Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 77820145332,
      "time": 159,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7210412589"
    },
    {
      "job": 77820145386,
      "time": 158,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7210412349"
    },
    {
      "job": 77820145334,
      "time": 159,
      "config": "linux-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7210412482"
    },
    {
      "job": 77820145336,
      "time": 146,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7210409395"
    },
    {
      "job": 77820145445,
      "time": 156,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7210406560"
    },
    {
      "job": 77820145365,
      "time": 384,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7210456502"
    },
    {
      "job": 77820145340,
      "time": 131,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7210402054"
    },
    {
      "job": 77820145344,
      "time": 331,
      "config": "macos-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7210438413"
    },
    {
      "job": 77819693056,
      "time": 228,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7210374243"
    },
    {
      "job": 77820145293,
      "time": 124,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7210404152"
    },
    {
      "job": 77820145307,
      "time": 139,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7210407883"
    },
    {
      "job": 77820145323,
      "time": 142,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7210408703"
    },
    {
      "job": 77820145349,
      "time": 131,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7210405975"
    }
  ],
  "_buildurl": "https://github.com/r-universe/egpivo/actions/runs/26436244190",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_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",
    "orcid": "0000-0003-3051-7302",
    "description": "I love turning messy & massive data into intelligent systems.\n",
    "uuid": 7146349
  },
  "_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": [
    {
      "week": "2025-39",
      "n": 1
    }
  ],
  "_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": "Joseph (Wen-Ting) Wang",
    "description": "I love turning messy & massive data into intelligent systems.\r\n"
  },
  "_downloads": {
    "count": 160,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/SpatPCA"
  },
  "_devurl": "https://github.com/egpivo/spatpca",
  "_pkgdown": "https://egpivo.github.io/SpatPCA/",
  "_searchresults": 19,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "extra/SpatPCA.html",
    "manual.pdf"
  ],
  "_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.26+ds-1ubuntu0.1",
      "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.26+ds-1ubuntu0.1",
      "name": "openblas",
      "homepage": "https://www.openblas.net/",
      "description": "Optimized BLAS (linear algebra) library (shared lib, pthread)"
    },
    {
      "shlib": "libstdc++",
      "package": "libstdc++6",
      "source": "gcc",
      "version": "14.2.0-4ubuntu2~24.04.1",
      "name": "c++",
      "homepage": "http://gcc.gnu.org/",
      "description": "GNU Standard C++ Library v3"
    },
    {
      "shlib": "libgomp",
      "package": "libgomp1",
      "source": "gcc",
      "version": "14.2.0-4ubuntu2~24.04.1",
      "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.57978359661681,
  "_indexed": true,
  "_nocasepkg": "spatpca",
  "_universes": [
    "egpivo"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.3.8",
      "date": "2026-05-26T06:36:05.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "ef5fdb3947a19da43c0aa4168f761de0e9f5f97f",
      "fileid": "73e4ff17dd8614c2ec864d8e2faf1169ba6dd85a1887a27f0ccf2802f5a4328d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/egpivo/actions/runs/26436244190"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.3.8",
      "date": "2026-05-26T06:36:14.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "ef5fdb3947a19da43c0aa4168f761de0e9f5f97f",
      "fileid": "5079c3ee655dd78a34408284a2e2f49f2dce44d097b889e5e57befed4d8e9501",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/egpivo/actions/runs/26436244190"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.3.8",
      "date": "2026-05-26T06:36:11.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "ef5fdb3947a19da43c0aa4168f761de0e9f5f97f",
      "fileid": "07558515ad685d34846849e064c30694786878a23697770a9d88e5ce624f7589",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/egpivo/actions/runs/26436244190"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.3.8",
      "date": "2026-05-26T06:35:55.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "ef5fdb3947a19da43c0aa4168f761de0e9f5f97f",
      "fileid": "c87c5e568f865458b8eadbed90a43605c8d559a250614d9ea4796bb1333da4c2",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/egpivo/actions/runs/26436244190"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.3.8",
      "date": "2026-05-26T06:35:54.000Z",
      "arch": "aarch64",
      "commit": "ef5fdb3947a19da43c0aa4168f761de0e9f5f97f",
      "fileid": "c53771443b88c3b7d81a721c93db10a7487433b9d7e7ee8fecac30c34ace7437",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/egpivo/actions/runs/26436244190"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.3.8",
      "date": "2026-05-26T06:38:26.000Z",
      "arch": "x86_64",
      "commit": "ef5fdb3947a19da43c0aa4168f761de0e9f5f97f",
      "fileid": "9851194fe41ed9cb6cd49be6a6e2bd837acfd61d3e4d9e02acd000aa4931f9a4",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/egpivo/actions/runs/26436244190"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.3.8",
      "date": "2026-05-26T06:35:38.000Z",
      "arch": "aarch64",
      "commit": "ef5fdb3947a19da43c0aa4168f761de0e9f5f97f",
      "fileid": "f8dfe1fb9d6970dffcb73b83236b7a9cd66a83a104d21f5d7bf648976b03fba9",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/egpivo/actions/runs/26436244190"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.3.8",
      "date": "2026-05-26T06:37:32.000Z",
      "arch": "x86_64",
      "commit": "ef5fdb3947a19da43c0aa4168f761de0e9f5f97f",
      "fileid": "83d9675d5c7c1ae7f9462adbe20b1f9797bde708fdc91c3cc967935027b2d2cc",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/egpivo/actions/runs/26436244190"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.3.8",
      "date": "2026-05-26T06:36:03.000Z",
      "arch": "emscripten",
      "commit": "ef5fdb3947a19da43c0aa4168f761de0e9f5f97f",
      "fileid": "7fc1bb3cc4f8640e24f1329f6550158f9a4965e895a3b8cbec75557bd554b308",
      "status": "success",
      "buildurl": "https://github.com/r-universe/egpivo/actions/runs/26436244190"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.3.8",
      "date": "2026-05-26T06:35:17.000Z",
      "arch": "x86_64",
      "commit": "ef5fdb3947a19da43c0aa4168f761de0e9f5f97f",
      "fileid": "43bc2726820f5e269d1b3fe70d98d5afeb1c3587d31c1c9bdf14dd8854765297",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/egpivo/actions/runs/26436244190"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.3.8",
      "date": "2026-05-26T06:35:17.000Z",
      "arch": "x86_64",
      "commit": "ef5fdb3947a19da43c0aa4168f761de0e9f5f97f",
      "fileid": "a1f97196933066767f13d6fd11fe8d45903ac2872aa490ad427ea0dcea6afbfa",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/egpivo/actions/runs/26436244190"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "1.3.8",
      "date": "2026-05-26T06:35:09.000Z",
      "arch": "x86_64",
      "commit": "ef5fdb3947a19da43c0aa4168f761de0e9f5f97f",
      "fileid": "13a828dbcf3e3d26087144dfa660273f3654c3cf4305d84e789b5aa12419df28",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/egpivo/actions/runs/26436244190"
    }
  ]
}