Skip to content

[R-pkg-devel] Strange issue checking packages on MacOS

2 messages · John Mount, Alexandre Courtiol

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

Start RStudio
Select New->Project->NewDirectory->R Package (I checked "use .git")
BuildPane->More->BuildSourcePackage
At the bas 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 work around it.  But I think it may be 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.



---------------
John Mount
http://www.win-vector.com/ <http://www.win-vector.com/> 
Our book: Practical Data Science with R http://www.manning.com/zumel/ <http://www.manning.com/zumel/>
#
Hi John,
I cannot replicate the problem on my machine, which version of R and
RStudio are you using?
I don't think I can solve the issue but it could help others to have a
finer idea about your system.
Also I used a terminal running bash outside RStudio, what did you do?

I did your test using RStudio Version 1.1.456 in the following R environment
R version 3.5.1 (2018-07-02)
Platform: x86_64-apple-darwin15.6.0 (64-bit)
Running under: macOS  10.14.2

Matrix products: default
BLAS:
/System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libBLAS.dylib
LAPACK:
/Library/Frameworks/R.framework/Versions/3.5/Resources/lib/libRlapack.dylib

locale:
[1] en_US.UTF-8/en_US.UTF-8/en_US.UTF-8/C/en_US.UTF-8/en_US.UTF-8

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods
[7] base

loaded via a namespace (and not attached):
[1] compiler_3.5.1 tools_3.5.1    yaml_2.2.0
? Session info ??????????????????????????????????????????????????????
 setting  value
 version  R version 3.5.1 (2018-07-02)
 os       macOS  10.14.2
 system   x86_64, darwin15.6.0
 ui       RStudio
 language (EN)
 collate  en_US.UTF-8
 ctype    en_US.UTF-8
 tz       Europe/Berlin
 date     2019-01-18

Best,
Alex
On Fri, 18 Jan 2019 at 02:45, John Mount <jmount at win-vector.com> wrote: