excalidrawz 1.2.5
[Homebrew/homebrew-cask.git] / Casks / r / rstudio@daily.rb
blob24755bd32f3033c8d9e9cfd1134d54af2e90de06
1 cask "rstudio@daily" do
2   version "2024.12.0-458"
3   sha256 "876909025db623b742e4c8a9614a64e0400dc320192be2a5136909965cf69409"
5   url "https://rstudio-ide-build.s3.amazonaws.com/electron/macos/RStudio-#{version}.dmg",
6       verified: "rstudio-ide-build.s3.amazonaws.com/electron/macos/"
7   name "RStudio Daily"
8   desc "Data science software focusing on R and Python"
9   homepage "https://dailies.rstudio.com/"
11   livecheck do
12     url "https://dailies.rstudio.com/rstudio/latest/index.json"
13     strategy :json do |json|
14       json.dig("products", "electron", "platforms", "macos", "version")
15           &.tr("+", "-")
16     end
17   end
19   conflicts_with cask: "rstudio"
20   depends_on macos: ">= :monterey"
22   app "RStudio.app"
24   zap trash: "~/.rstudio-desktop"
26   caveats <<~EOS
27     #{token} depends on R. The R Project provides official binaries:
29       brew install --cask r
31     Alternatively, the Homebrew-compiled version of R omits the GUI app:
33       brew install r
34   EOS
35 end