Trying to run the example on a Mac running Sonoma 14.5. Am running R v4.4.0. All packages installed without error.
library(rayshader)
library(ggplot2)
library(tidyverse)
library(sf)
library(viridis)
nc = st_read(system.file("shape/nc.shp", package="sf"), quiet = TRUE)
theme_set(theme_classic())
gg_nc = ggplot(nc) +
geom_sf(aes(fill = AREA)) +
scale_fill_viridis("Area") +
ggtitle("Area of counties in North Carolina")
plot_gg(gg_nc, multicore = TRUE, width = 6 ,height=2.7, fov = 70)
The last command returns:
Error in { :
task 1 failed - "object '_rayshader_rayshade_multicore' not found"