{
  "_id": "6af1d88af4a180a2e271fbe3",
  "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-11-09 13:58: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.4.tar.gz",
  "_fileid": "https://r2.ropensci.org/4ca9514bb3210b75d7cbb7470010e00b6a4f33c0f124ef8f6cb02ba349f77ef7",
  "_filesize": 1496738,
  "_sha256": "4ca9514bb3210b75d7cbb7470010e00b6a4f33c0f124ef8f6cb02ba349f77ef7",
  "_expires": "2027-02-17T14:28:24.000Z",
  "_created": "2026-11-09T13:58:41.000Z",
  "_published": "2026-11-09T14:28:26.031Z",
  "_upstream": "https://github.com/stscl/pc",
  "_status": "success",
  "_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
  },
  "_jobs": [
    {
      "job": 129204686307,
      "time": 133,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "13680432552"
    },
    {
      "job": 129204686496,
      "time": 192,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "13679809657"
    },
    {
      "job": 129204686308,
      "time": 131,
      "config": "linux-release-arm64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "13680726164"
    },
    {
      "job": 129204686325,
      "time": 172,
      "config": "linux-release-x86_64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "13680194107"
    },
    {
      "job": 129204686398,
      "time": 155,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "13682024262"
    },
    {
      "job": 129204686267,
      "time": 333,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "13681761739"
    },
    {
      "job": 129204686373,
      "time": 165,
      "config": "macos-release-arm64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "13681789274"
    },
    {
      "job": 129204686397,
      "time": 411,
      "config": "macos-release-x86_64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "13682386224"
    },
    {
      "job": 129202416001,
      "time": 264,
      "config": "source",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "13680671844"
    },
    {
      "job": 129204686274,
      "time": 151,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "13679229653"
    },
    {
      "job": 129204686466,
      "time": 234,
      "config": "windows-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "13679299885"
    },
    {
      "job": 129204686474,
      "time": 160,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "13679424399"
    },
    {
      "job": 129204686461,
      "time": 167,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "13679499322"
    },
    {
      "job": 129204686607,
      "time": 226,
      "config": "windows-release-arm64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "13679964658"
    },
    {
      "job": 129204686350,
      "time": 138,
      "config": "windows-release-x86_64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "13680318837"
    }
  ],
  "_buildurl": "https://github.com/r-universe/stscl/actions/runs/42629622132",
  "_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
  },
  "_distro": "resolute",
  "_host": "GitHub-Actions",
  "_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": 28,
  "_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": 438,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/pc"
  },
  "_devurl": "https://github.com/stscl/pc",
  "_pkgdown": "https://stscl.github.io/pc/",
  "_searchresults": 136,
  "_abi": {
    "exports": [
      {
        "key": "pc/include",
        "hash": "782001694ab325d9"
      },
      {
        "key": "pc::generic:dmi",
        "hash": "e452c1f9eede7323"
      },
      {
        "key": "pc::generic:fnn",
        "hash": "a0e79388359ed40b"
      },
      {
        "key": "pc::generic:ops",
        "hash": "7b93d1b4041a7005"
      },
      {
        "key": "pc::generic:pc",
        "hash": "a49e37e1edc6b3e7"
      }
    ],
    "imports": [
      {
        "key": "Rcpp::Rcpp_precious_preserve()",
        "hash": "33a97ea62b293da6"
      },
      {
        "key": "Rcpp::Rcpp_precious_remove()",
        "hash": "63d26947ba7e1377"
      },
      {
        "key": "Rcpp::dataptr()",
        "hash": "54e69ad2e6668c83"
      },
      {
        "key": "Rcpp::demangle()",
        "hash": "b0cfd6754c5ebc4e"
      },
      {
        "key": "Rcpp::rcpp_get_stack_trace()",
        "hash": "c684a9bbe15cdc52"
      },
      {
        "key": "Rcpp::rcpp_set_stack_trace()",
        "hash": "33a97ea62b293da6"
      }
    ]
  },
  "_rbuild": "4.6.2",
  "_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.358848190096081,
  "_indexed": true,
  "_nocasepkg": "pc",
  "_universes": [
    "stscl",
    "spatlyu"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.4",
      "date": "2026-11-09T14:01:01.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "1a0ba9dbb6f4a12fbc62beab48082f4d8346dd31",
      "fileid": "https://r2.ropensci.org/65b6ae230e38e6404f728a633169fd9d24e757cfde649304d61846143e04d274",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/stscl/actions/runs/42629622132"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.4",
      "date": "2026-11-09T14:01:56.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "1a0ba9dbb6f4a12fbc62beab48082f4d8346dd31",
      "fileid": "https://r2.ropensci.org/42315d42dcb5647087e806575f78093ea91ec09150168185f561b3014b6c34af",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/stscl/actions/runs/42629622132"
    },
    {
      "r": "4.6.2",
      "os": "linux",
      "version": "0.4",
      "date": "2026-11-09T14:01:00.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "1a0ba9dbb6f4a12fbc62beab48082f4d8346dd31",
      "fileid": "https://r2.ropensci.org/372903a0410120eb919386d66e62052a9830e574448ec9fc58044b4934da7a5d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/stscl/actions/runs/42629622132"
    },
    {
      "r": "4.6.2",
      "os": "linux",
      "version": "0.4",
      "date": "2026-11-09T14:01:28.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "1a0ba9dbb6f4a12fbc62beab48082f4d8346dd31",
      "fileid": "https://r2.ropensci.org/e18c9b7007e7c338d21540d1a9d83ad521c53aa754d2c6cd94178124ea77d31f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/stscl/actions/runs/42629622132"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.4",
      "date": "2026-11-09T14:27:09.000Z",
      "arch": "aarch64",
      "commit": "1a0ba9dbb6f4a12fbc62beab48082f4d8346dd31",
      "fileid": "https://r2.ropensci.org/26115d838459b5b06433f25c618656e60ab1aa9294b55bc088db4c6ff351185b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/stscl/actions/runs/42629622132"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.4",
      "date": "2026-11-09T14:14:37.000Z",
      "arch": "x86_64",
      "commit": "1a0ba9dbb6f4a12fbc62beab48082f4d8346dd31",
      "fileid": "https://r2.ropensci.org/72cdc2bff935382f46650a1a23443359c79f462704d0eec65fb6b591f118f25a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/stscl/actions/runs/42629622132"
    },
    {
      "r": "4.6.2",
      "os": "mac",
      "version": "0.4",
      "date": "2026-11-09T14:26:57.000Z",
      "arch": "aarch64",
      "commit": "1a0ba9dbb6f4a12fbc62beab48082f4d8346dd31",
      "fileid": "https://r2.ropensci.org/47089c1a86bc47152a547f06c72acafa67a5f13d752c7d2f1eb294d65f7596bb",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/stscl/actions/runs/42629622132"
    },
    {
      "r": "4.6.2",
      "os": "mac",
      "version": "0.4",
      "date": "2026-11-09T14:16:31.000Z",
      "arch": "x86_64",
      "commit": "1a0ba9dbb6f4a12fbc62beab48082f4d8346dd31",
      "fileid": "https://r2.ropensci.org/8c167f9d1af09a9556d4faadd42a7000d5c1e89c295943aae570ac1891094d3a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/stscl/actions/runs/42629622132"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.4",
      "date": "2026-11-09T14:01:36.000Z",
      "arch": "emscripten",
      "commit": "1a0ba9dbb6f4a12fbc62beab48082f4d8346dd31",
      "fileid": "https://r2.ropensci.org/97f2ee74f64dee4d4fc547ceb03cc7540bd8b636be712fb98bcf9ef70cc6a4ea",
      "status": "success",
      "buildurl": "https://github.com/r-universe/stscl/actions/runs/42629622132"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.4",
      "date": "2026-11-09T14:02:17.000Z",
      "arch": "aarch64",
      "commit": "1a0ba9dbb6f4a12fbc62beab48082f4d8346dd31",
      "fileid": "https://r2.ropensci.org/d414e29a8c8835c35fed367007a04f87f99c58e0f1a9c992b6b0a624702328df",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/stscl/actions/runs/42629622132"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.4",
      "date": "2026-11-09T14:00:29.000Z",
      "arch": "x86_64",
      "commit": "1a0ba9dbb6f4a12fbc62beab48082f4d8346dd31",
      "fileid": "https://r2.ropensci.org/5fa5506145b6bfdeb0d230ad7708c227094e139a7c4003705f69101856319f1a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/stscl/actions/runs/42629622132"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.4",
      "date": "2026-11-09T14:00:33.000Z",
      "arch": "x86_64",
      "commit": "1a0ba9dbb6f4a12fbc62beab48082f4d8346dd31",
      "fileid": "https://r2.ropensci.org/da46f0ea59523b5e64d6eb11041276cc137800b32f75362868a2753efa1f3f74",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/stscl/actions/runs/42629622132"
    },
    {
      "r": "4.6.2",
      "os": "win",
      "version": "0.4",
      "date": "2026-11-09T14:02:07.000Z",
      "arch": "aarch64",
      "commit": "1a0ba9dbb6f4a12fbc62beab48082f4d8346dd31",
      "fileid": "https://r2.ropensci.org/c5647904e631de0c2a863cec17d7259c6999ea35ef7f44c25ca3617a4476b5e4",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/stscl/actions/runs/42629622132"
    },
    {
      "r": "4.6.2",
      "os": "win",
      "version": "0.4",
      "date": "2026-11-09T14:00:22.000Z",
      "arch": "x86_64",
      "commit": "1a0ba9dbb6f4a12fbc62beab48082f4d8346dd31",
      "fileid": "https://r2.ropensci.org/a42e56eda69e9462b0d4ae17e34e3b2545bf5882ad1707c1ff510bc3abc6139b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/stscl/actions/runs/42629622132"
    }
  ]
}