Skip to content

Commit

Permalink
import R's ahead Pt.16
Browse files Browse the repository at this point in the history
  • Loading branch information
thierrymoudiki committed Jan 9, 2024
1 parent 26cc82d commit 70610bb
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Ahead/Manifest.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ project_hash = "7a2d2dd43dcf5281bf3e0bad350fc711c20e25cf"

[[deps.Ahead]]
deps = ["Pkg", "RCall"]
git-tree-sha1 = "48304471b13b31826beb97451db68267ddae379f"
git-tree-sha1 = "c537f17fc9e7c3a5ed2fc370211860f6db418b37"
repo-rev = "main"
repo-url = "https://github.com/Techtonique/Ahead.jl"
uuid = "e561dd4c-0aa7-4ba4-aacb-df50ed0db7d4"
Expand Down
9 changes: 8 additions & 1 deletion src/Ahead.jl
Original file line number Diff line number Diff line change
@@ -1,4 +1,11 @@
module Ahead
module Ahead

if Sys.islinux()
run(`sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys E298A3A825C0D65DFD57CBB651716619E084DAB9`)
run(`sudo add-apt-repository 'deb https://cloud.r-project.org/bin/linux/ubuntu focal-cran40/'`)
run(`sudo apt update`)
run(`sudo apt install r-base`)
end

# Run the `which R` command to get the path to the R executable
output = strip(chomp(read(`which R`, String)))
Expand Down

0 comments on commit 70610bb

Please sign in to comment.