tylermorganwall / rayshader

R Package for 2D and 3D mapping and data visualization
https://www.rayshader.com/
2.05k stars 211 forks source link

render_polygons unused argument alpha #249

Closed Valexandre closed 1 year ago

Valexandre commented 1 year ago

I am trying to use the alpha argument in render_polygons and I get unused argument alpha. The polygons work great when alpha is not used. Is this a known issue ? Thx `sessionInfo() R version 4.0.4 (2021-02-15) Platform: x86_64-w64-mingw32/x64 (64-bit) Running under: Windows 10 x64 (build 19042)

Matrix products: default

locale: [1] LC_COLLATE=French_France.1252 LC_CTYPE=French_France.1252
[3] LC_MONETARY=French_France.1252 LC_NUMERIC=C
[5] LC_TIME=French_France.1252

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

other attached packages: [1] raster_3.4-5 sp_1.4-5 rayshader_0.24.2
[4] sf_0.9-8 forcats_0.5.1 stringr_1.4.0
[7] dplyr_1.0.5 purrr_0.3.4 readr_1.4.0
[10] tidyr_1.1.3 tibble_3.1.0 ggplot2_3.3.3
[13] tidyverse_1.3.0 RColorBrewer_1.1-2 smoothr_0.2.2
[16] concaveman_1.1.0`

canaytore commented 1 year ago

the error 'unused parameter' no longer appears with the newest version. have you tried to install the latest version of rayshader (==0.32.7) via devtools using devtools::install_github("tylermorganwall/rayshader")

tylermorganwall commented 1 year ago

Yes, update rayshader to the latest version on github and this should go away.

remotes::install_github("tylermorganwall/rayshader")