Skip to content

Commit

Permalink
refactor, wip: random rtools query
Browse files Browse the repository at this point in the history
  • Loading branch information
EagleoutIce committed Sep 15, 2023
1 parent 7f8c0a1 commit 08d15c2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/actions/setup/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ runs:
using: "composite"
steps:
- name: "Checkout Repository"
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Use Node.js
uses: actions/setup-node@v3
Expand Down
2 changes: 2 additions & 0 deletions src/r-bridge/shell.ts
Original file line number Diff line number Diff line change
Expand Up @@ -266,6 +266,8 @@ export class RShell {
}
}

this.sendCommand('pkgbuild::find_rtools()')

// obtain a temporary directory
this.sendCommand('temp <- tempdir()')
const [tempdir] = await this.sendCommandWithOutput(`cat(temp, ${ts2r(this.options.eol)})`)
Expand Down

0 comments on commit 08d15c2

Please sign in to comment.