diff --git a/.github/workflows/build-check-install.yaml b/.github/workflows/build-check-install.yaml index aa0fdafc..ed649966 100644 --- a/.github/workflows/build-check-install.yaml +++ b/.github/workflows/build-check-install.yaml @@ -67,6 +67,11 @@ on: required: false default: "" type: string + additional-r-cmd-build-params: + description: Additional flags or parameters to add to R CMD build + required: false + default: "" + type: string additional-r-cmd-check-params: description: Additional flags or parameters to add to R CMD check required: false @@ -615,7 +620,8 @@ jobs: export $(tr '\n' ' ' < /tmp/dotenv.env) } fi - R CMD build ${{ github.event.repository.name }}/${{ inputs.package-subdirectory }} + R CMD build ${{ inputs.additional-r-cmd-build-params }} \ + ${{ github.event.repository.name }}/${{ inputs.package-subdirectory }} shell: bash - name: Run R CMD check 🏁 @@ -948,7 +954,7 @@ jobs: fi if [ "${{ inputs.disable-package-rebuild-and-upload }}" != "true" ] then { - R CMD build . + R CMD build ${{ inputs.additional-r-cmd-build-params }} . } else { echo "🙅🏼‍♀️ Not rebuilding package for uploads" } diff --git a/DESCRIPTION b/DESCRIPTION index 348444a6..21407f7f 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -28,4 +28,4 @@ Encoding: UTF-8 Language: en-US LazyData: true Roxygen: list(markdown = TRUE) -RoxygenNote: 7.3.2 +RoxygenNote: 7.3.3