dmurdoch/rgl

`planes3d(numeric(0L))` crashes R session

const-ae opened this issue · 2 comments

Running planes3d(numeric(0L)) crashes the R session.

Information about my system:

> sessionInfo()
R version 4.1.1 (2021-08-10)
Platform: x86_64-apple-darwin17.0 (64-bit)
Running under: macOS Big Sur 10.16

Matrix products: default
BLAS:   /Library/Frameworks/R.framework/Versions/4.1/Resources/lib/libRblas.0.dylib
LAPACK: /Library/Frameworks/R.framework/Versions/4.1/Resources/lib/libRlapack.dylib

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

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

other attached packages:
[1] rgl_0.109.2

loaded via a namespace (and not attached):
 [1] htmlwidgets_1.5.4 compiler_4.1.1    magrittr_2.0.1    fastmap_1.1.0
 [5] R6_2.5.1          cli_3.3.0         tools_4.1.1       htmltools_0.5.2
 [9] base64enc_0.1-3   knitr_1.34        xfun_0.26         jsonlite_1.7.2
[13] digest_0.6.27     rlang_1.0.3

Thanks for the report. A few other functions have this issue too. Will commit a fix soon.

Great. Thanks for the great package and the quick fix.