-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
f5fb804
commit a0ab77a
Showing
1 changed file
with
17 additions
and
2 deletions.
There are no files selected for viewing
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
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 |