{
  "_id": "6a3020fb3efcd9bda433d62d",
  "Type": "Package",
  "Package": "capybara",
  "Title": "Fast and Memory Efficient Fitting of Linear Models with\nHigh-Dimensional Fixed Effects",
  "Version": "2.0.0",
  "Authors@R": "c(\nperson(\"Mauricio\", \"Vargas Sepulveda\", , \"m.vargas.sepulveda@gmail.com\", role = c(\"aut\", \"cre\"),\ncomment = c(ORCID = \"0000-0003-1017-7574\")),\nperson(\"Joao\", \"Santos Silva\", role = \"ths\"),\nperson(\"Yoto\", \"Yotov\", role = \"ctb\")\n)",
  "Description": "Fast and user-friendly estimation of generalized linear\nmodels with multiple fixed effects and cluster the standard\nerrors. The method to obtain the estimated fixed-effects\ncoefficients is based on Stammann (2018)\n<doi:10.48550/arXiv.1707.01815>, Gaure (2013)\n<doi:10.1016/j.csda.2013.03.024>, Berge (2018)\n<https://ideas.repec.org/p/luc/wpaper/18-13.html>, and Correia\net al. (2020) <doi: 10.1177/1536867X20909691>. This\nimplementation is described in Vargas Sepulveda (2025)\n<doi:10.1371/journal.pone.0331178>.",
  "License": "Apache License (>= 2)",
  "URL": "https://pacha.dev/capybara/,\nhttps://github.com/pachadotdev/capybara",
  "BugReports": "https://github.com/pachadotdev/capybara/issues",
  "VignetteBuilder": "knitr",
  "Config/roxygen2/version": "8.0.0",
  "Encoding": "UTF-8",
  "LazyData": "true",
  "NeedsCompilation": "yes",
  "Packaged": {
    "Date": "2026-06-15 15:53:28 UTC",
    "User": "root"
  },
  "Author": "Mauricio Vargas Sepulveda [aut, cre] (ORCID:\n<https://orcid.org/0000-0003-1017-7574>), Joao Santos Silva\n[ths], Yoto Yotov [ctb]",
  "Maintainer": "Mauricio Vargas Sepulveda <m.vargas.sepulveda@gmail.com>",
  "Repository": "https://cran.r-universe.dev",
  "Date/Publication": "2026-06-15 14:40:27 UTC",
  "RemoteUrl": "https://github.com/cran/capybara",
  "RemoteRef": "HEAD",
  "RemoteSha": "420020fde05375312faa072b459525ce603d9002",
  "MD5sum": "5d52b64dbe56fc70f57c656b49a70ad9",
  "_user": "cran",
  "_type": "src",
  "_file": "capybara_2.0.0.tar.gz",
  "_fileid": "91bea53283e2cf1213ddd523965aa1464397e17f2ddd399efeba171d199ff53c",
  "_filesize": 2741593,
  "_sha256": "91bea53283e2cf1213ddd523965aa1464397e17f2ddd399efeba171d199ff53c",
  "_created": "2026-06-15T15:53:28.000Z",
  "_published": "2026-06-15T15:57:47.129Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 81464626191,
      "time": 154,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "7643586090"
    },
    {
      "job": 81464626214,
      "time": 163,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "7643590518"
    },
    {
      "job": 81464626135,
      "time": 160,
      "config": "linux-release-arm64",
      "r": "4.6.0",
      "check": "NOTE",
      "artifact": "7643588736"
    },
    {
      "job": 81464626146,
      "time": 175,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "NOTE",
      "artifact": "7643595489"
    },
    {
      "job": 81463774266,
      "time": 245,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7643516177"
    },
    {
      "job": 81464626174,
      "time": 121,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "FAIL",
      "artifact": ""
    }
  ],
  "_buildurl": "https://github.com/r-universe/cran/actions/runs/27558455626",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/cran/capybara",
  "_commit": {
    "id": "420020fde05375312faa072b459525ce603d9002",
    "author": "Mauricio Vargas Sepulveda <m.vargas.sepulveda@gmail.com>",
    "committer": "cran-robot <csardi.gabor+cran@gmail.com>",
    "message": "version 2.0.0\n",
    "time": 1781534427
  },
  "_maintainer": {
    "name": "Mauricio Vargas Sepulveda",
    "email": "m.vargas.sepulveda@gmail.com",
    "login": "pachadotdev",
    "orcid": "0000-0003-1017-7574",
    "description": "Statistician interested in applying statistical methods to address specific policy-relevant questions, particularly in international trade.",
    "uuid": 10091065
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.0.0",
      "role": "Depends"
    },
    {
      "package": "armadillo4r",
      "role": "LinkingTo"
    },
    {
      "package": "cpp4r",
      "role": "LinkingTo"
    },
    {
      "package": "Formula",
      "role": "Imports"
    },
    {
      "package": "generics",
      "role": "Imports"
    },
    {
      "package": "ggplot2",
      "role": "Imports"
    },
    {
      "package": "MASS",
      "role": "Imports"
    },
    {
      "package": "rlang",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "broom",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "tinytest",
      "role": "Suggests"
    },
    {
      "package": "units",
      "role": "Suggests"
    }
  ],
  "_owner": "cran",
  "_selfowned": false,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2025-35",
      "n": 1
    },
    {
      "week": "2026-25",
      "n": 1
    }
  ],
  "_tags": [
    {
      "name": "1.8.0",
      "date": "2025-08-27"
    },
    {
      "name": "2.0.0",
      "date": "2026-06-15"
    }
  ],
  "_stars": 0,
  "_contributors": [
    {
      "user": "pachadotdev",
      "count": 7,
      "uuid": 10091065
    }
  ],
  "_userbio": {
    "uuid": 6899542,
    "type": "organization",
    "name": "cran",
    "followers": 609,
    "description": "Unofficial read-only mirror of all CRAN R packages"
  },
  "_downloads": {
    "count": 250,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/capybara"
  },
  "_devurl": "https://github.com/pachadotdev/capybara",
  "_searchresults": 24,
  "_topics": [
    "openblas",
    "cpp",
    "openmp"
  ],
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/capybara.html",
    "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",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/pachadotdev/capybara",
  "_realowner": "pachadotdev",
  "_cranurl": false,
  "_releases": [
    {
      "version": "0.9.0",
      "date": "2025-03-24"
    },
    {
      "version": "0.9.1",
      "date": "2025-03-26"
    },
    {
      "version": "0.9.3",
      "date": "2025-04-03"
    },
    {
      "version": "1.0.0",
      "date": "2025-05-21"
    },
    {
      "version": "1.0.1",
      "date": "2025-05-27"
    },
    {
      "version": "1.8.0",
      "date": "2025-08-27"
    },
    {
      "version": "2.0.0",
      "date": "2026-06-15"
    }
  ],
  "_exports": [
    "augment",
    "autoplot",
    "fe_table",
    "feglm",
    "felm",
    "fenegbin",
    "fepoisson",
    "fepoisson_asymmetric",
    "fit_control",
    "glance",
    "sandwich_vcov",
    "summary_table",
    "tidy"
  ],
  "_datasets": [
    {
      "name": "correia2019",
      "title": "Separation Example Datasets",
      "object": "correia2019",
      "class": [
        "list"
      ],
      "fields": [],
      "table": true,
      "tojson": true
    },
    {
      "name": "ross2004",
      "title": "Subset of WTO data from Ross (2004)",
      "object": "ross2004",
      "class": [
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "ltrade",
        "bothin",
        "onein",
        "gsp",
        "ldist",
        "lrgdp",
        "lrgdppc",
        "regional",
        "custrict",
        "comlang",
        "border",
        "landl",
        "island",
        "lareap",
        "comcol",
        "curcol",
        "colony",
        "comctry",
        "ctry1",
        "ctry2",
        "pair",
        "year"
      ],
      "rows": 234597,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "capybara-package",
      "title": "Generalized Linear Models (GLMs) with high-dimensional k-way fixed effects",
      "topics": [
        "capybara-package",
        "capybara"
      ]
    },
    {
      "page": "broom",
      "title": "Broom Integration",
      "topics": [
        "augment.feglm",
        "augment.felm",
        "glance.feglm",
        "glance.felm",
        "tidy.feglm",
        "tidy.felm"
      ]
    },
    {
      "page": "autoplot",
      "title": "Autoplot method for feglm objects",
      "topics": [
        "autoplot.feglm",
        "autoplot.felm"
      ]
    },
    {
      "page": "correia2019",
      "title": "Separation Example Datasets",
      "topics": [
        "correia2019"
      ]
    },
    {
      "page": "fe_table",
      "title": "Generate fixed effects tables",
      "topics": [
        "fe_table"
      ]
    },
    {
      "page": "feglm",
      "title": "GLM fitting with high-dimensional k-way fixed effects",
      "topics": [
        "feglm"
      ]
    },
    {
      "page": "felm",
      "title": "LM fitting with high-dimensional k-way fixed effects",
      "topics": [
        "felm"
      ]
    },
    {
      "page": "fenegbin",
      "title": "Negative Binomial model fitting with high-dimensional k-way fixed effects",
      "topics": [
        "fenegbin"
      ]
    },
    {
      "page": "fepoisson",
      "title": "Poisson model fitting high-dimensional with k-way fixed effects",
      "topics": [
        "fepoisson"
      ]
    },
    {
      "page": "fepoisson_asymmetric",
      "title": "Asymmetric Poisson Pseudo-Maximum Likelihood (APPML) Estimation",
      "topics": [
        "fepoisson_asymmetric"
      ]
    },
    {
      "page": "fit_control",
      "title": "Set 'feglm' Control Parameters",
      "topics": [
        "fit_control"
      ]
    },
    {
      "page": "ross2004",
      "title": "Subset of WTO data from Ross (2004)",
      "topics": [
        "ross2004"
      ]
    },
    {
      "page": "sandwich_vcov",
      "title": "Recompute Sandwich Variance-Covariance Matrix",
      "topics": [
        "sandwich_vcov"
      ]
    },
    {
      "page": "summary_table",
      "title": "Generate formatted regression tables",
      "topics": [
        "summary_table"
      ]
    },
    {
      "page": "update.feglm",
      "title": "Update a fitted 'feglm' model",
      "topics": [
        "update.feglm"
      ]
    },
    {
      "page": "update.felm",
      "title": "Update a fitted 'felm' model",
      "topics": [
        "update.felm"
      ]
    },
    {
      "page": "update.felm_formula",
      "title": "Update a 'felm_formula' object",
      "topics": [
        "update.felm_formula"
      ]
    },
    {
      "page": "vcov.feglm",
      "title": "Covariance matrix for GLMs",
      "topics": [
        "vcov.feglm"
      ]
    },
    {
      "page": "vcov.felm",
      "title": "Covariance matrix for LMs",
      "topics": [
        "vcov.felm"
      ]
    }
  ],
  "_pkglogo": "https://github.com/cran/capybara/raw/HEAD/man/figures/logo.svg",
  "_readme": "https://github.com/cran/capybara/raw/HEAD/README.md",
  "_rundeps": [
    "armadillo4r",
    "cli",
    "cpp11",
    "cpp4r",
    "farver",
    "Formula",
    "generics",
    "ggplot2",
    "glue",
    "gtable",
    "isoband",
    "labeling",
    "lifecycle",
    "MASS",
    "R6",
    "RColorBrewer",
    "rlang",
    "S7",
    "scales",
    "vctrs",
    "viridisLite",
    "withr"
  ],
  "_sysdeps": [
    {
      "shlib": "liblapack",
      "package": "libopenblas0-pthread",
      "source": "openblas",
      "version": "0.3.26+ds-1ubuntu0.1",
      "name": "openblas",
      "homepage": "https://www.openblas.net/",
      "description": "Optimized BLAS (linear algebra) library (shared lib, pthread)"
    },
    {
      "shlib": "libblas",
      "package": "libopenblas0-pthread",
      "source": "openblas",
      "version": "0.3.26+ds-1ubuntu0.1",
      "name": "openblas",
      "homepage": "https://www.openblas.net/",
      "description": "Optimized BLAS (linear algebra) library (shared lib, pthread)"
    },
    {
      "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"
    },
    {
      "shlib": "libgomp",
      "package": "libgomp1",
      "source": "gcc",
      "version": "14.2.0-4ubuntu2~24.04.1",
      "name": "openmp",
      "homepage": "http://gcc.gnu.org/",
      "description": "GCC OpenMP (GOMP) support library"
    }
  ],
  "_vignettes": [
    {
      "source": "asymmetric.Rmd",
      "filename": "asymmetric.html",
      "title": "Asymmetric Poisson Pseudo-Maximum Likelihood (APPML)",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Overview",
        "Estimating lower and upper expectiles",
        "Comparing coefficients across expectiles",
        "Convergence diagnostics",
        "References"
      ],
      "created": "2026-06-15 14:40:27",
      "modified": "2026-06-15 14:40:27",
      "commits": 1
    },
    {
      "source": "variance-covariance.Rmd",
      "filename": "variance-covariance.html",
      "title": "Different Variance-Covariance Estimators",
      "engine": "knitr::rmarkdown",
      "headings": [
        "IID  (no cluster part in formula)",
        "Heteroskedastic-robust (HC0)",
        "One-way: cluster on country-pair (g,h)",
        "One-way: cluster on country 1 (g)",
        "One-way: cluster on country 2 (h)",
        "Two-way: cluster on (g) and (h) simultaneously",
        "Dyadic-robust: Cameron-Miller (2014) sandwich with cross-dyad correlations"
      ],
      "created": "2026-06-15 14:40:27",
      "modified": "2026-06-15 14:40:27",
      "commits": 1
    },
    {
      "source": "separation.Rmd",
      "filename": "separation.html",
      "title": "Nonexistence of estimates of Poisson models",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Example 1",
        "Example 2",
        "Example 3 (fixed effects)"
      ],
      "created": "2026-06-15 14:40:27",
      "modified": "2026-06-15 14:40:27",
      "commits": 1
    },
    {
      "source": "intro.Rmd",
      "filename": "intro.html",
      "title": "Poisson Pseudo-Maximum Likelihood (PPML) Model with Cluster-Robust Standard Errors",
      "engine": "knitr::rmarkdown",
      "headings": [
        "References"
      ],
      "created": "2025-03-24 11:20:05",
      "modified": "2026-06-15 14:40:27",
      "commits": 3
    }
  ],
  "_score": 3.9822712330395684,
  "_indexed": false,
  "_nocasepkg": "capybara",
  "_universes": [
    "cran"
  ],
  "_previous": "1.8.0",
  "_binaries": [
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.8.0",
      "date": "2026-06-02T14:49:48.000Z",
      "arch": "emscripten",
      "commit": "edf6255064606b012b3facc2852a463a64f86c08",
      "fileid": "c19271c5611c02abeba1fe1830f0635d96ef95fcdf8b6c8143a6010a0a209d3c",
      "status": "success",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/26086993358"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "2.0.0",
      "date": "2026-06-15T15:56:03.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "420020fde05375312faa072b459525ce603d9002",
      "fileid": "6b79a477cb0961222479f968448a38e6fca2470aa83c40271ec90dbc115ed58b",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/27558455626"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "2.0.0",
      "date": "2026-06-15T15:56:09.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "420020fde05375312faa072b459525ce603d9002",
      "fileid": "dbb6b7cb5b929c3ec8321893c390041c64359755b51b11493bfc16915f774380",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/27558455626"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "2.0.0",
      "date": "2026-06-15T15:56:06.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "420020fde05375312faa072b459525ce603d9002",
      "fileid": "34ce9a5561a187a593dfb82448bdff952cda3ee6e4f9d7e8bfe3b0771f952cab",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/27558455626"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "2.0.0",
      "date": "2026-06-15T15:56:18.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "420020fde05375312faa072b459525ce603d9002",
      "fileid": "671220331899f705b97382f5ba7dee10743f057703b1e8502bdb3d5cc7120393",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/27558455626"
    }
  ]
}