Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
mhamilton723 committed Jun 22, 2021
1 parent 02cc82c commit 436d5e0
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions project/CodegenPlugin.scala
Original file line number Diff line number Diff line change
Expand Up @@ -152,9 +152,11 @@ object CodegenPlugin extends AutoPlugin {
rCmd(activateCondaEnv.value,
Seq("R", "CMD", "INSTALL", "--no-multiarch", "--with-keep.source", genPackageNamespace.value),
rSrcDir.getParentFile, libPath)
val testRunner = join("tools", "tests", "run_r_tests.R").getAbsolutePath
rCmd(activateCondaEnv.value,
Seq("Rscript", testRunner), rSrcDir, libPath)
val testRunner = join("tools", "tests", "run_r_tests.R")
if (testRunner.exists()){
rCmd(activateCondaEnv.value,
Seq("Rscript", testRunner.getAbsolutePath), rSrcDir, libPath)
}
},
publishR := {
codegen.value
Expand Down

0 comments on commit 436d5e0

Please sign in to comment.