Commits


Dewey Dunnington authored and Jonathan Keane committed 7f064e4c801
ARROW-15049: [R] arrowExports.cpp generation changed with glue package 1.5.1 This PR fixes the code that creates arrowExports.cpp so that a regression in glue 1.5.1 does not cause massive diffs whenever somebody runs the configure script with `ARROW_R_DEV=true`. I'll also file an issue with glue since this is probably not intended behaviour; however, it's a small fix to make it work with both versions and will probably save some PR headache since a new release might not occur immediately. How I tested this: ```r # this remotes::install_github("cran/glue@1.5.1") Sys.setenv(ARROW_R_DEV = "true") remotes::install_github("paleolimbot/arrow/r@r-codegen") # ...nor this remotes::install_github("cran/glue@1.5.0") Sys.setenv(ARROW_R_DEV = "true") remotes::install_github("paleolimbot/arrow/r@r-codegen") # ...should cause any diffs in arrowExports.cpp ``` Closes #11936 from paleolimbot/r-codegen Authored-by: Dewey Dunnington <dewey@fishandwhistle.net> Signed-off-by: Jonathan Keane <jkeane@gmail.com>