{
  "_id": "6ae2f7d03d0f299392dd0492",
  "Type": "Package",
  "Package": "capybara",
  "Title": "Fast and Memory Efficient Fitting of Linear Models with\nHigh-Dimensional Fixed Effects",
  "Version": "2.1.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(\"Julian\", \"Costas Fernandez\", role = \"ctb\"),\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-10-29 07:29:34 UTC",
    "User": "root"
  },
  "Author": "Mauricio Vargas Sepulveda [aut, cre] (ORCID:\n<https://orcid.org/0000-0003-1017-7574>), Joao Santos Silva\n[ths], Julian Costas Fernandez [ctb], Yoto Yotov [ctb]",
  "Maintainer": "Mauricio Vargas Sepulveda <m.vargas.sepulveda@gmail.com>",
  "Repository": "https://cran.r-universe.dev",
  "Date/Publication": "2026-06-29 14:30:51 UTC",
  "RemoteUrl": "https://github.com/cran/capybara",
  "RemoteRef": "HEAD",
  "RemoteSha": "11d43fee9d907210ca4cdd117c85f59d7a54058a",
  "_user": "cran",
  "_type": "src",
  "_file": "capybara_2.1.0.tar.gz",
  "_fileid": "https://r2.ropensci.org/841690b6fdb910b201767d0af7ef34b8861ed2a9a21cdbab7e7bee5b89275f28",
  "_filesize": 2742148,
  "_sha256": "841690b6fdb910b201767d0af7ef34b8861ed2a9a21cdbab7e7bee5b89275f28",
  "_expires": "2027-02-06T07:37:50.000Z",
  "_created": "2026-10-29T07:29:34.000Z",
  "_published": "2026-10-29T07:37:52.341Z",
  "_upstream": "https://github.com/cran/capybara",
  "_status": "success",
  "_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
  },
  "_jobs": [
    {
      "job": 123320429180,
      "time": 136,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "12880752442"
    },
    {
      "job": 123320429395,
      "time": 176,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "12881375665"
    },
    {
      "job": 123320429283,
      "time": 128,
      "config": "linux-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12881080882"
    },
    {
      "job": 123320429223,
      "time": 167,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12880439940"
    },
    {
      "job": 123318892872,
      "time": 264,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12880134438"
    },
    {
      "job": 123320429121,
      "time": 110,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "FAIL",
      "artifact": ""
    },
    {
      "job": 123320429351,
      "time": 222,
      "config": "windows-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "12880363720"
    },
    {
      "job": 123320429160,
      "time": 162,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "12881290528"
    },
    {
      "job": 123320429165,
      "time": 267,
      "config": "windows-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12881695172"
    },
    {
      "job": 123320429305,
      "time": 156,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12881545797"
    }
  ],
  "_buildurl": "https://github.com/r-universe/cran/actions/runs/40673802428",
  "_commit": {
    "id": "11d43fee9d907210ca4cdd117c85f59d7a54058a",
    "author": "Mauricio Vargas Sepulveda <m.vargas.sepulveda@gmail.com>",
    "committer": "cran-robot <csardi.gabor+cran@gmail.com>",
    "message": "version 2.1.0\n",
    "time": 1782743451
  },
  "_distro": "resolute",
  "_host": "GitHub-Actions",
  "_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": "2026-25",
      "n": 1
    },
    {
      "week": "2026-27",
      "n": 1
    }
  ],
  "_tags": [
    {
      "name": "2.0.0",
      "date": "2026-06-15"
    },
    {
      "name": "2.1.0",
      "date": "2026-06-29"
    }
  ],
  "_stars": 0,
  "_contributors": [
    {
      "user": "pachadotdev",
      "count": 8,
      "uuid": 10091065
    }
  ],
  "_userbio": {
    "uuid": 6899542,
    "type": "organization",
    "name": "cran",
    "followers": 634,
    "description": "Unofficial read-only mirror of all CRAN R packages"
  },
  "_downloads": {
    "count": 474,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/capybara"
  },
  "_devurl": "https://github.com/pachadotdev/capybara",
  "_searchresults": 0,
  "_topics": [
    "openblas",
    "cpp",
    "openmp"
  ],
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/capybara.html",
    "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/readme.html",
    "extra/readme.md"
  ],
  "_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"
    },
    {
      "version": "2.1.0",
      "date": "2026-06-29"
    }
  ],
  "_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.32+ds-5",
      "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.32+ds-5",
      "name": "openblas",
      "homepage": "https://www.openblas.net/",
      "description": "Optimized BLAS (linear algebra) library (shared lib, pthread)"
    },
    {
      "shlib": "libstdc++",
      "package": "libstdc++6",
      "source": "gcc",
      "version": "16-20260322-1ubuntu1",
      "name": "c++",
      "homepage": "http://gcc.gnu.org/",
      "description": "GNU Standard C++ Library v3"
    },
    {
      "shlib": "libgomp",
      "package": "libgomp1",
      "source": "gcc",
      "version": "16-20260322-1ubuntu1",
      "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-29 14:30:51",
      "commits": 2
    },
    {
      "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.6020599913279625,
  "_indexed": false,
  "_nocasepkg": "capybara",
  "_universes": [
    "cran"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "2.1.0",
      "date": "2026-10-29T07:34:06.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "11d43fee9d907210ca4cdd117c85f59d7a54058a",
      "fileid": "https://r2.ropensci.org/e619ec4dd7be38da51eb7039ec7fe3e019b826dc1ebdc1658e7a535cb8a6bdbe",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/40673802428"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "2.1.0",
      "date": "2026-10-29T07:35:57.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "11d43fee9d907210ca4cdd117c85f59d7a54058a",
      "fileid": "https://r2.ropensci.org/b72fa884aa21de1a108bd9eb86e3831b5088361040b59deb4c557c76574a5e1f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/40673802428"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "2.1.0",
      "date": "2026-10-29T07:34:07.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "11d43fee9d907210ca4cdd117c85f59d7a54058a",
      "fileid": "https://r2.ropensci.org/d87331c0c3f6d416fc8659a9985a885f0c6a185e3b36b4b09ab4ee7860fa0976",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/40673802428"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "2.1.0",
      "date": "2026-10-29T07:35:47.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "11d43fee9d907210ca4cdd117c85f59d7a54058a",
      "fileid": "https://r2.ropensci.org/0b871cb7702723aad29c7e07032c19691e187841698bd42914ddd2ad73c4bbbf",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/40673802428"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "2.1.0",
      "date": "2026-10-29T07:35:40.000Z",
      "arch": "aarch64",
      "commit": "11d43fee9d907210ca4cdd117c85f59d7a54058a",
      "fileid": "https://r2.ropensci.org/e36433075b69e175b248886ebdba660e633f99f0da27f576e754dbceaeb1e74a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/40673802428"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "2.1.0",
      "date": "2026-10-29T07:34:08.000Z",
      "arch": "x86_64",
      "commit": "11d43fee9d907210ca4cdd117c85f59d7a54058a",
      "fileid": "https://r2.ropensci.org/eccdfc3fa8276b1f1dd2c12b0b1ba248cca17ac92dbda1aae2904ac1dfdecd08",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/40673802428"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "2.1.0",
      "date": "2026-10-29T07:36:27.000Z",
      "arch": "aarch64",
      "commit": "11d43fee9d907210ca4cdd117c85f59d7a54058a",
      "fileid": "https://r2.ropensci.org/68a36214ca3ebc2447f99c61570934169a32f1d51760ab135498d4759a15614a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/40673802428"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "2.1.0",
      "date": "2026-10-29T07:34:17.000Z",
      "arch": "x86_64",
      "commit": "11d43fee9d907210ca4cdd117c85f59d7a54058a",
      "fileid": "https://r2.ropensci.org/e3ec7e3ee2f5fd56729bc7d4f9994c9df9d2d1e2bc83072cb035cb9c84d3be9e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/40673802428"
    }
  ]
}