{
  "_id": "6aaa45d0ea78b3e62eaca10f",
  "Package": "spCP",
  "Type": "Package",
  "Title": "Spatially Varying Change Points",
  "Version": "1.4.0",
  "Date": "2025-09-29",
  "Authors@R": "person(\"Samuel I.\", \"Berchuck\", email = \"sib2@duke.edu\", role = c(\"aut\", \"cre\"))",
  "Description": "Implements a spatially varying change point model with\nunique intercepts, slopes, variance intercepts and slopes, and\nchange points at each location. Inference is within the\nBayesian setting using Markov chain Monte Carlo (MCMC). The\nresponse variable can be modeled as Gaussian (no nugget),\nprobit or Tobit link and the five spatially varying parameter\nare modeled jointly using a multivariate conditional\nautoregressive (MCAR) prior. The MCAR is a unique process that\nallows for a dissimilarity metric to dictate the local spatial\ndependencies. Full details of the package can be found in the\naccompanying vignette. Furthermore, the details of the package\ncan be found in the corresponding paper published in Spatial\nStatistics by Berchuck et al (2019): \"A spatially varying\nchange points model for monitoring glaucoma progression using\nvisual field data\", <doi:10.1016/j.spasta.2019.02.001>.",
  "License": "GPL (>= 2)",
  "Encoding": "UTF-8",
  "LazyData": "true",
  "RoxygenNote": "7.3.2",
  "NeedsCompilation": "yes",
  "VignetteBuilder": "knitr",
  "Repository": "https://berchuck.r-universe.dev",
  "Date/Publication": "2025-09-30 12:35:50 UTC",
  "RemoteUrl": "https://github.com/berchuck/spcp",
  "RemoteRef": "HEAD",
  "RemoteSha": "75b325643afaba406d1ead0c9425aa1ebb3514fa",
  "Packaged": {
    "Date": "2026-09-16 07:15:20 UTC",
    "User": "root"
  },
  "Author": "Samuel I. Berchuck [aut, cre]",
  "Maintainer": "Samuel I. Berchuck <sib2@duke.edu>",
  "_user": "berchuck",
  "_type": "src",
  "_file": "spCP_1.4.0.tar.gz",
  "_fileid": "https://r2.ropensci.org/cf9e019dd4285c15e1f1235a51e576c42d1180796cafdf4cd155b4febee14286",
  "_filesize": 2217952,
  "_sha256": "cf9e019dd4285c15e1f1235a51e576c42d1180796cafdf4cd155b4febee14286",
  "_expires": "2026-12-25T07:31:26.000Z",
  "_created": "2026-09-16T07:15:20.000Z",
  "_published": "2026-09-16T07:31:28.291Z",
  "_jobs": [
    {
      "job": 104701733376,
      "time": 219,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "10434843412"
    },
    {
      "job": 104701733384,
      "time": 221,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "10434902110"
    },
    {
      "job": 104701733332,
      "time": 202,
      "config": "linux-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "10434783557"
    },
    {
      "job": 104701733444,
      "time": 190,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "10434517840"
    },
    {
      "job": 104701733373,
      "time": 240,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "10435466472"
    },
    {
      "job": 104701733537,
      "time": 593,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "10435615641"
    },
    {
      "job": 104701733392,
      "time": 186,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "10434997946"
    },
    {
      "job": 104701733357,
      "time": 397,
      "config": "macos-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "10435097913"
    },
    {
      "job": 104700125726,
      "time": 365,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "10434922654"
    },
    {
      "job": 104701733370,
      "time": 190,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "10434986750"
    },
    {
      "job": 104701733494,
      "time": 437,
      "config": "windows-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "10434199182"
    },
    {
      "job": 104701733482,
      "time": 284,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "10435245992"
    },
    {
      "job": 104701733489,
      "time": 230,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "10434837239"
    },
    {
      "job": 104701733448,
      "time": 430,
      "config": "windows-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "10434553150"
    },
    {
      "job": 104701733417,
      "time": 232,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "10434654014"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/berchuck/actions/runs/35067190076",
  "_status": "success",
  "_upstream": "https://github.com/berchuck/spcp",
  "_commit": {
    "id": "75b325643afaba406d1ead0c9425aa1ebb3514fa",
    "author": "berchuck <sib2@duke.edu>",
    "committer": "berchuck <sib2@duke.edu>",
    "message": "Update of version 1.4.0.\n",
    "time": 1759235750
  },
  "_maintainer": {
    "name": "Samuel I. Berchuck",
    "email": "sib2@duke.edu",
    "login": "berchuck",
    "description": "Assistant Professor in Duke University's Department of Biostatistics & Bioinformatics and Statistical Science",
    "uuid": 12814368
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.0.2",
      "role": "Depends"
    },
    {
      "package": "Rcpp",
      "role": "LinkingTo"
    },
    {
      "package": "RcppArmadillo",
      "version": ">= 0.7.500.0.0",
      "role": "LinkingTo"
    },
    {
      "package": "graphics",
      "role": "Imports"
    },
    {
      "package": "grDevices",
      "role": "Imports"
    },
    {
      "package": "msm",
      "version": ">= 1.0.0",
      "role": "Imports"
    },
    {
      "package": "mvtnorm",
      "version": ">= 1.0-0",
      "role": "Imports"
    },
    {
      "package": "Rcpp",
      "version": ">= 0.12.9",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "utils",
      "role": "Imports"
    },
    {
      "package": "coda",
      "role": "Suggests"
    },
    {
      "package": "classInt",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "womblR",
      "version": ">= 1.0.3",
      "role": "Suggests"
    }
  ],
  "_owner": "berchuck",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2025-40",
      "n": 1
    }
  ],
  "_tags": [],
  "_stars": 0,
  "_contributors": [
    {
      "user": "berchuck",
      "count": 7,
      "uuid": 12814368
    },
    {
      "user": "samraymer",
      "count": 3,
      "uuid": 30486
    }
  ],
  "_userbio": {
    "uuid": 12814368,
    "type": "user",
    "name": "Samuel Berchuck",
    "followers": 10,
    "description": "Assistant Professor in Duke University's Department of Biostatistics & Bioinformatics and Statistical Science"
  },
  "_downloads": {
    "count": 325,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/spCP"
  },
  "_devurl": "https://github.com/berchuck/spcp",
  "_searchresults": 8,
  "_topics": [
    "openblas",
    "cpp"
  ],
  "_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/spCP.html"
  ],
  "_homeurl": "https://github.com/berchuck/spcp",
  "_realowner": "berchuck",
  "_cranurl": true,
  "_releases": [
    {
      "version": "1.0",
      "date": "2018-07-13"
    },
    {
      "version": "1.1",
      "date": "2018-11-28"
    },
    {
      "version": "1.2",
      "date": "2018-12-05"
    },
    {
      "version": "1.3",
      "date": "2022-09-05"
    },
    {
      "version": "1.4.0",
      "date": "2025-09-29"
    }
  ],
  "_exports": [
    "diagnostics",
    "is.spCP",
    "PlotCP",
    "spCP"
  ],
  "_datasets": [
    {
      "name": "GarwayHeath",
      "title": "Garway-Heath angles for the HFA-II",
      "object": "GarwayHeath",
      "class": [
        "numeric"
      ],
      "fields": [],
      "table": false,
      "tojson": true
    },
    {
      "name": "HFAII_Queen",
      "title": "HFAII Queen Adjacency Matrix",
      "object": "HFAII_Queen",
      "class": [
        "matrix",
        "array"
      ],
      "fields": [],
      "rows": 54,
      "table": true,
      "tojson": true
    },
    {
      "name": "HFAII_QueenHF",
      "title": "HFAII Queen Hemisphere Adjacency Matrix",
      "object": "HFAII_QueenHF",
      "class": [
        "matrix",
        "array"
      ],
      "fields": [],
      "rows": 54,
      "table": true,
      "tojson": true
    },
    {
      "name": "HFAII_Rook",
      "title": "HFAII Rook Adjacency Matrix",
      "object": "HFAII_Rook",
      "class": [
        "matrix",
        "array"
      ],
      "fields": [],
      "rows": 54,
      "table": true,
      "tojson": true
    },
    {
      "name": "VFSeries",
      "title": "Visual field series for one patient.",
      "object": "VFSeries",
      "class": [
        "data.frame"
      ],
      "fields": [
        "Visit",
        "DLS",
        "Time",
        "Location"
      ],
      "rows": 486,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "diagnostics",
      "title": "diagnostics",
      "topics": [
        "diagnostics"
      ]
    },
    {
      "page": "GarwayHeath",
      "title": "Garway-Heath angles for the HFA-II",
      "topics": [
        "GarwayHeath"
      ]
    },
    {
      "page": "HFAII_Queen",
      "title": "HFAII Queen Adjacency Matrix",
      "topics": [
        "HFAII_Queen"
      ]
    },
    {
      "page": "HFAII_QueenHF",
      "title": "HFAII Queen Hemisphere Adjacency Matrix",
      "topics": [
        "HFAII_QueenHF"
      ]
    },
    {
      "page": "HFAII_Rook",
      "title": "HFAII Rook Adjacency Matrix",
      "topics": [
        "HFAII_Rook"
      ]
    },
    {
      "page": "is.spCP",
      "title": "is.spCP",
      "topics": [
        "is.spCP"
      ]
    },
    {
      "page": "PlotCP",
      "title": "PlotCP",
      "topics": [
        "PlotCP"
      ]
    },
    {
      "page": "predict.spCP",
      "title": "predict.spCP",
      "topics": [
        "predict.spCP"
      ]
    },
    {
      "page": "spCP",
      "title": "MCMC sampler for spatially varying change point model.",
      "topics": [
        "spCP-package",
        "spCP"
      ]
    },
    {
      "page": "VFSeries",
      "title": "Visual field series for one patient.",
      "topics": [
        "VFSeries"
      ]
    }
  ],
  "_readme": "https://github.com/berchuck/spcp/raw/HEAD/README.md",
  "_rundeps": [
    "cli",
    "expm",
    "generics",
    "glue",
    "lattice",
    "lifecycle",
    "magrittr",
    "Matrix",
    "msm",
    "mvtnorm",
    "pillar",
    "pkgconfig",
    "Rcpp",
    "RcppArmadillo",
    "rlang",
    "survival",
    "tibble",
    "utf8",
    "vctrs"
  ],
  "_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"
    }
  ],
  "_vignettes": [
    {
      "source": "spCP-example.Rmd",
      "filename": "spCP-example.html",
      "title": "Introduction to using R package: spCP",
      "author": "Samuel I. Berchuck",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Use of spCP",
        "Format data for spCP",
        "Adjacency matrix and dissimilarity metric",
        "MCMC Characteristics",
        "Spatially varying change point model",
        "Assessing model convergence",
        "Post model fit analysis",
        "Compute diagnostics",
        "Future prediction"
      ],
      "created": "2018-06-20 16:02:15",
      "modified": "2025-09-30 12:35:50",
      "commits": 4
    }
  ],
  "_score": 3.6989700043360187,
  "_indexed": true,
  "_nocasepkg": "spcp",
  "_universes": [
    "berchuck"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.4.0",
      "date": "2026-09-16T07:18:53.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "75b325643afaba406d1ead0c9425aa1ebb3514fa",
      "fileid": "https://r2.ropensci.org/5a3514a2c0d0078f68511cc1361ba9a3bed70a111b5834425c284c5082fd247a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/berchuck/actions/runs/35067190076"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.4.0",
      "date": "2026-09-16T07:18:43.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "75b325643afaba406d1ead0c9425aa1ebb3514fa",
      "fileid": "https://r2.ropensci.org/ddefe8f5bfb3cc694ae8a24c87409f6fa1b8a5ca2ee6ae3445a22307507387cd",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/berchuck/actions/runs/35067190076"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "1.4.0",
      "date": "2026-09-16T07:18:44.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "75b325643afaba406d1ead0c9425aa1ebb3514fa",
      "fileid": "https://r2.ropensci.org/665e2148846aaadab8b10e0bc718115a91b58f9b3cae47cfa47f5a1c188845c3",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/berchuck/actions/runs/35067190076"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "1.4.0",
      "date": "2026-09-16T07:18:41.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "75b325643afaba406d1ead0c9425aa1ebb3514fa",
      "fileid": "https://r2.ropensci.org/5f9bdfe5d656176f8301bbdad8bc0876b88fd23598eb235cc3ee01c4f1aa7bcf",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/berchuck/actions/runs/35067190076"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.4.0",
      "date": "2026-09-16T07:26:42.000Z",
      "arch": "aarch64",
      "commit": "75b325643afaba406d1ead0c9425aa1ebb3514fa",
      "fileid": "https://r2.ropensci.org/6a5331376727561af5a4e09a6f69f610f2d5b7e6d47023828a02542c377b6f33",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/berchuck/actions/runs/35067190076"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.4.0",
      "date": "2026-09-16T07:24:38.000Z",
      "arch": "x86_64",
      "commit": "75b325643afaba406d1ead0c9425aa1ebb3514fa",
      "fileid": "https://r2.ropensci.org/d70c2b8e7cedc0b8ab849935d54baddac77e48e321ec9b886244a728f832ad9e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/berchuck/actions/runs/35067190076"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "1.4.0",
      "date": "2026-09-16T07:29:50.000Z",
      "arch": "aarch64",
      "commit": "75b325643afaba406d1ead0c9425aa1ebb3514fa",
      "fileid": "https://r2.ropensci.org/ce542c0835a9244cd1ff02b17d02f66fb6a85ee1ad31c3816079bbe36756691e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/berchuck/actions/runs/35067190076"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "1.4.0",
      "date": "2026-09-16T07:21:07.000Z",
      "arch": "x86_64",
      "commit": "75b325643afaba406d1ead0c9425aa1ebb3514fa",
      "fileid": "https://r2.ropensci.org/11394960222162f89074f3047efa0dd8bf6a60dfce0fc3dd58dd6bfb2bb832c1",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/berchuck/actions/runs/35067190076"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.4.0",
      "date": "2026-09-16T07:18:37.000Z",
      "arch": "emscripten",
      "commit": "75b325643afaba406d1ead0c9425aa1ebb3514fa",
      "fileid": "https://r2.ropensci.org/2ffa49a013db6cc18ddabce9e9106d0a1c2835a4d08d6b85832c0df5e73be90b",
      "status": "success",
      "buildurl": "https://github.com/r-universe/berchuck/actions/runs/35067190076"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.4.0",
      "date": "2026-09-16T07:20:58.000Z",
      "arch": "aarch64",
      "commit": "75b325643afaba406d1ead0c9425aa1ebb3514fa",
      "fileid": "https://r2.ropensci.org/1aa4b9721a8a4c539cb645fa0fa731f20f187ef8764eae6bee374227ff852df5",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/berchuck/actions/runs/35067190076"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.4.0",
      "date": "2026-09-16T07:17:48.000Z",
      "arch": "x86_64",
      "commit": "75b325643afaba406d1ead0c9425aa1ebb3514fa",
      "fileid": "https://r2.ropensci.org/c5f7f81d1f1eab50548e09272532ef9c8db99c9e0911c719685e6c06a2c1198a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/berchuck/actions/runs/35067190076"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.4.0",
      "date": "2026-09-16T07:18:09.000Z",
      "arch": "x86_64",
      "commit": "75b325643afaba406d1ead0c9425aa1ebb3514fa",
      "fileid": "https://r2.ropensci.org/7177001fd352eef652206d8292f41300ce16d7d8cdbb113dd645435162e595bd",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/berchuck/actions/runs/35067190076"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "1.4.0",
      "date": "2026-09-16T07:21:06.000Z",
      "arch": "aarch64",
      "commit": "75b325643afaba406d1ead0c9425aa1ebb3514fa",
      "fileid": "https://r2.ropensci.org/a018b3463ca896c1b66058146088052b208fe2ceff34ff4031719e6338283490",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/berchuck/actions/runs/35067190076"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "1.4.0",
      "date": "2026-09-16T07:17:48.000Z",
      "arch": "x86_64",
      "commit": "75b325643afaba406d1ead0c9425aa1ebb3514fa",
      "fileid": "https://r2.ropensci.org/44bdd7489e3c8aba91124c61b9340b5422e38c292fc442438058a6f07f7077e4",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/berchuck/actions/runs/35067190076"
    }
  ]
}