diff --git a/DESCRIPTION b/DESCRIPTION index 85216d8..1434241 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -1,15 +1,16 @@ Package: easytable Type: Package Title: Create Multi-Format Regression Tables -Version: 2.1.0 +Version: 2.1.1 Authors@R: person("Alfredo", "Hernandez Sanchez", email = "alhdzsz@gmail.com", role = c("aut", "cre")) -Description: Create publication-ready regression tables in multiple formats - (Word/HTML and LaTeX/PDF) from statistical models. Supports lm and glm - models with options for robust standard errors, marginal effects, and - control variable grouping. Tables can be exported to Word via flextable - or LaTeX for PDF output. +Description: Create publication-ready regression tables in multiple + formats, including 'Word', 'HTML', 'LaTeX', and 'PDF', from + statistical models. Supports lm() and glm() models with options for + robust standard errors, marginal effects, and control variable + grouping. Tables can be exported to 'Word' via 'flextable' or to + 'LaTeX' for 'PDF' output. License: MIT + file LICENSE Encoding: UTF-8 Roxygen: list(markdown = TRUE) diff --git a/NEWS.md b/NEWS.md index e03a8d2..dcc9b43 100644 --- a/NEWS.md +++ b/NEWS.md @@ -1,3 +1,11 @@ +# easytable 2.1.1 + +This is the first CRAN submission version of easytable. + +Compared with the earlier GitHub and Zenodo 2.1.0 release, this version includes minor bug fixes, documentation updates, and CRAN-requested formatting changes. + +--- + # easytable 2.1.0 ## Minor Updates diff --git a/R/easytab.R b/R/easytab.R index d1e5bc2..a02ccb2 100644 --- a/R/easytab.R +++ b/R/easytab.R @@ -1,4 +1,4 @@ -#' Create publication-ready regression tables +#' Create Multi-Format Regression Tables #' #' Takes model objects as arguments and creates formatted tables for #' Word or LaTeX/PDF output. Supports robust standard errors, @@ -155,7 +155,7 @@ easytable <- function(..., new_row[[model_cols[i]]] <- custom.row[i + 1L] } new_row$row_type <- "custom" - + transformed <- rbind(transformed, new_row) existing_stat_terms <- attr(transformed, "stat_terms") attr(transformed, "stat_terms") <- c(existing_stat_terms, custom.row[1]) diff --git a/README.md b/README.md index 118d703..72d6333 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ Create regression tables that are easy to use and easy to read. -`easytable` is a workhorse table package for `lm` and `glm` models with predictable defaults across Word/HTML and LaTeX/PDF outputs. +`easytable` is a workhorse table package for `lm()` and `glm()` models with predictable defaults across Word/HTML and LaTeX/PDF outputs. [![License: MIT](https://img.shields.io/badge/license-MIT-yellow.svg)](LICENSE) [![pkgdown](https://img.shields.io/badge/pkgdown-site-blue)](https://alfredo-hs.github.io/easytable/) @@ -23,7 +23,7 @@ Create regression tables that are easy to use and easy to read. To install `easytable` please run the command below: ```r -install.packages("easytable", repos = c("https://alfredo-hs.r-universe.dev/easytable","https://cloud.r-project.org")) +install.packages("easytable") ``` ## Quick Start (Penguins) @@ -116,14 +116,10 @@ easytable(m1, m2, robust.se = TRUE, margins = TRUE) ## Supported Model Classes -Current stable scope: +The `easytable` supports the following models: -- `lm` -- `glm` - -Planned later: - -- `plm` and other model classes +- `lm()` +- `glm()` ## Design Invariants @@ -150,15 +146,15 @@ See `DESIGN_PHILOSOPHY.md` for the full contributor policy. ## Citation ```text -Hernandez Sanchez, A. (2026). easytable: Simple and Clean Regression Tables in R. Version 2.1.0. https://doi.org/10.5281/zenodo.18673550 +Hernandez Sanchez, A. (2026). easytable: Create Multi-Format Regression Tables. Version 2.1.1. https://doi.org/10.5281/zenodo.18673550 ``` ```text @misc{easytable2026, title = {{e}asytable}, - subtitle = {Simple and Clean Regression Tables in {R}}, + subtitle = {Create Multi-Format Regression Tables}, author = {Hernandez Sanchez, Alfredo}, - note = {Version 2.1.0}, + note = {Version 2.1.1}, year = {2026}, month = {02}, date = {2026-02-17}, diff --git a/docs/404.html b/docs/404.html index 19b3d01..b6b04d1 100644 --- a/docs/404.html +++ b/docs/404.html @@ -31,7 +31,7 @@ easytable - 2.1.0 + 2.1.1