{
  "_id": "6a5b14299baadeef8ab4afc5",
  "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-07-18 05:42:39 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/e71fd0cae35c18ecf7db472eee55b3f76b2b065d166e708d130476ddc769e1fa",
  "_filesize": 2216869,
  "_sha256": "e71fd0cae35c18ecf7db472eee55b3f76b2b065d166e708d130476ddc769e1fa",
  "_expires": "2026-10-26T05:50:31.000Z",
  "_created": "2026-07-18T05:42:39.000Z",
  "_published": "2026-07-18T05:50:33.537Z",
  "_jobs": [
    {
      "job": 88049547544,
      "time": 221,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8426070433"
    },
    {
      "job": 88049547529,
      "time": 225,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8426070462"
    },
    {
      "job": 88049547531,
      "time": 218,
      "config": "linux-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8426069855"
    },
    {
      "job": 88049547539,
      "time": 206,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8426067355"
    },
    {
      "job": 88049547558,
      "time": 197,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "8426060108"
    },
    {
      "job": 88049547540,
      "time": 386,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "8426092185"
    },
    {
      "job": 88049547522,
      "time": 171,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8426058246"
    },
    {
      "job": 88049547519,
      "time": 354,
      "config": "macos-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8426088252"
    },
    {
      "job": 88049179827,
      "time": 280,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8426033788"
    },
    {
      "job": 88049547528,
      "time": 178,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "8426062960"
    },
    {
      "job": 88049547541,
      "time": 219,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8426069327"
    },
    {
      "job": 88049547510,
      "time": 211,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "8426067967"
    },
    {
      "job": 88049547521,
      "time": 257,
      "config": "windows-release",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8426076241"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/berchuck/actions/runs/29632609255",
  "_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": 303,
    "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/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "extra/spCP.html",
    "manual.pdf"
  ],
  "_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-07-18T05:46:00.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "75b325643afaba406d1ead0c9425aa1ebb3514fa",
      "fileid": "https://r2.ropensci.org/1ff83dbbfe723b430c991317049b52cd7bf9fe74a3abdd0f843a7a3074f064d4",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/berchuck/actions/runs/29632609255"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.4.0",
      "date": "2026-07-18T05:45:42.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "75b325643afaba406d1ead0c9425aa1ebb3514fa",
      "fileid": "https://r2.ropensci.org/321576ecf88a50c8102e3efda61761d6083a24981a5f0c4c88bde66acf2b0b5a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/berchuck/actions/runs/29632609255"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "1.4.0",
      "date": "2026-07-18T05:45:54.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "75b325643afaba406d1ead0c9425aa1ebb3514fa",
      "fileid": "https://r2.ropensci.org/cdeb50f76aa18be95432b318356deace4f38bb23cc4208271d84e152d7311c5b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/berchuck/actions/runs/29632609255"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "1.4.0",
      "date": "2026-07-18T05:45:35.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "75b325643afaba406d1ead0c9425aa1ebb3514fa",
      "fileid": "https://r2.ropensci.org/67e6472723c1b9b4c7ea829de21d6ce770374eb4130ee6ce337aac7f5effd673",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/berchuck/actions/runs/29632609255"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.4.0",
      "date": "2026-07-18T05:45:31.000Z",
      "arch": "aarch64",
      "commit": "75b325643afaba406d1ead0c9425aa1ebb3514fa",
      "fileid": "https://r2.ropensci.org/a4446f096b5a652ea5187042f125e1768d7086bf4258a6e028749aee1d3b0997",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/berchuck/actions/runs/29632609255"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.4.0",
      "date": "2026-07-18T05:46:55.000Z",
      "arch": "x86_64",
      "commit": "75b325643afaba406d1ead0c9425aa1ebb3514fa",
      "fileid": "https://r2.ropensci.org/d24e8ffb430a500c82aaba1d75aa99f1844fd0735ab861d46786a8af92a094d0",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/berchuck/actions/runs/29632609255"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "1.4.0",
      "date": "2026-07-18T05:45:15.000Z",
      "arch": "aarch64",
      "commit": "75b325643afaba406d1ead0c9425aa1ebb3514fa",
      "fileid": "https://r2.ropensci.org/3d4430dc335772bdf616664aba7bdf36efe6c5cba75d41fccf0efe87f313218f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/berchuck/actions/runs/29632609255"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "1.4.0",
      "date": "2026-07-18T05:46:39.000Z",
      "arch": "x86_64",
      "commit": "75b325643afaba406d1ead0c9425aa1ebb3514fa",
      "fileid": "https://r2.ropensci.org/41c553d6f27e201b079438379751dbc7c5893318d20398dac3227e7ac40a47da",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/berchuck/actions/runs/29632609255"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.4.0",
      "date": "2026-07-18T05:45:50.000Z",
      "arch": "emscripten",
      "commit": "75b325643afaba406d1ead0c9425aa1ebb3514fa",
      "fileid": "https://r2.ropensci.org/4f44dd3b82fdc3dca1a66b6d2a61b702b8787c69fa36edda6b5c9241ed47e78a",
      "status": "success",
      "buildurl": "https://github.com/r-universe/berchuck/actions/runs/29632609255"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.4.0",
      "date": "2026-07-18T05:44:35.000Z",
      "arch": "x86_64",
      "commit": "75b325643afaba406d1ead0c9425aa1ebb3514fa",
      "fileid": "https://r2.ropensci.org/afead220822427564690a5e94633ebbc0faf370b34fea46352a16fc5f21fa383",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/berchuck/actions/runs/29632609255"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.4.0",
      "date": "2026-07-18T05:44:41.000Z",
      "arch": "x86_64",
      "commit": "75b325643afaba406d1ead0c9425aa1ebb3514fa",
      "fileid": "https://r2.ropensci.org/33849755d1656b6358f5bfc7da1639e8ee76ba1661e45e79fdd8de4e4471341b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/berchuck/actions/runs/29632609255"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "1.4.0",
      "date": "2026-07-18T05:45:00.000Z",
      "arch": "x86_64",
      "commit": "75b325643afaba406d1ead0c9425aa1ebb3514fa",
      "fileid": "https://r2.ropensci.org/3c3b305bf947e6fa4e036ba4caed30d68a9322d2ec6a57e91fbd163198f5aac8",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/berchuck/actions/runs/29632609255"
    }
  ]
}