# r – Error installing ‘AICcmodavg’ and ‘unmarked’: ‘palette.colors’ is not exported by ‘namespace:grDevices’

I’ve been trying for several hours to install the AICcmodavg package in R, but I keep getting the same error:

Error: object ‘palette.colors’ is not exported by 'namespace:grDevices'
Execution halted


I’ve tried installing on R and R-Studio on Windows, including several different versions of R, and R on Ubuntu. I tried installing all the dependencies individually, and I think I narrowed down the issue to the package ‘unmarked,’ which gives the same error as when trying to install AICcmodavg. Installing with install.packages('unmarked') as well as downloading from source gives the same error.
How can I fix or avoid this error about ‘palette.colors’ so I can successfully use AICcmodavg? I’m not doing anything involving colors, but grDevices does load with library(grDevices).