Casks/r/rstudio@daily.rb
cask "rstudio@daily" do
version "2024.09.0-360"
sha256 "22d148c5d84c2693a42fea05c5cf7e5691d612959c311fda69756736ef5b98b3"
url "https://rstudio-ide-build.s3.amazonaws.com/electron/macos/RStudio-#{version}.dmg",
verified: "rstudio-ide-build.s3.amazonaws.com/electron/macos/"
name "RStudio Daily"
desc "Data science software focusing on R and Python"
homepage "https://dailies.rstudio.com/"
livecheck do
url "https://dailies.rstudio.com/rstudio/latest/index.json"
strategy :json do |json|
json.dig("products", "electron", "platforms", "macos", "version")
&.tr("+", "-")
end
end
conflicts_with cask: "rstudio"
depends_on macos: ">= :monterey"
app "RStudio.app"
zap trash: "~/.rstudio-desktop"
caveats <<~EOS
#{token} depends on R. The R Project provides official binaries:
brew install --cask r
Alternatively, the Homebrew-compiled version of R omits the GUI app:
brew install r
EOS
end