Create a launcher and updater for Mac (.command)
mac_launcher(
app = c("radiant", "radiant.data", "radiant.design", "radiant.basics", "radiant.model",
"radiant.multivariate"),
port = 4444,
pdir = Sys.getenv("HOME")
)
App to run when the desktop icon is double-clicked ("radiant", "radiant.data", etc.). Default is "radiant"
Port to use for shiny::runApp (e.g, port = 4444)
Project directory to use. Default is Sys.getenv("HOME")
On Mac a file named 'radiant.command' and one named 'update_radiant.command' will be put on the desktop. Double-click the file to launch the specified Radiant app or update Radiant to the latest version
if (FALSE) {
radiant::mac_launcher()
}