{
  "_id": "6aca8f84fe5cc25786e8b792",
  "Package": "pc",
  "Title": "Pattern Causality Analysis",
  "Version": "0.4",
  "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": "Unveil interactions in complex systems through pattern\ncausality analysis (PC), with the original algorithm for time\nseries data by 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 detailed 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.1.1",
  "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-10-10 16:12:43 UTC",
  "RemoteUrl": "https://github.com/stscl/pc",
  "RemoteRef": "HEAD",
  "RemoteSha": "1a0ba9dbb6f4a12fbc62beab48082f4d8346dd31",
  "NeedsCompilation": "yes",
  "Packaged": {
    "Date": "2026-10-10 18:49:58 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.4.tar.gz",
  "_fileid": "https://r2.ropensci.org/59d96236cb23f47969b7aa301e93395af0a1b518135b7712c65b66c383ce4e29",
  "_filesize": 1495957,
  "_sha256": "59d96236cb23f47969b7aa301e93395af0a1b518135b7712c65b66c383ce4e29",
  "_expires": "2027-01-18T19:18:26.000Z",
  "_created": "2026-10-10T18:49:58.000Z",
  "_published": "2026-10-10T19:18:28.724Z",
  "_buildurl": "https://github.com/r-universe/stscl/actions/runs/38077117082",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_jobs": [
    {
      "job": 114287211656,
      "time": 135,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11678966944"
    },
    {
      "job": 114287211467,
      "time": 211,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11679003173"
    },
    {
      "job": 114287211681,
      "time": 136,
      "config": "linux-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11679402672"
    },
    {
      "job": 114287211611,
      "time": 171,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11679467529"
    },
    {
      "job": 114287211488,
      "time": 130,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11679915805"
    },
    {
      "job": 114287211532,
      "time": 256,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11678617670"
    },
    {
      "job": 114287211451,
      "time": 130,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11679711120"
    },
    {
      "job": 114287211449,
      "time": 175,
      "config": "macos-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11678538979"
    },
    {
      "job": 114286368438,
      "time": 249,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11678741967"
    },
    {
      "job": 114287211463,
      "time": 152,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "11679482439"
    },
    {
      "job": 114287211596,
      "time": 242,
      "config": "windows-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11678927161"
    },
    {
      "job": 114287211653,
      "time": 178,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11679246794"
    },
    {
      "job": 114287211606,
      "time": 156,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11679182760"
    },
    {
      "job": 114287211652,
      "time": 246,
      "config": "windows-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11679316837"
    },
    {
      "job": 114287211661,
      "time": 130,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11679656948"
    }
  ],
  "_upstream": "https://github.com/stscl/pc",
  "_commit": {
    "id": "1a0ba9dbb6f4a12fbc62beab48082f4d8346dd31",
    "author": "Wenbo Lyu <lyu.geosocial@gmail.com>",
    "committer": "GitHub <noreply@github.com>",
    "message": "Merge pull request #89 from SpatLyu/dev\n\nusing fewer global variables",
    "time": 1791648763
  },
  "_maintainer": {
    "name": "Wenbo Lyu",
    "email": "lyu.geosocial@gmail.com",
    "login": "spatlyu",
    "mastodon": "@SpatLyu@mastodon.social",
    "bluesky": "@spatlyu.bsky.social",
    "orcid": "0009-0002-6003-3800",
    "description": "Spatial Statistics; Causality; GeoInformatics; \n R; C++; ",
    "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
    },
    {
      "week": "2026-30",
      "n": 3
    },
    {
      "week": "2026-32",
      "n": 1
    },
    {
      "week": "2026-39",
      "n": 3
    },
    {
      "week": "2026-40",
      "n": 4
    },
    {
      "week": "2026-41",
      "n": 4
    }
  ],
  "_tags": [
    {
      "name": "v0.1",
      "date": "2026-03-25"
    },
    {
      "name": "v0.2",
      "date": "2026-04-10"
    },
    {
      "name": "v0.3",
      "date": "2026-10-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": 23,
  "_contributors": [
    {
      "user": "spatlyu",
      "count": 818,
      "uuid": 118346681
    }
  ],
  "_userbio": {
    "uuid": 179955713,
    "type": "organization",
    "name": "Spatio-Temporal Statistical Computing",
    "followers": 24,
    "description": "Spatio-Temporal Statistical Computing Related to Wenbo Lyu: Open-Source Toolkits & Learning Resources"
  },
  "_downloads": {
    "count": 317,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/pc"
  },
  "_devurl": "https://github.com/stscl/pc",
  "_pkgdown": "https://stscl.github.io/pc/",
  "_searchresults": 127,
  "_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/pc.html",
    "extra/readme.html",
    "extra/readme.md"
  ],
  "_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"
    },
    {
      "version": "0.3",
      "date": "2026-10-10"
    }
  ],
  "_exports": [
    "dmi",
    "fnn",
    "ops",
    "pc"
  ],
  "_help": [
    {
      "page": "dmi",
      "title": "Delayed Mutual Information",
      "topics": [
        "dmi",
        "dmi,data.frame-method"
      ]
    },
    {
      "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",
    "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-10-10 06:03:50",
      "commits": 2
    }
  ],
  "_score": 7.243682807357194,
  "_indexed": true,
  "_nocasepkg": "pc",
  "_universes": [
    "stscl",
    "spatlyu"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.4",
      "date": "2026-10-10T18:52:19.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "1a0ba9dbb6f4a12fbc62beab48082f4d8346dd31",
      "fileid": "https://r2.ropensci.org/8e0e991e0cddf5e63a27d6f5bdff967ba5096d2c4ad25c775700b969c7d3a37f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/stscl/actions/runs/38077117082"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.4",
      "date": "2026-10-10T18:53:21.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "1a0ba9dbb6f4a12fbc62beab48082f4d8346dd31",
      "fileid": "https://r2.ropensci.org/58081e14ca2954435d177b6d4bc847fc3440d3126ccfff276b3a560e41ea8689",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/stscl/actions/runs/38077117082"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.4",
      "date": "2026-10-10T18:52:21.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "1a0ba9dbb6f4a12fbc62beab48082f4d8346dd31",
      "fileid": "https://r2.ropensci.org/1555e3de703c9ec5aa09baa9e462c65d55be1dd14e8a752ca68d904be5a2af8f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/stscl/actions/runs/38077117082"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.4",
      "date": "2026-10-10T18:52:45.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "1a0ba9dbb6f4a12fbc62beab48082f4d8346dd31",
      "fileid": "https://r2.ropensci.org/a2d84f67e0e4719920388be8ece531eea493a54662f5f37d1cbaa291366dc0ae",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/stscl/actions/runs/38077117082"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.4",
      "date": "2026-10-10T19:17:29.000Z",
      "arch": "aarch64",
      "commit": "1a0ba9dbb6f4a12fbc62beab48082f4d8346dd31",
      "fileid": "https://r2.ropensci.org/9551a8e31e0c1ec1cf62a5279ab3049a1d0f9fce217e6644333aae9f5803c3ae",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/stscl/actions/runs/38077117082"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.4",
      "date": "2026-10-10T18:56:25.000Z",
      "arch": "x86_64",
      "commit": "1a0ba9dbb6f4a12fbc62beab48082f4d8346dd31",
      "fileid": "https://r2.ropensci.org/9fdc607a64ec497c1ec7cf2d5b0b335af4c8daa9614e00fca1721021b1c78313",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/stscl/actions/runs/38077117082"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.4",
      "date": "2026-10-10T19:15:47.000Z",
      "arch": "aarch64",
      "commit": "1a0ba9dbb6f4a12fbc62beab48082f4d8346dd31",
      "fileid": "https://r2.ropensci.org/22da258e8c2960ece7ca46d579c428eed3c8c133e901841cad5b4c6d0ca29328",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/stscl/actions/runs/38077117082"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.4",
      "date": "2026-10-10T18:55:04.000Z",
      "arch": "x86_64",
      "commit": "1a0ba9dbb6f4a12fbc62beab48082f4d8346dd31",
      "fileid": "https://r2.ropensci.org/adb79a8ef81aebd53bcbdc79418abe43df8dd098cf8a13dd5f9bc83e0dfb972e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/stscl/actions/runs/38077117082"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.4",
      "date": "2026-10-10T18:52:57.000Z",
      "arch": "emscripten",
      "commit": "1a0ba9dbb6f4a12fbc62beab48082f4d8346dd31",
      "fileid": "https://r2.ropensci.org/d99f2006b9bfadc568ad0e4e7f9521e2a12f86b6ccc3bb1a48ac2ddeacc2a462",
      "status": "success",
      "buildurl": "https://github.com/r-universe/stscl/actions/runs/38077117082"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.4",
      "date": "2026-10-10T18:53:38.000Z",
      "arch": "aarch64",
      "commit": "1a0ba9dbb6f4a12fbc62beab48082f4d8346dd31",
      "fileid": "https://r2.ropensci.org/ff8555a074c2af5391491d7c85b14d6e5aeab8f72e5308c7cf3b5fc21d10fa90",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/stscl/actions/runs/38077117082"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.4",
      "date": "2026-10-10T18:51:35.000Z",
      "arch": "x86_64",
      "commit": "1a0ba9dbb6f4a12fbc62beab48082f4d8346dd31",
      "fileid": "https://r2.ropensci.org/fe36f7ec0c5a815c112adbe19228bd51bfa36b061ca12c7844eedf8e4601cf04",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/stscl/actions/runs/38077117082"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.4",
      "date": "2026-10-10T18:51:49.000Z",
      "arch": "x86_64",
      "commit": "1a0ba9dbb6f4a12fbc62beab48082f4d8346dd31",
      "fileid": "https://r2.ropensci.org/6b0dc685b088d0ff6ec25ce700ef0ea560b9a189fa9b670d882437cc673f9d55",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/stscl/actions/runs/38077117082"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.4",
      "date": "2026-10-10T18:53:49.000Z",
      "arch": "aarch64",
      "commit": "1a0ba9dbb6f4a12fbc62beab48082f4d8346dd31",
      "fileid": "https://r2.ropensci.org/d7858a98283f197376fa1dd880e3f415dabcd4927cec2dc8d5f3159b61f94308",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/stscl/actions/runs/38077117082"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.4",
      "date": "2026-10-10T18:51:33.000Z",
      "arch": "x86_64",
      "commit": "1a0ba9dbb6f4a12fbc62beab48082f4d8346dd31",
      "fileid": "https://r2.ropensci.org/81291e6029703ae7357f02c8ae87a65d2d0920d869b20106227ebad410f83e4c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/stscl/actions/runs/38077117082"
    }
  ]
}