Strange issue checking packages on MacOS

When checking a package on MacOS the XQuartz server starts up at the "checking S3 generic/method consistency" step. This is easy to reproduce:

  1. Start RStudio
  2. Select New->Project->NewDirectory->R Package (I checked "use .git")
  3. BuildPane->More->BuildSourcePackage
  4. At the bash command line run: R CMD check --as-cran empty_0.1.0.tar.gz

At the "checking S3 generic/method consistency" step XQuartz will start up. I can ignore it. But it may a possible symptom of a bad dependency that may cause trouble on Windows and Mac systems without an X-server. It seems to require the --as-cran flag to trigger.