{
  "_id": "6a4fb62bc30f0868bbf1ea30",
  "Package": "pc",
  "Title": "Pattern Causality Analysis",
  "Version": "0.3",
  "Authors@R": "person(given = \"Wenbo\", family = \"Lyu\",\nemail = \"lyu.geosocial@gmail.com\",\nrole = c(\"aut\", \"cre\", \"cph\"),\ncomment = c(ORCID = \"0009-0002-6003-3800\"))",
  "Description": "Infer causation from observational data through pattern\ncausality analysis (PC), with original algorithm for time\nseries data from Stavroglou et al. (2020)\n<doi:10.1073/pnas.1918269117>, as well as methodological\nextensions for spatial cross-sectional data introduced by Zhang\n& Wang (2025) <doi:10.1080/13658816.2025.2581207>, together\nwith a systematic description proposed in Lyu et al. (2026)\n<doi:10.1016/j.compenvurbsys.2026.102435>.",
  "License": "GPL-3",
  "Encoding": "UTF-8",
  "URL": "https://stscl.github.io/pc/, https://github.com/stscl/pc",
  "BugReports": "https://github.com/stscl/pc/issues",
  "VignetteBuilder": "knitr",
  "Config/roxygen2/markdown": "TRUE",
  "Config/roxygen2/version": "8.0.0",
  "Config/pak/sysreqs": "libabsl-dev cmake libgdal-dev gdal-bin libgeos-dev\nlibssl-dev libproj-dev libsqlite3-dev libudunits2-dev",
  "Repository": "https://stscl.r-universe.dev",
  "Date/Publication": "2026-07-09 07:17:37 UTC",
  "RemoteUrl": "https://github.com/stscl/pc",
  "RemoteRef": "HEAD",
  "RemoteSha": "4ebc3c8d60f0b59591ced89caac187e2eff66b74",
  "NeedsCompilation": "yes",
  "Packaged": {
    "Date": "2026-07-09 14:32:41 UTC",
    "User": "root"
  },
  "Author": "Wenbo Lyu [aut, cre, cph] (ORCID:\n<https://orcid.org/0009-0002-6003-3800>)",
  "Maintainer": "Wenbo Lyu <lyu.geosocial@gmail.com>",
  "_user": "stscl",
  "_type": "src",
  "_file": "pc_0.3.tar.gz",
  "_fileid": "https://r2.ropensci.org/d439692fecb2b9a7f62849565ef8b4aea20b465f33329866e9f0f145e64d5e18",
  "_filesize": 1485498,
  "_sha256": "d439692fecb2b9a7f62849565ef8b4aea20b465f33329866e9f0f145e64d5e18",
  "_expires": "2026-10-17T14:54:33.000Z",
  "_created": "2026-07-09T14:32:41.000Z",
  "_published": "2026-07-09T14:54:35.125Z",
  "_jobs": [
    {
      "job": 86145129121,
      "time": 209,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8201606183"
    },
    {
      "job": 86145129021,
      "time": 174,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8201585386"
    },
    {
      "job": 86145129041,
      "time": 183,
      "config": "linux-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8201591096"
    },
    {
      "job": 86145128908,
      "time": 179,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8201587977"
    },
    {
      "job": 86145128868,
      "time": 132,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "8201999703"
    },
    {
      "job": 86145128880,
      "time": 257,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "8202140540"
    },
    {
      "job": 86145128856,
      "time": 163,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8201967266"
    },
    {
      "job": 86145129037,
      "time": 213,
      "config": "macos-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8202129333"
    },
    {
      "job": 86144100080,
      "time": 263,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8201489833"
    },
    {
      "job": 86145128759,
      "time": 152,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "8201574376"
    },
    {
      "job": 86145128863,
      "time": 153,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8201576025"
    },
    {
      "job": 86145128810,
      "time": 160,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "8201577689"
    },
    {
      "job": 86145128840,
      "time": 159,
      "config": "windows-release",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8201578034"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/stscl/actions/runs/29025523672",
  "_status": "success",
  "_upstream": "https://github.com/stscl/pc",
  "_commit": {
    "id": "4ebc3c8d60f0b59591ced89caac187e2eff66b74",
    "author": "Wenbo Lyu <lyu.geosocial@gmail.com>",
    "committer": "GitHub <noreply@github.com>",
    "message": "Merge pull request #74 from SpatLyu/dev\n\nnew reference in readme",
    "time": 1783581457
  },
  "_maintainer": {
    "name": "Wenbo Lyu",
    "email": "lyu.geosocial@gmail.com",
    "login": "spatlyu",
    "uuid": 118346681
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.1.0",
      "role": "Depends"
    },
    {
      "package": "Rcpp",
      "role": "LinkingTo"
    },
    {
      "package": "RcppThread",
      "role": "LinkingTo"
    },
    {
      "package": "ggplot2",
      "role": "Imports"
    },
    {
      "package": "methods",
      "role": "Imports"
    },
    {
      "package": "sdsfun",
      "role": "Imports"
    },
    {
      "package": "sf",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "terra",
      "role": "Imports"
    },
    {
      "package": "Rcpp",
      "role": "Suggests"
    },
    {
      "package": "RcppThread",
      "role": "Suggests"
    },
    {
      "package": "readr",
      "role": "Suggests"
    },
    {
      "package": "infoxtr",
      "role": "Suggests"
    },
    {
      "package": "spEDM",
      "role": "Suggests"
    },
    {
      "package": "tEDM",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    }
  ],
  "_owner": "stscl",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-13",
      "n": 38
    },
    {
      "week": "2026-14",
      "n": 26
    },
    {
      "week": "2026-15",
      "n": 4
    },
    {
      "week": "2026-16",
      "n": 2
    },
    {
      "week": "2026-19",
      "n": 2
    },
    {
      "week": "2026-22",
      "n": 1
    },
    {
      "week": "2026-28",
      "n": 1
    }
  ],
  "_tags": [
    {
      "name": "v0.1",
      "date": "2026-03-25"
    },
    {
      "name": "v0.2",
      "date": "2026-04-10"
    }
  ],
  "_topics": [
    "causal-discovery",
    "causal-interactions",
    "causality",
    "causality-algorithms",
    "causality-analysis",
    "cpp",
    "cross-mapping",
    "dynamical-systems",
    "empirical-dynamic-modeling",
    "geoinformatics",
    "pattern-causality",
    "spatial-data-analysis",
    "spatial-statistics",
    "time-series",
    "time-series-analysis",
    "cpp"
  ],
  "_stars": 17,
  "_contributors": [
    {
      "user": "spatlyu",
      "count": 662,
      "uuid": 118346681
    }
  ],
  "_userbio": {
    "uuid": 179955713,
    "type": "organization",
    "name": "Spatio-Temporal Statistical Computing",
    "followers": 23,
    "description": "Spatio-Temporal Statistical Computing Related to Wenbo Lyu: Open-Source Toolkits & Learning Resources"
  },
  "_downloads": {
    "count": 478,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/pc"
  },
  "_devurl": "https://github.com/stscl/pc",
  "_pkgdown": "https://stscl.github.io/pc/",
  "_searchresults": 118,
  "_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/pc.html",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/stscl/pc",
  "_realowner": "stscl",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.1",
      "date": "2026-03-30"
    },
    {
      "version": "0.2",
      "date": "2026-04-10"
    }
  ],
  "_exports": [
    "fnn",
    "ops",
    "pc"
  ],
  "_help": [
    {
      "page": "fnn",
      "title": "False Nearest Neighbors",
      "topics": [
        "fnn",
        "fnn,data.frame-method",
        "fnn,sf-method",
        "fnn,SpatRaster-method"
      ]
    },
    {
      "page": "ops",
      "title": "Optimal Parameter Search for Pattern Causality",
      "topics": [
        "ops",
        "ops,data.frame-method",
        "ops,sf-method",
        "ops,SpatRaster-method"
      ]
    },
    {
      "page": "pc",
      "title": "Pattern Causality",
      "topics": [
        "pc",
        "pc,data.frame-method",
        "pc,sf-method",
        "pc,SpatRaster-method"
      ]
    }
  ],
  "_readme": "https://github.com/stscl/pc/raw/HEAD/README.md",
  "_rundeps": [
    "boot",
    "class",
    "classInt",
    "cli",
    "cpp11",
    "DBI",
    "deldir",
    "digest",
    "dplyr",
    "e1071",
    "farver",
    "generics",
    "geosphere",
    "ggplot2",
    "glue",
    "gtable",
    "isoband",
    "KernSmooth",
    "labeling",
    "lattice",
    "lifecycle",
    "magrittr",
    "MASS",
    "pander",
    "pillar",
    "pkgconfig",
    "proxy",
    "purrr",
    "R6",
    "RColorBrewer",
    "Rcpp",
    "RcppArmadillo",
    "RcppThread",
    "rlang",
    "s2",
    "S7",
    "scales",
    "sdsfun",
    "sf",
    "sp",
    "spData",
    "spdep",
    "terra",
    "tibble",
    "tidyselect",
    "units",
    "utf8",
    "vctrs",
    "viridisLite",
    "withr",
    "wk"
  ],
  "_sysdeps": [
    {
      "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": "pc.Rmd",
      "filename": "pc.html",
      "title": "Pattern Causality Analysis",
      "author": "Wenbo Lyu",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Model principles",
        "Usage examples"
      ],
      "created": "2026-04-10 13:59:28",
      "modified": "2026-04-10 13:59:28",
      "commits": 1
    }
  ],
  "_score": 6.846398973034676,
  "_indexed": true,
  "_nocasepkg": "pc",
  "_universes": [
    "stscl",
    "spatlyu"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.3",
      "date": "2026-07-09T14:36:17.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "4ebc3c8d60f0b59591ced89caac187e2eff66b74",
      "fileid": "https://r2.ropensci.org/4d6cb369ba58720536070b8f4805918f821b241dc2f2d8526549955c9e776c60",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/stscl/actions/runs/29025523672"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.3",
      "date": "2026-07-09T14:35:32.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "4ebc3c8d60f0b59591ced89caac187e2eff66b74",
      "fileid": "https://r2.ropensci.org/94cbfe15cafb93a7a681a2a6a748eba79c4cd07e6e3758670f0c8ab0fc7593c1",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/stscl/actions/runs/29025523672"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.3",
      "date": "2026-07-09T14:35:48.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "4ebc3c8d60f0b59591ced89caac187e2eff66b74",
      "fileid": "https://r2.ropensci.org/c49ebb293d3cf66feb4a870c89a54f3d56ba09e143b84e96536ead0f50eb858b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/stscl/actions/runs/29025523672"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.3",
      "date": "2026-07-09T14:35:33.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "4ebc3c8d60f0b59591ced89caac187e2eff66b74",
      "fileid": "https://r2.ropensci.org/9be0bb09cdea205b04065cbc77393d87e0eb70731b4e123fa920a58972bf2e0e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/stscl/actions/runs/29025523672"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.3",
      "date": "2026-07-09T14:49:07.000Z",
      "arch": "aarch64",
      "commit": "4ebc3c8d60f0b59591ced89caac187e2eff66b74",
      "fileid": "https://r2.ropensci.org/0bb05b5431650d33c77524a0df2a3647902d95cab32c77896dc2299d03e6fd40",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/stscl/actions/runs/29025523672"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.3",
      "date": "2026-07-09T14:52:59.000Z",
      "arch": "x86_64",
      "commit": "4ebc3c8d60f0b59591ced89caac187e2eff66b74",
      "fileid": "https://r2.ropensci.org/21df5dd2d87ec590c2255ebbcfeb3167453dacc1500235ed27076a4121dee4c5",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/stscl/actions/runs/29025523672"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.3",
      "date": "2026-07-09T14:47:46.000Z",
      "arch": "aarch64",
      "commit": "4ebc3c8d60f0b59591ced89caac187e2eff66b74",
      "fileid": "https://r2.ropensci.org/f0a8dcf19a4a0e7e600c997420595ccf39a1ed4fbead8238bd8e6b86f4746901",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/stscl/actions/runs/29025523672"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.3",
      "date": "2026-07-09T14:52:46.000Z",
      "arch": "x86_64",
      "commit": "4ebc3c8d60f0b59591ced89caac187e2eff66b74",
      "fileid": "https://r2.ropensci.org/ec71887b0ea6f0a55e5d9dbb7e1ef4d7c7fac126f8bca689121f3a626d0a16e5",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/stscl/actions/runs/29025523672"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.3",
      "date": "2026-07-09T14:35:38.000Z",
      "arch": "emscripten",
      "commit": "4ebc3c8d60f0b59591ced89caac187e2eff66b74",
      "fileid": "https://r2.ropensci.org/abf449890598b4e452809d6bae945c31bbcf9d1e3648f79cb797d716f9e8928d",
      "status": "success",
      "buildurl": "https://github.com/r-universe/stscl/actions/runs/29025523672"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.3",
      "date": "2026-07-09T14:34:41.000Z",
      "arch": "x86_64",
      "commit": "4ebc3c8d60f0b59591ced89caac187e2eff66b74",
      "fileid": "https://r2.ropensci.org/c0fbdbac0be8b01d94d27619512fea29bd79b3aea3b488796f54518df621d61f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/stscl/actions/runs/29025523672"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.3",
      "date": "2026-07-09T14:34:48.000Z",
      "arch": "x86_64",
      "commit": "4ebc3c8d60f0b59591ced89caac187e2eff66b74",
      "fileid": "https://r2.ropensci.org/cda532b4ad668cbfde450d2684c146897c3573f4ce91ae9ee4b160b2d6df9d43",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/stscl/actions/runs/29025523672"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.3",
      "date": "2026-07-09T14:34:46.000Z",
      "arch": "x86_64",
      "commit": "4ebc3c8d60f0b59591ced89caac187e2eff66b74",
      "fileid": "https://r2.ropensci.org/d723b1f8c4a3b270503e5c3ba95636fa0c3931348ca5552331db8a37ac45dce9",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/stscl/actions/runs/29025523672"
    }
  ]
}