Skip to content

Commit

Permalink
import R's ahead
Browse files Browse the repository at this point in the history
  • Loading branch information
thierrymoudiki committed Jan 9, 2024
1 parent f5fb804 commit a0ab77a
Showing 1 changed file with 17 additions and 2 deletions.
19 changes: 17 additions & 2 deletions src/Ahead.jl
Original file line number Diff line number Diff line change
@@ -1,5 +1,20 @@
module Ahead
module Ahead

import RCall as rc

# Write your package code here.
rc.reval("options(repos = c(
techtonique = 'https://techtonique.r-universe.dev',
CRAN = 'https://cloud.r-project.org'));
install.packages("ahead")")

@rimport base as rbase
@rimport ahead as rahead

function foo(x)
rbase.sum([1, 2, 3], var"rm.na" = true)
end

# exports
export foo

end

0 comments on commit a0ab77a

Please sign in to comment.