{
  "_id": "6a1ac03c1d7bb097a09d69a0",
  "Package": "GWPR.light",
  "Type": "Package",
  "Title": "Geographically Weighted Panel Regression",
  "Version": "1.0.0",
  "Authors@R": "c(person(\"Chao\", \"Li\", role = c(\"aut\", \"cre\"),\nemail = \"chaoli0394@gmail.com\",\ncomment = c(ORCID = \"0000-0002-6854-4456\")),\nperson(\"Shunsuke\", \"Managi\", role = \"aut\",\ncomment = c(ORCID = \"0000-0001-7883-1427\")))",
  "Description": "A modern, first implementation of Geographically Weighted\nPanel Regression (GWPR) for spatial panel data. The package\nprovides a unified public API supporting Gaussian and binomial\nfamily models, within/pooling/random panel effects, three\nbandwidth search strategies (grid, Stochastic Gradient Descent,\nrandom), five kernel functions, and optional parallel execution\nvia the 'future' framework. Diagnostic tools include spatial\nMoran's I, local F-test, Hausman test, and Lagrange Multiplier\ntest.",
  "License": "AGPL (>= 3)",
  "Encoding": "UTF-8",
  "LazyData": "true",
  "VignetteBuilder": "knitr",
  "URL": "https://github.com/MichaelChaoLi-cpu/GWPR.light",
  "BugReports": "https://github.com/MichaelChaoLi-cpu/GWPR.light/issues",
  "Config/testthat/edition": "3",
  "Config/roxygen2/version": "8.0.0",
  "Config/pak/sysreqs": "libabsl-dev cmake libgdal-dev gdal-bin libgeos-dev\nmake libicu-dev libssl-dev libproj-dev libsqlite3-dev\nlibudunits2-dev",
  "Repository": "https://michaelchaoli-cpu.r-universe.dev",
  "Date/Publication": "2026-05-22 00:15:18 UTC",
  "RemoteUrl": "https://github.com/michaelchaoli-cpu/gwpr.light",
  "RemoteRef": "HEAD",
  "RemoteSha": "0741cc04b7c835beda9266ff7a4a61e27217f4d2",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-05-30 07:22:53 UTC",
    "User": "root"
  },
  "Author": "Chao Li [aut, cre] (ORCID: <https://orcid.org/0000-0002-6854-4456>),\nShunsuke Managi [aut] (ORCID: <https://orcid.org/0000-0001-7883-1427>)",
  "Maintainer": "Chao Li <chaoli0394@gmail.com>",
  "MD5sum": "c36f00eed41679b0caf784c20f9c0f26",
  "_user": "michaelchaoli-cpu",
  "_type": "src",
  "_file": "GWPR.light_1.0.0.tar.gz",
  "_fileid": "324956579a32a2ffc72018e5073bfb99c333ac8cb60dc4323b6e40e794ebf91a",
  "_filesize": 2359068,
  "_sha256": "324956579a32a2ffc72018e5073bfb99c333ac8cb60dc4323b6e40e794ebf91a",
  "_created": "2026-05-30T07:22:53.000Z",
  "_published": "2026-05-30T10:47:24.908Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 78633222525,
      "time": 167,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7306450640"
    },
    {
      "job": 78633222578,
      "time": 162,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7306449945"
    },
    {
      "job": 78633222510,
      "time": 161,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7307432719"
    },
    {
      "job": 78633222512,
      "time": 211,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7307429789"
    },
    {
      "job": 78633028678,
      "time": 216,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7306432416"
    },
    {
      "job": 78633222505,
      "time": 147,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7306448109"
    },
    {
      "job": 78633222592,
      "time": 115,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7306444593"
    },
    {
      "job": 78633222507,
      "time": 164,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7306450040"
    },
    {
      "job": 78633222517,
      "time": 113,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7306444308"
    }
  ],
  "_buildurl": "https://github.com/r-universe/michaelchaoli-cpu/actions/runs/26677891587",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/michaelchaoli-cpu/gwpr.light",
  "_commit": {
    "id": "0741cc04b7c835beda9266ff7a4a61e27217f4d2",
    "author": "MichaelChaoLi-cpu <chaoli0394@mail.com>",
    "committer": "MichaelChaoLi-cpu <chaoli0394@mail.com>",
    "message": "docs: revise the test file\n",
    "time": 1779408918
  },
  "_maintainer": {
    "name": "Chao Li",
    "email": "chaoli0394@gmail.com",
    "login": "michaelchaoli-cpu",
    "orcid": "0000-0002-6854-4456",
    "twitter": "@ChaoLi42582142",
    "description": "AI researcher and data scientist working on geoscience, sustainability, ESG analytics, and human well-being. I build research data infrastructure, spatial model",
    "uuid": 78419225
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.5.0",
      "role": "Depends"
    },
    {
      "package": "fixest",
      "role": "Imports"
    },
    {
      "package": "glmmTMB",
      "role": "Imports"
    },
    {
      "package": "lmtest",
      "role": "Imports"
    },
    {
      "package": "plm",
      "role": "Imports"
    },
    {
      "package": "sf",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "utils",
      "role": "Imports"
    },
    {
      "package": "future",
      "role": "Suggests"
    },
    {
      "package": "future.apply",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    }
  ],
  "_owner": "michaelchaoli-cpu",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-20",
      "n": 1
    },
    {
      "week": "2026-21",
      "n": 7
    }
  ],
  "_tags": [],
  "_stars": 10,
  "_contributors": [
    {
      "user": "michaelchaoli-cpu",
      "count": 56,
      "uuid": 78419225
    },
    {
      "user": "hadley",
      "count": 1,
      "uuid": 4196
    }
  ],
  "_userbio": {
    "uuid": 78419225,
    "type": "user",
    "name": "Chao Li",
    "description": "AI researcher and data scientist working on geoscience, sustainability, ESG analytics, and human well-being. I build research data infrastructure, spatial model"
  },
  "_downloads": {
    "count": 21,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/GWPR.light"
  },
  "_devurl": "https://github.com/michaelchaoli-cpu/gwpr.light",
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/GWPR.light.html",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/michaelchaoli-cpu/gwpr.light",
  "_realowner": "michaelchaoli-cpu",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.1.0",
      "date": "2021-10-12"
    },
    {
      "version": "0.1.1",
      "date": "2021-10-18"
    },
    {
      "version": "0.2.0",
      "date": "2022-03-21"
    },
    {
      "version": "0.2.1",
      "date": "2022-06-21"
    },
    {
      "version": "1.0.0",
      "date": "2026-05-29"
    }
  ],
  "_exports": [
    "diagnose_gwpr",
    "diagnose_hausman",
    "diagnose_lm",
    "diagnose_local_f",
    "diagnose_moran",
    "fit_gwpr",
    "gwpr",
    "parallel_map",
    "select_bandwidth",
    "with_reproducible_seed"
  ],
  "_datasets": [
    {
      "name": "California",
      "title": "California (sf)",
      "object": "California",
      "class": [
        "sf",
        "data.frame"
      ],
      "fields": [
        "GEOID",
        "geometry"
      ],
      "rows": 58,
      "table": false,
      "tojson": true
    },
    {
      "name": "TransAirPolCalif",
      "title": "Panel Dataset for Testing GWPR",
      "object": "TransAirPolCalif",
      "class": [
        "data.frame"
      ],
      "fields": [
        "GEOID",
        "year",
        "pm25",
        "co2_mean",
        "Developed_Open_Space_perc",
        "Developed_Low_Intensity_perc",
        "Developed_Medium_Intensity_perc",
        "Developed_High_Intensity_perc",
        "Open_Water_perc",
        "Woody_Wetlands_perc",
        "Emergent_Herbaceous_Wetlands_perc",
        "Deciduous_Forest_perc",
        "Evergreen_Forest_perc",
        "Mixed_Forest_perc",
        "Shrub_perc",
        "Grassland_perc",
        "Pasture_perc",
        "Cultivated_Crops_perc",
        "pop_density",
        "summer_tmmx",
        "winter_tmmx",
        "summer_rmax",
        "winter_rmax"
      ],
      "rows": 928,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "api",
      "title": "Public API for GWPR.light 1.0.0",
      "topics": [
        "api"
      ]
    },
    {
      "page": "California",
      "title": "California (sf)",
      "topics": [
        "California"
      ]
    },
    {
      "page": "diagnose_gwpr",
      "title": "Run diagnostic tests on a fitted GWPR model",
      "topics": [
        "diagnose_gwpr"
      ]
    },
    {
      "page": "diagnose_hausman",
      "title": "Local Hausman test diagnostic on a gwpr_fit object",
      "topics": [
        "diagnose_hausman"
      ]
    },
    {
      "page": "diagnose_lm",
      "title": "Local Breusch-Pagan LM test diagnostic on a gwpr_fit object",
      "topics": [
        "diagnose_lm"
      ]
    },
    {
      "page": "diagnose_local_f",
      "title": "Local F test diagnostic on a gwpr_fit object",
      "topics": [
        "diagnose_local_f"
      ]
    },
    {
      "page": "diagnose_moran",
      "title": "Run Moran's I diagnostic on a gwpr_fit object",
      "topics": [
        "diagnose_moran"
      ]
    },
    {
      "page": "diagnostics",
      "title": "Diagnostics Module for GWPR.light 1.0.0",
      "topics": [
        "diagnostics"
      ]
    },
    {
      "page": "fit_gwpr",
      "title": "Fit GWPR with a given bandwidth",
      "topics": [
        "fit_gwpr"
      ]
    },
    {
      "page": "gwpr",
      "title": "Fit a Geographically Weighted Panel Regression (main entry point)",
      "topics": [
        "gwpr"
      ]
    },
    {
      "page": "metrics",
      "title": "Metrics Module",
      "topics": [
        "metrics"
      ]
    },
    {
      "page": "parallel_module",
      "title": "Parallel Execution Module",
      "topics": [
        "parallel_module"
      ]
    },
    {
      "page": "print.gwpr_bandwidth",
      "title": "Print a gwpr_bandwidth object",
      "topics": [
        "print.gwpr_bandwidth"
      ]
    },
    {
      "page": "print.gwpr_diagnostics",
      "title": "Print a gwpr_diagnostics object",
      "topics": [
        "print.gwpr_diagnostics"
      ]
    },
    {
      "page": "print.gwpr_fit",
      "title": "Print a gwpr_fit object",
      "topics": [
        "print.gwpr_fit"
      ]
    },
    {
      "page": "result",
      "title": "Result Object Module for GWPR.light 1.0.0",
      "topics": [
        "result"
      ]
    },
    {
      "page": "select_bandwidth",
      "title": "Select an optimal bandwidth for GWPR",
      "topics": [
        "select_bandwidth"
      ]
    },
    {
      "page": "summary.gwpr_bandwidth",
      "title": "Summarise a gwpr_bandwidth object",
      "topics": [
        "summary.gwpr_bandwidth"
      ]
    },
    {
      "page": "summary.gwpr_diagnostics",
      "title": "Summarise a gwpr_diagnostics object",
      "topics": [
        "summary.gwpr_diagnostics"
      ]
    },
    {
      "page": "summary.gwpr_fit",
      "title": "Summarise a gwpr_fit object",
      "topics": [
        "summary.gwpr_fit"
      ]
    },
    {
      "page": "TransAirPolCalif",
      "title": "Panel Dataset for Testing GWPR",
      "topics": [
        "TransAirPolCalif"
      ]
    },
    {
      "page": "with_reproducible_seed",
      "title": "Execute an expression with a reproducible seed",
      "topics": [
        "with_reproducible_seed"
      ]
    }
  ],
  "_readme": "https://github.com/michaelchaoli-cpu/gwpr.light/raw/HEAD/README.md",
  "_rundeps": [
    "backports",
    "bdsmatrix",
    "boot",
    "broom",
    "class",
    "classInt",
    "cli",
    "collapse",
    "colorspace",
    "cowplot",
    "cpp11",
    "DBI",
    "Deriv",
    "digest",
    "doBy",
    "dplyr",
    "dreamerr",
    "e1071",
    "farver",
    "fixest",
    "forecast",
    "Formula",
    "fracdiff",
    "generics",
    "ggplot2",
    "glmmTMB",
    "glue",
    "gtable",
    "isoband",
    "KernSmooth",
    "labeling",
    "lattice",
    "lifecycle",
    "lme4",
    "lmtest",
    "magrittr",
    "MASS",
    "Matrix",
    "maxLik",
    "mgcv",
    "microbenchmark",
    "minqa",
    "miscTools",
    "modelr",
    "nlme",
    "nloptr",
    "nnet",
    "numDeriv",
    "pbkrtest",
    "pillar",
    "pkgconfig",
    "plm",
    "proxy",
    "purrr",
    "R6",
    "rbibutils",
    "RColorBrewer",
    "Rcpp",
    "RcppArmadillo",
    "RcppEigen",
    "Rdpack",
    "reformulas",
    "rlang",
    "s2",
    "S7",
    "sandwich",
    "scales",
    "sf",
    "stringi",
    "stringmagic",
    "stringr",
    "tibble",
    "tidyr",
    "tidyselect",
    "timeDate",
    "TMB",
    "units",
    "urca",
    "utf8",
    "vctrs",
    "viridisLite",
    "withr",
    "wk",
    "zoo"
  ],
  "_vignettes": [
    {
      "source": "gwpr-introduction.Rmd",
      "filename": "gwpr-introduction.html",
      "title": "Getting Started with GWPR.light 1.0.0",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Overview",
        "Minimal linear GWPR example",
        "Accessing results",
        "Bandwidth selection (grid search)",
        "Full pipeline with gwpr()",
        "Diagnostics",
        "Long-running examples"
      ],
      "created": "2026-05-17 14:01:23",
      "modified": "2026-05-17 14:01:23",
      "commits": 1
    },
    {
      "source": "introduction_of_GWPR.Rmd",
      "filename": "introduction_of_GWPR.html",
      "title": "The Introduction of GWPR: from the Scratch",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Author:",
        "1.Overview",
        "1.1 What is Geographically Weighted Panel Regression (GWPR)",
        "1.2 Why we need to use GWPR",
        "1.3 How we can perform GWPR",
        "2 Functions",
        "2.1 bw.GWPR(): who is your neighborhoods?",
        "2.1.1 Choosing $h$: the kernel bandwidth",
        "2.1.2 Adaptive and Fixed Distance Bandwidth",
        "2.1.3 \"bigdata\" Setting",
        "2.1.4 \"human.set.range\" Setting",
        "2.1.5 \"gradientIncrement\" Setting",
        "2.1.6 \"model\" Setting",
        "2.2 GWPR.moran.test(): are the residuals really clustering",
        "2.3 Model Selection: which model is better?",
        "2.3.1 GWPR.pFtest(): Locally F test",
        "2.3.2 GWPR.plmtest(): Locally Breusch-Pagan Lagrange Multiplier test",
        "2.3.3 GWPR.phtest(): Locally Hausman test",
        "2.4 GWPR(): the regression process",
        "END",
        "Archive in GitHub:",
        "BugReports:",
        "Reference"
      ],
      "created": "2021-10-05 09:03:23",
      "modified": "2026-05-21 23:29:54",
      "commits": 9
    }
  ],
  "_score": 5.301029995663981,
  "_indexed": true,
  "_nocasepkg": "gwpr.light",
  "_universes": [
    "michaelchaoli-cpu"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.0.0",
      "date": "2026-05-30T07:25:30.000Z",
      "distro": "noble",
      "commit": "0741cc04b7c835beda9266ff7a4a61e27217f4d2",
      "fileid": "80218c6e020de3e916c07ccb0d7dfb1f6581c4066ac25217b69c483e7dfa3ca7",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/michaelchaoli-cpu/actions/runs/26677891587"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.0.0",
      "date": "2026-05-30T07:25:26.000Z",
      "distro": "noble",
      "commit": "0741cc04b7c835beda9266ff7a4a61e27217f4d2",
      "fileid": "5447ff7d825c338ab67d072965ffec2d2a92b5913d02d73583770782e82dfce8",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/michaelchaoli-cpu/actions/runs/26677891587"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.0.0",
      "date": "2026-05-30T10:12:30.000Z",
      "commit": "0741cc04b7c835beda9266ff7a4a61e27217f4d2",
      "fileid": "fbd03507d24cdd6bc81e8e8571b4df1a6f8e6cfea53a17f890ec28097d2f3a49",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/michaelchaoli-cpu/actions/runs/26677891587"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.0.0",
      "date": "2026-05-30T10:11:57.000Z",
      "commit": "0741cc04b7c835beda9266ff7a4a61e27217f4d2",
      "fileid": "65541abf6497a4b394f3fafd581cbaf8e63d0e7d74769dad0b24e37faa21f08b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/michaelchaoli-cpu/actions/runs/26677891587"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.0.0",
      "date": "2026-05-30T07:25:36.000Z",
      "commit": "0741cc04b7c835beda9266ff7a4a61e27217f4d2",
      "fileid": "773a901c39372570eb7875941558a08d8715d2aaada87b90003c250d0ea0ccf4",
      "status": "success",
      "buildurl": "https://github.com/r-universe/michaelchaoli-cpu/actions/runs/26677891587"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.0.0",
      "date": "2026-05-30T07:24:25.000Z",
      "commit": "0741cc04b7c835beda9266ff7a4a61e27217f4d2",
      "fileid": "e23444a7e1524565a906afbd9de1c6f747342cf3f7554a155e75219a596f6c29",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/michaelchaoli-cpu/actions/runs/26677891587"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.0.0",
      "date": "2026-05-30T07:25:14.000Z",
      "commit": "0741cc04b7c835beda9266ff7a4a61e27217f4d2",
      "fileid": "8138a7cfbde33a90c6013f9cc3d2b1fff4576d1f345db2e0185bb566f2e53725",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/michaelchaoli-cpu/actions/runs/26677891587"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "1.0.0",
      "date": "2026-05-30T07:24:18.000Z",
      "commit": "0741cc04b7c835beda9266ff7a4a61e27217f4d2",
      "fileid": "5d10b127543096c87a1287e09ed8ee8d68fc6cbfb006a5d8c3015fe0739b0c37",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/michaelchaoli-cpu/actions/runs/26677891587"
    }
  ]
}