Skip to content

Commit

Permalink
misc cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
rickhelmus committed Nov 1, 2023
1 parent 141432b commit 9ec5d9a
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 112 deletions.
73 changes: 0 additions & 73 deletions .github/workflows/build_packages.yml

This file was deleted.

32 changes: 0 additions & 32 deletions .github/workflows/make_bundle.yml

This file was deleted.

Binary file removed ext/biotransformer-3.0.0.jar
Binary file not shown.
8 changes: 1 addition & 7 deletions utils/make_bundle.R
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
# RExePath <- "../R-win.exe" # on Appveyor

RExePath <- if (Sys.getenv("GITHUB_ACTIONS") == "true")
{
sprintf("D:/a/_temp/R-%s-win.exe", getRversion()) # HACK: maybe not very maintainable, let's see...
} else {
dl <- tempfile(fileext = ".exe")
stopifnot(download.file("https://cloud.r-project.org/bin/windows/base/R-4.3.1-win.exe",
stopifnot(download.file("https://cloud.r-project.org/bin/windows/base/R-4.3.2-win.exe",
dl, mode = "wb") == 0)
dl
}
Expand All @@ -24,10 +22,6 @@ stopifnot(system2(file.path(IEDir, "innoextract.exe"), c("-ed", RExtrDir, RExePa
file.rename(file.path(RExtrDir, "app"), file.path(RExtrDir, "R"))
file.copy("bundle/Renviron.site", file.path(RExtrDir, "R", "etc"), overwrite = TRUE)

# UNDONE: for now leave the repos as the default, mainly since patRoonInst already deals with setting up the repos
# cat("\n# Customization of patRoon",
# "options(repos = c(CRAN = \"https://cran.rstudio.com/\", patRoonDeps = \"https://rickhelmus.github.io/patRoonDeps/\"))",
# sep = "\n", file = file.path(RExtrDir, "R", "etc", "Rprofile.site"), append = TRUE)
cat("\n# Customization of patRoon",
"options(repos = c(CRAN = \"https://cran.rstudio.com/\"))",
sep = "\n", file = file.path(RExtrDir, "R", "etc", "Rprofile.site"), append = TRUE)
Expand Down

0 comments on commit 9ec5d9a

Please sign in to comment.