Skip to content

Commit

Permalink
getRLibPaths uses substituteVariables
Browse files Browse the repository at this point in the history
  • Loading branch information
renkun-ken committed Nov 21, 2023
1 parent ce8ae9c commit 63ee735
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/util.ts
Original file line number Diff line number Diff line change
Expand Up @@ -329,7 +329,7 @@ export async function getCranUrl(path: string = '', cwd?: string | URL): Promise
}

export function getRLibPaths(): string | undefined {
return config().get<string[]>('libPaths')?.join('\n');
return config().get<string[]>('libPaths')?.map(substituteVariables).join('\n');
}

// executes an R command returns its output to stdout
Expand Down

0 comments on commit 63ee735

Please sign in to comment.