fixest icon indicating copy to clipboard operation
fixest copied to clipboard

🔥 Major bug introduced in fixest 0.12.0 for R versions 4.1.0 to 4.1.2 -- SOLVED

Open lrberge opened this issue 1 year ago • 2 comments

fixest 0.12.0 introduced a major internal retooling whereby most print and string manipulation tools were offloaded to the package stringmagic.

after upgrading to fixest 0.12.0 several users reported the following bug:

Error: in string_magic_internal(..., .delim = .delim, .envi...:
string_magic requires at least one character scalar to work.
Named arguments are only used as variables on which to apply interpolation.
FIX: please provide at least one non-named argument.

The bug seems to happen in R 4.1.2 on Ubuntu only. Currently upgrading R works but I'm trying to find a better fix.

lrberge avatar Apr 29 '24 13:04 lrberge

stringmagic use(ed) the base-R function ...names().

The problem is that the definition of ...names() in R version <= 4.1.2 is different from the definition in versions >= 4.1.3. The development was made with R >= 4.1.3 and the changes in definitions went unnoticed. Now fixed in stringmagic v1.1.2 (just submitted 2024-04-29 23:59 CET).

To make fixest work: wait until stringmagic v1.1.2 is on CRAN, then install it. It should work.

lrberge avatar Apr 29 '24 22:04 lrberge

Update: stringmagic v1.1.2 is on CRAN. Please update it to make fixest v0.12.0 work.

lrberge avatar Apr 30 '24 11:04 lrberge

Closing as 0.12.1 is out.

lrberge avatar Jun 17 '24 11:06 lrberge