Created
March 23, 2020 22:58
-
-
Save aforsythe/3cddfdb12bf5d8f5a0b577431e4ca87a to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cask 'r' do | |
version '3.6.1' | |
sha256 'd86ab88eb33ddecf1c9432e08d177b40d0e1b07bb31e07d33c18d70e13b5051b' | |
url "https://cloud.r-project.org/bin/macosx/R-#{version}.pkg" | |
appcast 'https://cloud.r-project.org/bin/macosx/' | |
name 'r' | |
homepage 'https://www.r-project.org/' | |
depends_on macos: '>= :el_capitan' | |
pkg "R-#{version}.pkg" | |
uninstall pkgutil: 'org.r-project*', | |
delete: [ | |
'/Library/Frameworks/R.Framework', | |
'/usr/bin/R', | |
'/usr/bin/Rscript', | |
] | |
zap trash: [ | |
'~/.R', | |
'~/.Rapp.history', | |
'~/.RData', | |
'~/.Rhistory', | |
'~/.Rprofile', | |
'~/Library/R', | |
'~/Library/Caches/org.R-project.R', | |
] | |
caveats do | |
files_in_usr_local | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment