Deployment fails on shinyapps.io because of tidyr, then segmentation fault

I just updated to R 4.6.1 and updated all my packages. Similar to this post on terra causing deployment to fail, my deployment is failing due to an error building tidyr. Here is the deployment log from the point it tries to install tidyr:

* installing *source* package ‘tidyr’ ...
** this is package ‘tidyr’ version ‘1.3.1’
** package ‘tidyr’ successfully unpacked and MD5 sums checked
** using staged installation
** libs
using C++ compiler: ‘g++ (Ubuntu 11.4.0-1ubuntu1~22.04.3) 11.4.0’
melt.cpp: In function ‘SEXPREC* concatenate(const cpp11::data_frame&, cpp11::integers, bool)’:
melt.cpp:139:19: error: ‘DATAPTR’ was not declared in this scope; did you mean ‘DATAPTR_RO’?
  139 |     memcpy((char*)DATAPTR(output) + i* nrow * sizeof(CTYPE), \
      |                   ^~~~~~~
melt.cpp:188:9: note: in expansion of macro ‘DO_CONCATENATE’
  188 |         DO_CONCATENATE(int);
      |         ^~~~~~~~~~~~~~
melt.cpp:139:19: error: ‘DATAPTR’ was not declared in this scope; did you mean ‘DATAPTR_RO’?
  139 |     memcpy((char*)DATAPTR(output) + i* nrow * sizeof(CTYPE), \
      |                   ^~~~~~~
melt.cpp:190:9: note: in expansion of macro ‘DO_CONCATENATE’
  190 |         DO_CONCATENATE(double);
      |         ^~~~~~~~~~~~~~
melt.cpp:139:19: error: ‘DATAPTR’ was not declared in this scope; did you mean ‘DATAPTR_RO’?
  139 |     memcpy((char*)DATAPTR(output) + i* nrow * sizeof(CTYPE), \
      |                   ^~~~~~~
melt.cpp:192:9: note: in expansion of macro ‘DO_CONCATENATE’
  192 |         DO_CONCATENATE(int);
      |         ^~~~~~~~~~~~~~
melt.cpp:139:19: error: ‘DATAPTR’ was not declared in this scope; did you mean ‘DATAPTR_RO’?
  139 |     memcpy((char*)DATAPTR(output) + i* nrow * sizeof(CTYPE), \
      |                   ^~~~~~~
melt.cpp:194:9: note: in expansion of macro ‘DO_CONCATENATE’
  194 |         DO_CONCATENATE(Rcomplex);
      |         ^~~~~~~~~~~~~~
make: *** [/opt/R/4.6.1/lib/R/etc/Makeconf:199: melt.o] Error 1
ERROR: compilation failed for package ‘tidyr’
* removing ‘/usr/lib/R/tidyr’## End Task Log ################################################################
Error: Unhandled Exception: child_task=1722270881 child_task_status=failed: Error building image: Error building tidyr (1.3.1). Build exited with non-zero status: 1
Execution halted

Thanks so much for reporting, @swalkerCDD - we're looking into it and will let you know as soon as we have an update.