{
  "_id": "6a168ec1acfb0bcc41d77d9e",
  "Package": "slxr",
  "Type": "Package",
  "Title": "Spatial-X (SLX) Models for Applied Researchers",
  "Version": "0.1.1",
  "Authors@R": "c(\nperson(\"Cameron\", \"Wimpy\", email = \"cwimpy@astate.edu\",\nrole = c(\"aut\", \"cre\"),\ncomment = c(ORCID = \"0000-0002-2049-5229\"))\n)",
  "Description": "Tools for estimating, interpreting, and visualizing\nSpatial-X (SLX) regression models. Provides a formula-based\ninterface with first-class support for variable-specific\nweights matrices, higher-order spatial lags, temporally-lagged\nspatial variables (TSLS), and tidy effects decomposition\n(direct, indirect, total). Designed to lower the barrier to SLX\nmodeling for applied researchers who already work with 'sf' and\n'lm'-style formulas. Methods follow Wimpy, Whitten, and\nWilliams (2021) <doi:10.1086/710089>.",
  "License": "MIT + file LICENSE",
  "Encoding": "UTF-8",
  "LazyData": "true",
  "Roxygen": "list(markdown = TRUE)",
  "RoxygenNote": "7.3.3",
  "Config/testthat/edition": "3",
  "VignetteBuilder": "knitr",
  "URL": "https://github.com/cwimpy/slxr",
  "BugReports": "https://github.com/cwimpy/slxr/issues",
  "Config/pak/sysreqs": "libabsl-dev cmake libgdal-dev gdal-bin libgeos-dev\nlibssl-dev libproj-dev libsqlite3-dev libudunits2-dev",
  "Repository": "https://cwimpy.r-universe.dev",
  "Date/Publication": "2026-04-27 18:30:33 UTC",
  "RemoteUrl": "https://github.com/cwimpy/slxr",
  "RemoteRef": "HEAD",
  "RemoteSha": "53f5f17acf70d96b07bc6cceac4f87489afc43e3",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-05-27 06:23:55 UTC",
    "User": "root"
  },
  "Author": "Cameron Wimpy [aut, cre] (ORCID:\n<https://orcid.org/0000-0002-2049-5229>)",
  "Maintainer": "Cameron Wimpy <cwimpy@astate.edu>",
  "MD5sum": "d48a7c75386e4f84baded709c680538a",
  "_user": "cwimpy",
  "_type": "src",
  "_file": "slxr_0.1.1.tar.gz",
  "_fileid": "bcfd30a901471ca97d8c81920b418bb8d929419fe674ac2dd2fb87998f349183",
  "_filesize": 614586,
  "_sha256": "bcfd30a901471ca97d8c81920b418bb8d929419fe674ac2dd2fb87998f349183",
  "_created": "2026-05-27T06:23:55.000Z",
  "_published": "2026-05-27T06:27:13.134Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 78019792092,
      "time": 155,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7233376888"
    },
    {
      "job": 78019792094,
      "time": 162,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7233378542"
    },
    {
      "job": 78019792096,
      "time": 78,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7233357158"
    },
    {
      "job": 78019792091,
      "time": 92,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7233360584"
    },
    {
      "job": 78019391603,
      "time": 194,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7233337123"
    },
    {
      "job": 78019792098,
      "time": 139,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7233372444"
    },
    {
      "job": 78019792138,
      "time": 95,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7233361608"
    },
    {
      "job": 78019792187,
      "time": 116,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7233367055"
    },
    {
      "job": 78019792131,
      "time": 89,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7233360046"
    }
  ],
  "_buildurl": "https://github.com/r-universe/cwimpy/actions/runs/26494495866",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/cwimpy/slxr",
  "_commit": {
    "id": "53f5f17acf70d96b07bc6cceac4f87489afc43e3",
    "author": "Cameron Wimpy <cwimpy@mac.com>",
    "committer": "Cameron Wimpy <cwimpy@mac.com>",
    "message": "update cran-submission\n",
    "time": 1777314633
  },
  "_maintainer": {
    "name": "Cameron Wimpy",
    "email": "cwimpy@astate.edu",
    "login": "cwimpy",
    "orcid": "0000-0002-2049-5229",
    "twitter": "@cwimpy",
    "description": "Political Scientist | Former Rice Farmer\n",
    "uuid": 7810423
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.1.0",
      "role": "Depends"
    },
    {
      "package": "spdep",
      "role": "Imports"
    },
    {
      "package": "sf",
      "role": "Imports"
    },
    {
      "package": "Matrix",
      "role": "Imports"
    },
    {
      "package": "tibble",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "generics",
      "role": "Imports"
    },
    {
      "package": "rlang",
      "role": "Imports"
    },
    {
      "package": "ggplot2",
      "role": "Suggests"
    },
    {
      "package": "modelsummary",
      "role": "Suggests"
    },
    {
      "package": "broom",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    },
    {
      "package": "dplyr",
      "role": "Suggests"
    },
    {
      "package": "tidyr",
      "role": "Suggests"
    },
    {
      "package": "haven",
      "role": "Suggests"
    }
  ],
  "_owner": "cwimpy",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-15",
      "n": 5
    },
    {
      "week": "2026-16",
      "n": 7
    },
    {
      "week": "2026-17",
      "n": 5
    },
    {
      "week": "2026-18",
      "n": 1
    }
  ],
  "_tags": [
    {
      "name": "v0.1.0",
      "date": "2026-04-13"
    }
  ],
  "_stars": 1,
  "_contributors": [
    {
      "user": "cwimpy",
      "count": 18,
      "uuid": 7810423
    }
  ],
  "_userbio": {
    "uuid": 7810423,
    "type": "user",
    "name": "Cameron Wimpy",
    "description": "Political Scientist | Former Rice Farmer\r\n"
  },
  "_downloads": {
    "count": 493,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/slxr"
  },
  "_devurl": "https://github.com/cwimpy/slxr",
  "_searchresults": 7,
  "_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/readme.html",
    "extra/readme.md",
    "extra/slxr.html",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/cwimpy/slxr",
  "_realowner": "cwimpy",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.1.1",
      "date": "2026-04-22"
    }
  ],
  "_exports": [
    "glance",
    "slx",
    "slx_compare",
    "slx_effects",
    "slx_plot_decay",
    "slx_plot_effects",
    "slx_plot_shock",
    "slx_plot_W",
    "slx_sensitivity",
    "slx_weights",
    "tidy"
  ],
  "_datasets": [
    {
      "name": "defense_burden",
      "title": "Defense burden data, 1995 cross-section",
      "object": "defense_burden",
      "class": [
        "list"
      ],
      "fields": [],
      "table": false,
      "tojson": false
    },
    {
      "name": "defense_burden_panel",
      "title": "Defense burden panel, 1951-2008",
      "object": "defense_burden_panel",
      "class": [
        "list"
      ],
      "fields": [],
      "table": false,
      "tojson": false
    }
  ],
  "_help": [
    {
      "page": "defense_burden",
      "title": "Defense burden data, 1995 cross-section",
      "topics": [
        "defense_burden"
      ]
    },
    {
      "page": "defense_burden_panel",
      "title": "Defense burden panel, 1951-2008",
      "topics": [
        "defense_burden_panel"
      ]
    },
    {
      "page": "slx",
      "title": "Fit a Spatial-X (SLX) model",
      "topics": [
        "slx"
      ]
    },
    {
      "page": "slx_compare",
      "title": "Compare OLS, SLX, and other lm-like models side by side",
      "topics": [
        "slx_compare"
      ]
    },
    {
      "page": "slx_effects",
      "title": "Direct, indirect, and total effects from an SLX model",
      "topics": [
        "slx_effects"
      ]
    },
    {
      "page": "slx_plot_decay",
      "title": "Plot how indirect effects decay across orders of W",
      "topics": [
        "slx_plot_decay"
      ]
    },
    {
      "page": "slx_plot_effects",
      "title": "Coefficient plot of direct, indirect, and total effects",
      "topics": [
        "slx_plot_effects"
      ]
    },
    {
      "page": "slx_plot_shock",
      "title": "Counterfactual shock plot",
      "topics": [
        "slx_plot_shock"
      ]
    },
    {
      "page": "slx_plot_W",
      "title": "Heatmap of a spatial weights matrix",
      "topics": [
        "slx_plot_W"
      ]
    },
    {
      "page": "slx_weights",
      "title": "Construct a spatial weights matrix",
      "topics": [
        "slx_weights"
      ]
    },
    {
      "page": "slx-tidiers",
      "title": "Tidy and glance methods for SLX models",
      "topics": [
        "glance.slx",
        "slx-tidiers",
        "tidy.slx"
      ]
    }
  ],
  "_pkglogo": "https://github.com/cwimpy/slxr/raw/HEAD/man/figures/logo.png",
  "_readme": "https://github.com/cwimpy/slxr/raw/HEAD/README.md",
  "_rundeps": [
    "boot",
    "class",
    "classInt",
    "cli",
    "DBI",
    "deldir",
    "e1071",
    "generics",
    "glue",
    "KernSmooth",
    "lattice",
    "lifecycle",
    "magrittr",
    "MASS",
    "Matrix",
    "pillar",
    "pkgconfig",
    "proxy",
    "Rcpp",
    "rlang",
    "s2",
    "sf",
    "sp",
    "spData",
    "spdep",
    "tibble",
    "units",
    "utf8",
    "vctrs",
    "wk"
  ],
  "_vignettes": [
    {
      "source": "getting-started.Rmd",
      "filename": "getting-started.html",
      "title": "Getting started with slxr",
      "engine": "knitr::rmarkdown",
      "headings": [
        "The Spatial-X model",
        "The example dataset",
        "Fitting an SLX model with a single W",
        "Variable-specific weights matrices",
        "Visualization",
        "broom and modelsummary integration",
        "Caveats",
        "References"
      ],
      "created": "2026-04-12 14:31:25",
      "modified": "2026-04-12 20:56:47",
      "commits": 2
    },
    {
      "source": "replicating-wimpy-2021.Rmd",
      "filename": "replicating-wimpy-2021.html",
      "title": "Replicating Wimpy, Whitten, and Williams (2021)",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Data",
        "Wrapping the weights matrices",
        "Fitting the multi-W panel SLX",
        "Direct, indirect, and total effects",
        "Visualization",
        "Caveats",
        "References"
      ],
      "created": "2026-04-13 02:34:38",
      "modified": "2026-04-13 02:34:38",
      "commits": 1
    }
  ],
  "_score": 4.6020599913279625,
  "_indexed": true,
  "_nocasepkg": "slxr",
  "_universes": [
    "cwimpy"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.1",
      "date": "2026-05-27T06:26:24.000Z",
      "distro": "noble",
      "commit": "53f5f17acf70d96b07bc6cceac4f87489afc43e3",
      "fileid": "ba59764c77917d99a4971c8b4c64463270679ea950e320c3ddde93474fef1d7c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cwimpy/actions/runs/26494495866"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.1.1",
      "date": "2026-05-27T06:26:30.000Z",
      "distro": "noble",
      "commit": "53f5f17acf70d96b07bc6cceac4f87489afc43e3",
      "fileid": "115c452acbcea2c156b080f5f1fb4729873269131603820e1540c7324aa18993",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cwimpy/actions/runs/26494495866"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.1.1",
      "date": "2026-05-27T06:25:17.000Z",
      "commit": "53f5f17acf70d96b07bc6cceac4f87489afc43e3",
      "fileid": "2d7257bfc3b0de9c741c824fa8ed6e342db53a00132ba424b126ef5ae663853a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cwimpy/actions/runs/26494495866"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.1.1",
      "date": "2026-05-27T06:25:27.000Z",
      "commit": "53f5f17acf70d96b07bc6cceac4f87489afc43e3",
      "fileid": "3ae2f3baf1c985219c80bf3f4c70f86f4539b324196d844fdeb0dbc2eb2aa39d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cwimpy/actions/runs/26494495866"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.1.1",
      "date": "2026-05-27T06:26:30.000Z",
      "commit": "53f5f17acf70d96b07bc6cceac4f87489afc43e3",
      "fileid": "3aa39b9639650a6fc7e385d0f72510ede2e4672ece2401b3d2eca1e3bd4374ac",
      "status": "success",
      "buildurl": "https://github.com/r-universe/cwimpy/actions/runs/26494495866"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.1.1",
      "date": "2026-05-27T06:25:20.000Z",
      "commit": "53f5f17acf70d96b07bc6cceac4f87489afc43e3",
      "fileid": "77c259d74cfc98ccd94ffbaed1230309eb566cfc89b670e6ee048b71aee9fa42",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cwimpy/actions/runs/26494495866"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.1.1",
      "date": "2026-05-27T06:25:40.000Z",
      "commit": "53f5f17acf70d96b07bc6cceac4f87489afc43e3",
      "fileid": "a86af5be28b39583dc669ee957880eecdbbe4bf5ad6cd55abb42aa74ccdce91e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cwimpy/actions/runs/26494495866"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.1.1",
      "date": "2026-05-27T06:25:14.000Z",
      "commit": "53f5f17acf70d96b07bc6cceac4f87489afc43e3",
      "fileid": "83a4142ce6a8530d24022b8fecde3fb48095b9b8cf6aade86246752653b9686b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cwimpy/actions/runs/26494495866"
    }
  ]
}