Found the following significant warnings:
  bson.c:33:10: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
  bson.c:42:10: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
  client.c:29:46: warning: format specifies type 'char *' but the argument has type 'SEXP' (aka 'struct SEXPREC *') [-Wformat]
  collection.c:29:10: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
  collection.c:46:10: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
  collection.c:59:10: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
  collection.c:87:10: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
  collection.c:108:12: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
  collection.c:122:32: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
  collection.c:147:10: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
  collection.c:158:10: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
  collection.c:170:10: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
  collection.c:189:10: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
  collection.c:202:10: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
  collection.c:241:10: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
  cursor.c:14:12: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
  cursor.c:31:14: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
  cursor.c:64:14: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
  cursor.c:108:12: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
  cursor.c:127:10: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
  gridfs.c:72:10: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
  gridfs.c:81:10: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
  gridfs.c:123:10: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
  gridfs.c:167:10: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
  gridfs.c:272:12: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
  reader.c:57:16: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
See ‘/data/gannet/ripley/R/packages/tests-clang/mongolite.Rcheck/00install.out’ for details.
* used C compiler: ‘clang version 17.0.5’