{
  "_id": "6a15b6a7acfb0bcc41d66ddf",
  "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-05-26 08:56:10 UTC",
  "RemoteUrl": "https://github.com/stscl/pc",
  "RemoteRef": "HEAD",
  "RemoteSha": "0a1c5b46aa61ddec5c7f2d13ed39f01dcc67c598",
  "NeedsCompilation": "yes",
  "Packaged": {
    "Date": "2026-05-26 14:57:49 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>",
  "MD5sum": "ad2ddc85283645b1fb204a9dcca92672",
  "_user": "stscl",
  "_type": "src",
  "_file": "pc_0.3.tar.gz",
  "_fileid": "7852cf2ef4f1e5c7297d6c2d787c6527ce10ec8b88349c9b995351ae197ac505",
  "_filesize": 1483663,
  "_sha256": "7852cf2ef4f1e5c7297d6c2d787c6527ce10ec8b88349c9b995351ae197ac505",
  "_created": "2026-05-26T14:57:49.000Z",
  "_published": "2026-05-26T15:05:11.235Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 77890942553,
      "time": 163,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7218157146"
    },
    {
      "job": 77890942410,
      "time": 179,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7218164168"
    },
    {
      "job": 77890942601,
      "time": 186,
      "config": "linux-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7218167277"
    },
    {
      "job": 77890942448,
      "time": 157,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7218154583"
    },
    {
      "job": 77890942324,
      "time": 135,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7218143039"
    },
    {
      "job": 77890942355,
      "time": 252,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7218197770"
    },
    {
      "job": 77890942573,
      "time": 105,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7218131782"
    },
    {
      "job": 77890942443,
      "time": 385,
      "config": "macos-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7218254930"
    },
    {
      "job": 77890027856,
      "time": 242,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7218084992"
    },
    {
      "job": 77890942393,
      "time": 145,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7218148650"
    },
    {
      "job": 77890942520,
      "time": 131,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7218143887"
    },
    {
      "job": 77890942359,
      "time": 148,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7218151070"
    },
    {
      "job": 77890942538,
      "time": 191,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7218169617"
    }
  ],
  "_buildurl": "https://github.com/r-universe/stscl/actions/runs/26455974995",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/stscl/pc",
  "_commit": {
    "id": "0a1c5b46aa61ddec5c7f2d13ed39f01dcc67c598",
    "author": "Wenbo Lyu <lyu.geosocial@gmail.com>",
    "committer": "GitHub <noreply@github.com>",
    "message": "Merge pull request #73 from SpatLyu/dev\n\nclean vignette building file",
    "time": 1779785770
  },
  "_maintainer": {
    "name": "Wenbo Lyu",
    "email": "lyu.geosocial@gmail.com",
    "login": "spatlyu",
    "uuid": 118346681
  },
  "_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
    }
  ],
  "_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": 660,
      "uuid": 118346681
    }
  ],
  "_userbio": {
    "uuid": 179955713,
    "type": "organization",
    "name": "Spatio-Temporal Statistical Computing",
    "description": "Spatio-Temporal Statistical Computing Related to Wenbo Lyu: Open-Source Toolkits & Learning Resources"
  },
  "_downloads": {
    "count": 487,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/pc"
  },
  "_devurl": "https://github.com/stscl/pc",
  "_pkgdown": "https://stscl.github.io/pc/",
  "_searchresults": 103,
  "_rbuild": "4.6.0",
  "_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": "14.2.0-4ubuntu2~24.04.1",
      "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.720407400803109,
  "_indexed": true,
  "_nocasepkg": "pc",
  "_universes": [
    "stscl",
    "spatlyu"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.3",
      "date": "2026-05-26T15:00:28.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "0a1c5b46aa61ddec5c7f2d13ed39f01dcc67c598",
      "fileid": "7f5579e76e05f2398903091049a745f4ae51a03ba68f2fc27975dcc61abd574d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/stscl/actions/runs/26455974995"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.3",
      "date": "2026-05-26T15:00:42.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "0a1c5b46aa61ddec5c7f2d13ed39f01dcc67c598",
      "fileid": "d38f055854a8f0b5f7e23eb7dbbe3290f4615678f174d855c686a82c63aa29ec",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/stscl/actions/runs/26455974995"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.3",
      "date": "2026-05-26T15:00:49.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "0a1c5b46aa61ddec5c7f2d13ed39f01dcc67c598",
      "fileid": "708f935cc14b2d4fb0bc7fd5d76590d785e3ae726b80e4b97bed0336c27a7bc2",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/stscl/actions/runs/26455974995"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.3",
      "date": "2026-05-26T15:00:23.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "0a1c5b46aa61ddec5c7f2d13ed39f01dcc67c598",
      "fileid": "bb9d19e15d36112686f8a20225e05ed6c8e4a6600f04f4b5ad36a8bb3ecb1176",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/stscl/actions/runs/26455974995"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.3",
      "date": "2026-05-26T14:59:55.000Z",
      "arch": "aarch64",
      "commit": "0a1c5b46aa61ddec5c7f2d13ed39f01dcc67c598",
      "fileid": "c7974c86752a21ed8929989b84e8d6c7927c8c4fa4a3c68f59470c66166b4031",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/stscl/actions/runs/26455974995"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.3",
      "date": "2026-05-26T15:01:22.000Z",
      "arch": "x86_64",
      "commit": "0a1c5b46aa61ddec5c7f2d13ed39f01dcc67c598",
      "fileid": "39dcb85f15422d456d2f118ca3ba2504c1dec75dd93fe084df45823d1dcd3d10",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/stscl/actions/runs/26455974995"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.3",
      "date": "2026-05-26T14:59:38.000Z",
      "arch": "aarch64",
      "commit": "0a1c5b46aa61ddec5c7f2d13ed39f01dcc67c598",
      "fileid": "369c5ba02f0a4252f235f5ab946e89461346c02d386586f72362cc557895bf71",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/stscl/actions/runs/26455974995"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.3",
      "date": "2026-05-26T15:02:29.000Z",
      "arch": "x86_64",
      "commit": "0a1c5b46aa61ddec5c7f2d13ed39f01dcc67c598",
      "fileid": "6003b3f92b168ac6ea3018b01a81b37c103d9ca02efc65287ca4c1f97f91690a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/stscl/actions/runs/26455974995"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.3",
      "date": "2026-05-26T15:00:32.000Z",
      "arch": "emscripten",
      "commit": "0a1c5b46aa61ddec5c7f2d13ed39f01dcc67c598",
      "fileid": "1ceb9c4120106c81245d6f36e67295be101049652dbb39fc2dd18a19c605498b",
      "status": "success",
      "buildurl": "https://github.com/r-universe/stscl/actions/runs/26455974995"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.3",
      "date": "2026-05-26T14:59:40.000Z",
      "arch": "x86_64",
      "commit": "0a1c5b46aa61ddec5c7f2d13ed39f01dcc67c598",
      "fileid": "3165fe7c57311baaad156056f3c6d358b3f706cae914a9f3a035b49b788dafea",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/stscl/actions/runs/26455974995"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.3",
      "date": "2026-05-26T14:59:31.000Z",
      "arch": "x86_64",
      "commit": "0a1c5b46aa61ddec5c7f2d13ed39f01dcc67c598",
      "fileid": "ac8050a6aa3057c5ce584198d679817cf41539531b5354c35f4728474a0ae6c2",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/stscl/actions/runs/26455974995"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.3",
      "date": "2026-05-26T14:59:55.000Z",
      "arch": "x86_64",
      "commit": "0a1c5b46aa61ddec5c7f2d13ed39f01dcc67c598",
      "fileid": "fce1f49c2366621f56c0394f0f43466e317697ed5767ae974884c0fd4d5f0e2e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/stscl/actions/runs/26455974995"
    }
  ]
}