Found the following significant warnings:
  mongoc/mongoc-trace-private.h:39:22: warning: format '%d' expects argument of type 'int', but argument 6 has type 'u_long' {aka 'long unsigned int'} [-Wformat=]
  mongoc/mongoc-trace-private.h:39:22: warning: format '%ld' expects argument of type 'long int', but argument 7 has type 'size_t' {aka 'long long unsigned int'} [-Wformat=]
  mongoc/mongoc-trace-private.h:39:22: warning: format '%ld' expects argument of type 'long int', but argument 6 has type 'ssize_t' {aka 'long long int'} [-Wformat=]
  mongoc/mongoc-trace-private.h:39:22: warning: format '%ld' expects argument of type 'long int', but argument 8 has type 'size_t' {aka 'long long unsigned int'} [-Wformat=]
  mongoc/mongoc-trace-private.h:39:22: warning: format '%ld' expects argument of type 'long int', but argument 6 has type 'size_t' {aka 'long long unsigned int'} [-Wformat=]
  mongoc/mongoc-trace-private.h:39:22: warning: format '%ld' expects argument of type 'long int', but argument 7 has type 'ssize_t' {aka 'long long int'} [-Wformat=]
  mongoc/mongoc-trace-private.h:39:22: warning: format '%d' expects argument of type 'int', but argument 6 has type 'size_t' {aka 'long long unsigned int'} [-Wformat=]
  mongoc/mongoc-trace-private.h:39:22: warning: format '%d' expects argument of type 'int', but argument 6 has type 'ssize_t' {aka 'long long int'} [-Wformat=]
  mongoc/mongoc-trace-private.h:39:22: warning: format '%zd' expects argument of type 'signed size_t', but argument 7 has type 'long unsigned int' [-Wformat=]
  mongoc/mongoc-trace-private.h:39:22: warning: format '%lu' expects argument of type 'long unsigned int', but argument 6 has type 'size_t' {aka 'long long unsigned int'} [-Wformat=]
  mongoc/mongoc-trace-private.h:39:22: warning: format '%lu' expects argument of type 'long unsigned int', but argument 7 has type 'size_t' {aka 'long long unsigned int'} [-Wformat=]
  mongoc/mongoc-trace-private.h:39:22: warning: format '%d' expects argument of type 'int', but argument 7 has type 'size_t' {aka 'long long unsigned int'} [-Wformat=]
  mongoc/mongoc-trace-private.h:39:22: warning: format '%d' expects argument of type 'int', but argument 7 has type 'long long int' [-Wformat=]
  mongoc/mongoc-trace-private.h:39:22: warning: format '%d' expects argument of type 'int', but argument 6 has type 'SECURITY_STATUS' {aka 'long int'} [-Wformat=]
See 'd:/Rcompile/CRANpkg/local/4.3/mongolite.Rcheck/00install.out' for details.