27 lines
711 B
Ruby
27 lines
711 B
Ruby
cask 'rstudio' do
|
|
version '1.2.1335'
|
|
sha256 '9633421e4c8fd8a439fcf54be495c489734b12900c5ffc378fb2fecc6e1bff51'
|
|
|
|
# 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
|