tylermorganwall / rayshader

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

could not find function "light": render_highquality #95

Closed ctlamb closed 4 years ago

ctlamb commented 4 years ago

Not sure whats going on here, I have new version of rayshader installed, 0.13.7. If I do light=FALSE it runs, but output is black. Any thoughts?

render_highquality(filename=here::here("plots", "lambda.png")) Error in light(color = lightcolortemp, intensity = lightintensitytemp) : could not find function "light"

tylermorganwall commented 4 years ago

Try updating rayrender to the latest version and try again:


remotes::install_github("tylermorganwall/rayrender")
tylermorganwall commented 4 years ago

Should be fixed and the latest version of rayrender is now on the CRAN