* installing *source* package ‘pbdMPI’ ...
** package ‘pbdMPI’ successfully unpacked and MD5 sums checked
** using staged installation
checking for sed... /usr/bin/sed
checking for mpicc... F
checking for ompi_info... F
checking for pkg-config... /opt/R/x86_64/bin/pkg-config
Try pkg-config ...
checking if pkg-config knows about OpenMPI... no
>> TMP_FOUND = Nothing found from mpicc --show & sed nor pkg-config ...
checking for gcc... clang -arch x86_64
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether the compiler supports GNU C... yes
checking whether clang -arch x86_64 accepts -g... yes
checking for clang -arch x86_64 option to enable C11 features... none needed
checking for stdio.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for strings.h... yes
checking for sys/stat.h... yes
checking for sys/types.h... yes
checking for unistd.h... yes
checking for mpi.h... no
configure: error: "Cannot find mpi.h header file"
ERROR: configuration failed for package ‘pbdMPI’
* removing ‘/Volumes/Builds/packages/big-sur-x86_64/results/4.3/pbdMPI.Rcheck/pbdMPI’