Dear Enrico, --- snip ------------------------------ > library(stargazer)
Please cite as: Hlavac, Marek (2022). stargazer: Well-Formatted Regression and Summary Statistics Tables. R package version 5.2.3. https://CRAN.R-project.org/package=stargazer > --- snip-------------------------- Yes I do think I now have 5.2.3 Many thanks, Ashim On Thu, Jun 8, 2023 at 1:13 PM Enrico Schumann <e...@enricoschumann.net> wrote: > > On Thu, 08 Jun 2023, Ashim Kapoor writes: > > > Dear All, > > > > I had done an automatic upgrade of my Debian 10 system which had also > > upgraded R. > > > > I reinstalled the stargazer package and the error went away. > > > > Query : Do I need to reinstall all packages with each upgrade of R ? > > > > Best, > > Ashim > > Your session info says "stargazer 5.2.2". What version do > you have now? CRAN has 5.2.3. It seems likely to me that > > i) with R 4.3-0, certain warnings in the package have > become errors (the NEWS file for R 4.3-0, > https://cloud.r-project.org/doc/manuals/r-release/NEWS.html , > has a prominent first item about using && and errors.) > > and > > ii) the package maintainer fixed those warnings/errors in 5.2.3. > > kind regards > Enrico > > > > On Thu, Jun 8, 2023 at 11:11 AM Ashim Kapoor <ashimkap...@gmail.com> wrote: > >> > >> Dear All, > >> > >> Here is my reproducible example: > >> > >> > library(stargazer) > >> > >> Please cite as: > >> > >> Hlavac, Marek (2018). stargazer: Well-Formatted Regression and > >> Summary Statistics Tables. > >> R package version 5.2.2. https://CRAN.R-project.org/package=stargazer > >> > >> > x1=1:1000 ; y = 2 * x1+ rnorm(1000) > >> > stargazer(lm(y~x1)) > >> Error in (.format.s.statistics.list != "p25") && > >> (.format.s.statistics.list != : > >> 'length = 7' in coercion to 'logical(1)' > >> > >> The error returned is cryptic and I am not able to google and find the > >> solution. > >> > >> Here is my sessionInfo: > >> > >> > sessionInfo() > >> R version 4.3.0 (2023-04-21) > >> Platform: x86_64-pc-linux-gnu (64-bit) > >> Running under: Debian GNU/Linux 10 (buster) > >> > >> Matrix products: default > >> BLAS: /usr/lib/x86_64-linux-gnu/openblas/libblas.so.3 > >> LAPACK: /usr/lib/x86_64-linux-gnu/libopenblasp-r0.3.5.so; LAPACK version > >> 3.8.0 > >> > >> locale: > >> [1] LC_CTYPE=en_IN LC_NUMERIC=C LC_TIME=en_IN > >> [4] LC_COLLATE=en_IN LC_MONETARY=en_IN LC_MESSAGES=en_IN > >> [7] LC_PAPER=en_IN LC_NAME=C LC_ADDRESS=C > >> [10] LC_TELEPHONE=C LC_MEASUREMENT=en_IN LC_IDENTIFICATION=C > >> > >> time zone: Asia/Kolkata > >> tzcode source: system (glibc) > >> > >> attached base packages: > >> [1] stats graphics grDevices utils datasets methods base > >> > >> other attached packages: > >> [1] stargazer_5.2.2 > >> > >> loaded via a namespace (and not attached): > >> [1] compiler_4.3.0 > >> > >> Any help will be appreciated. > >> > >> Thank you, > >> Ashim > > > > ______________________________________________ > > R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see > > https://stat.ethz.ch/mailman/listinfo/r-help > > PLEASE do read the posting guide http://www.R-project.org/posting-guide.html > > and provide commented, minimal, self-contained, reproducible code. > > -- > Enrico Schumann > Lucerne, Switzerland > http://enricoschumann.net ______________________________________________ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.