File tree Expand file tree Collapse file tree 1 file changed +8
-2
lines changed
Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change 6767 required : false
6868 default : " "
6969 type : string
70+ additional-r-cmd-build-params :
71+ description : Additional flags or parameters to add to R CMD build
72+ required : false
73+ default : " "
74+ type : string
7075 additional-r-cmd-check-params :
7176 description : Additional flags or parameters to add to R CMD check
7277 required : false
@@ -615,7 +620,8 @@ jobs:
615620 export $(tr '\n' ' ' < /tmp/dotenv.env)
616621 }
617622 fi
618- R CMD build ${{ github.event.repository.name }}/${{ inputs.package-subdirectory }}
623+ R CMD build ${{ inputs.additional-r-cmd-check-params }} \
624+ ${{ github.event.repository.name }}/${{ inputs.package-subdirectory }}
619625 shell : bash
620626
621627 - name : Run R CMD check 🏁
@@ -948,7 +954,7 @@ jobs:
948954 fi
949955 if [ "${{ inputs.disable-package-rebuild-and-upload }}" != "true" ]
950956 then {
951- R CMD build .
957+ R CMD build ${{ inputs.additional-r-cmd-check-params }} .
952958 } else {
953959 echo "🙅🏼♀️ Not rebuilding package for uploads"
954960 }
You can’t perform that action at this time.
0 commit comments