Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rstudio@daily: migrate #172765

Merged
merged 1 commit into from
May 2, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
35 changes: 35 additions & 0 deletions Casks/r/rstudio@daily.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
cask "rstudio@daily" do
version "2024.07.0-daily-89"
sha256 "ed5f5767789aeca16c42b76d87dea0b88b679a96aacdef32a7d8d90acb24bf86"

url "https://s3.amazonaws.com/rstudio-ide-build/electron/macos/RStudio-#{version}.dmg",
verified: "s3.amazonaws.com/rstudio-ide-build/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["products"]["electron"]["platforms"]["macos"]["version"]
&.tr("+", "-")
end
end

conflicts_with cask: "rstudio"
depends_on macos: ">= :catalina"

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