Skip to content

micsr

Microeconometrics with R

v0.1-5 · Jun 1, 2026 · GPL (>= 2)

Description

Functions, data sets and examples for the book: Yves Croissant (2025) "Microeconometrics with R", Chapman and Hall/CRC The R Series <doi:10.1201/9781003100263>. The package includes a set of estimators for models used in microeconometrics, especially for count data and limited dependent variables. Test functions include score test, Hausman test, Vuong test, Sargan test and conditional moment test. A small subset of the data set used in the book is also included.

Downloads

CRAN

19.3K

Last 30 days

828th

22.1K

Last 90 days

24.9K

Last year

Trend: +653.5% (30d vs prior 30d)

r2u CRAN

105

Last 30 days

197

Last 90 days

503

Last year

Trend: +156.1% (30d vs prior 30d)

autoCRAN

11

Last 7 days

22

Last 30 days

4

All-time

autoCRAN-only: this name is served only by autoCRAN, so the count is exact.

conda-forge CRAN

232

Last 30 days

232

Last 90 days

232

Last year

CRAN Check Status

13 OK
Show all 13 flavors
Flavor Status
r-devel-linux-x86_64-debian-clang OK
r-devel-linux-x86_64-debian-gcc OK
r-devel-linux-x86_64-fedora-clang OK
r-devel-linux-x86_64-fedora-gcc OK
r-devel-windows-x86_64 OK
r-oldrel-macos-arm64 OK
r-oldrel-macos-x86_64 OK
r-oldrel-windows-x86_64 OK
r-patched-linux-x86_64 OK
r-release-linux-x86_64 OK
r-release-macos-arm64 OK
r-release-macos-x86_64 OK
r-release-windows-x86_64 OK

Check History

OK 14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Apr 22, 2026
ERROR 13 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE Apr 18, 2026
ERROR r-devel-windows-x86_64

whether package can be installed

Installation failed.
See 'd:/Rcompile/CRANpkg/local/4.6/micsr.Rcheck/00install.out' for details.
OK 14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026

Code intelligence has not been computed for this package yet.

Code

Structure

Lines of code

13,692

Files

138

Compiled share

3.6%

Has compiled src

Yes

Language breakdown

R 7,579 (55.4%)C/C++/src 490 (3.6%)Tests 4 (0%)Docs 2,743 (20%)Vignettes 2,876 (21%)

API

Exported functions

47

Internal functions

111

Recent export changes

v0.1-4+2 dummy, maximize
v0.1-2+10 Surv, gauss_hermite, gauss_laguerre +7 more  −6 %>%, StatBinmeans, binmeans 3 more

Testing & CI

Has tests

Yes

Test-to-code ratio

0.00

testthat edition

CI present

No

CI type

[]

PR gated

No

Docs

Return-value doc rate

94.4%

\dontrun example ratio

0%

Roxygen coverage

100%

Has pkgdown

No

NEWS present

Yes

Health & Security signals

Informational signals; not verdicts.

on.exit coverage

Unsafe pattern score

0

Dep constraint coverage

0%

Secret pattern count

0

Bundled 3rd-party code

2 items

Portability & License

Min R version

4.1.0

System requirements

C++ standard

License

GPL (>= 2)

License flags

SPDX valid, OSI approved

History

Versions

5

First release

2024-02-17

Latest release

2026-06-01

Avg cadence

164 days

Cold removal rate

100%

Dep drift

14

LOC over versions

v0.1-1: 10,626 LOCv0.1-2: 12,811 LOCv0.1-3: 13,330 LOCv0.1-4: 13,692 LOCv0.1-5: 13,692 LOC

Per-file churn detail lives in the source pipeline: https://github.com/r-observatory/cran-code-metrics.

Reverse Dependencies (1)

imports

Dependency Network

Dependencies Reverse dependencies Formula Rdpack sandwich generics numDeriv survival Rcpp CompQuadForm dfidx mlogit micsr

Version History

6 tracked
updated 0.1-5 ← 0.1-4 diff Jun 1, 2026
new 0.1-4 Mar 10, 2026
updated 0.1-4 ← 0.1-3 diff Oct 26, 2025
updated 0.1-3 ← 0.1-2 diff Jul 8, 2025
updated 0.1-2 ← 0.1-1 diff Jun 7, 2025
new 0.1-1 Feb 16, 2024