MCPcopy Create free account
hub / github.com/REditorSupport/vscode-R / makeRArgs

Function makeRArgs

src/tasks.ts:26–34  ·  view source on GitHub ↗
(options: string[], code: string[])

Source from the content-addressed store, hash-verified

24}
25
26function makeRArgs(options: string[], code: string[]) {
27 const codeArgs: string[] = [];
28 for (const line of code) {
29 codeArgs.push('-e');
30 codeArgs.push(line);
31 }
32 const args = options.concat(codeArgs);
33 return args;
34}
35
36const defaultOptions: string[] = ['--no-echo', '--no-restore'];
37const rtasks: RTaskInfo[] = [

Callers 1

asRTaskFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected