Install ORCA from within an R script

Previously plotly used webshot to generate images of plots, which required an install of phantomJS using webshot::install_phantomjs().

Is there an equivalent function or some code that can be used at the start of an R script to install orca if it is not yet installed on windows?

I have seen the instructions at but they are not really fit for purpose when the rest of plotly installs through simply running install.package(‘plotly’). Perhaps something similar to the conda method?