Skip to content

Commit 0b5dbd0

Browse files
committed
Fix rscript command
1 parent 84d91a7 commit 0b5dbd0

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

codegens/r-httr/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66
"com_postman_plugin": {
77
"type": "code_generator",
88
"lang": "r",
9-
"variant": "<<VARIANT>>",
10-
"syntax_mode": "<<SYNTAX_MODE>>"
9+
"variant": "httr",
10+
"syntax_mode": "r"
1111
},
1212
"directories": {
1313
"lib": "lib",
@@ -24,7 +24,7 @@
2424
},
2525
"author": "$AUTHOR_NAME",
2626
"license": "Apache-2.0",
27-
"homepage": "https://github.com/postmanlabs/code-generators/tree/master/codegens/<<CODEGEN_NAME>>",
27+
"homepage": "https://github.com/postmanlabs/code-generators/tree/master/codegens/r-httr",
2828
"dependencies": {},
2929
"devDependencies": {},
3030
"engines": {

codegens/r-httr/test/newman/newman.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ describe('r-httr Converter', function () {
1212
// filename along with the appropriate version of the file. This file will be used to run the snippet.
1313
fileName: 'snippet.r',
1414
// Run script required to run the generated code snippet
15-
runScript: 'RScript snippet.r',
15+
runScript: 'Rscript snippet.r',
1616
skipCollections: ['redirectCollection']
1717
};
1818
runNewmanTest(convert, options, testConfig);

npm/ci-requirements.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,4 +89,4 @@ echo "Installing dependencies required for tests in codegens/r-rCurl and r-httr
8989
sudo apt-get install r-base
9090

9191
echo "Installing httr"
92-
R --vanilla -e 'install.packages("httr", version="1.4.2", repos="http://cran.us.r-project.org")'
92+
sudo R --vanilla -e 'install.packages("httr", version="1.4.2", repos="http://cran.us.r-project.org")'

0 commit comments

Comments
 (0)