* installing *source* package ‘rgrpc’ ... ** this is package ‘rgrpc’ version ‘0.1.2’ ** package ‘rgrpc’ successfully unpacked and MD5 sums checked ** using staged installation /usr/bin/ld.bfd: /tmp/RtmpJZ8elb/working_dir/conftest-2ea772.o: in function `main': conftest.cpp:(.text+0x40): undefined reference to `grpc::CreateChannel(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::shared_ptr<grpc::ChannelCredentials> const&)' clang++: error: linker command failed with exit code 1 (use -v to see invocation) ------------------------------------------------------------ rgrpc: gRPC C++ 1.48.4 was found but a test program does not link with R's C++ compiler (/usr/local/clang23/bin/clang++); it may be built for a different C++ standard library. Installing WITHOUT gRPC: every call errors and grpc_available() returns FALSE. Ubuntu/Debian: sudo apt install libgrpc++-dev libprotobuf-dev (libgrpc++-dev, not libgrpc-dev: the C-only package leaves the C++ runtime and grpc++.pc missing. libgrpc++-dev does not pull libprotobuf-dev under --no-install-recommends.) Fedora: sudo dnf install grpc-cpp grpc-devel protobuf-devel macOS (Homebrew): brew install grpc protobuf pkgconf ------------------------------------------------------------ ** libs specified C++17 using C++ compiler: ‘clang version 23.1.5’ using C++17 make[1]: Entering directory '/data/localhost/ripley/R/packages/tests-clang/rgrpc/src' /usr/local/clang23/bin/clang++ -std=gnu++17 -I"/data/localhost/ripley/R/R-clang/include" -DNDEBUG -isystem /usr/local/clang23/include -I/usr/local/clang/include -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw -c stub.cpp -o stub.o /usr/local/clang23/bin/clang++ -std=gnu++17 -I"/data/localhost/ripley/R/R-clang/include" -DNDEBUG -isystem /usr/local/clang23/include -I/usr/local/clang/include -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw -c init.cpp -o init.o /usr/local/clang23/bin/clang++ -std=gnu++17 -shared -L/usr/local/clang/lib64 -L/usr/local/clang23/lib -L/usr/local/clang23/lib/x86_64-unknown-linux-gnu -L/usr/local/lib64 -o rgrpc.so stub.o init.o make[1]: Leaving directory '/data/localhost/ripley/R/packages/tests-clang/rgrpc/src' make[1]: Entering directory '/data/localhost/ripley/R/packages/tests-clang/rgrpc/src' make[1]: Leaving directory '/data/localhost/ripley/R/packages/tests-clang/rgrpc/src' installing to /data/localhost/ripley/R/packages/tests-clang/rgrpc.Rcheck/00LOCK-rgrpc/00new/rgrpc/libs ** R ** inst ** byte-compile and prepare package for lazy loading ** help *** installing help indices ** building package indices ** testing if installed package can be loaded from temporary location ** checking absolute paths in shared objects and dynamic libraries ** testing if installed package can be loaded from final location ** testing if installed package keeps a record of temporary installation path * DONE (rgrpc)