cask 'rstudio' do version '1.2.5042' sha256 '74ea68eb92a02f6ced3172b8571a76ed3b1568668d6001d196aaafd826952746' # rstudio.org/ was verified as official when first introduced to the cask url "https://download1.rstudio.org/desktop/macos/RStudio-#{version}.dmg" appcast 'https://www.rstudio.org/links/check_for_update?version=1.0.0&os=mac' name 'RStudio' homepage 'https://www.rstudio.com/' depends_on macos: '>= :sierra' app 'RStudio.app' zap trash: '~/.rstudio-desktop' caveats <<~EOS #{token} depends on R. The R Project provides official binaries: brew cask install r Alternatively, the Homebrew-compiled version of R omits the GUI app: brew install r EOS end