Do you want to use R-hub to check your package on Solaris? See the documentation at https://docs.r-hub.io and also the https://github.com/r-hub/rhub R package
Do you want to debug your R package on Solaris? See the packer
subdirectory on how you can build your own Solaris VM
with packer and VirtualBox or VMware.