Problem compiling RSQLite from source

When I tried to compile RSQLite from source on Fedora 34, I was awaited by this error message.

Error installing package 'RSQLite':
* installing to library ‘/.../renv/staging/1’
* installing *source* package ‘RSQLite’ ...
** package ‘RSQLite’ successfully unpacked and MD5 sums checked
** using staged installation
** libs
g++ -m64 -std=gnu++11 -I"/usr/include/R" -DNDEBUG -I. -Ivendor
-I'/.../renv/staging/1/Rcpp/include' -I/usr/local/include  
-fvisibility=hidden -fpic  -O2 -flto=auto -ffat-lto-objects -fexceptions
-g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,
-specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong
-specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m64  -mtune=generic
-fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection  
-c DbColumn.cpp -o DbColumn.o
In file included from pch.h:1,
                 from DbColumn.cpp:1:
RSQLite.h:9:10: fatal error: Rcpp.h: No such file or directory
    9 | #include <Rcpp.h>
      |          ^~~~~~~~
compilation terminated.
make: *** [/usr/lib64/R/etc/Makeconf:181: DbColumn.o] Error 1
ERROR: compilation failed for package ‘RSQLite’

To make it work, I think reinstalling Rcpp package made the difference. I have been upgrading my Fedora lately (bumping from F33 to F34), which leads me to believe that there may have been a change in compiler versions. What I would imagine is that something didn't play well together.

1995 style links