diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml new file mode 100644 index 0000000..b17df3a --- /dev/null +++ b/.github/workflows/build.yml @@ -0,0 +1,48 @@ +name: R-CMD-INSTALL-build + +on: + push: + pull_request: + +jobs: + release: + strategy: + fail-fast: false + matrix: + os: [ ubuntu-latest, windows-latest, macOS-latest ] + R: [ '4.3' ] + + runs-on: ${{ matrix.os }} + + steps: + - uses: actions/checkout@v2 + with: + submodules: recursive + + - uses: r-lib/actions/setup-r@v2 + with: + r-version: ${{ matrix.R }} + rtools-version: '43' + + - uses: r-lib/actions/setup-r-dependencies@v2 + + - run: | + cd ..; R CMD INSTALL --build FunQuant + mkdir FunQuant/R-${{ matrix.R }} + mv FunQuant_*.* FunQuant/R-${{ matrix.R }}/. + shell: bash + name: R CMD INSTALL + + - uses: actions/upload-artifact@v2 + with: + path: ./R-* + + - uses: softprops/action-gh-release@v1 + if: startsWith(github.ref, 'refs/tags/') + with: + files: | + ./R-*/*.tar.gz + ./R-*/*.tgz + ./R-*/*.zip + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file diff --git a/NAMESPACE b/NAMESPACE index 35b75f3..ab218a3 100644 --- a/NAMESPACE +++ b/NAMESPACE @@ -1,8 +1,5 @@ # Generated by roxygen2: do not edit by hand -S3method(Inverse2D,Wavelet2D) -S3method(MeanPoe,Wavelet2D) -S3method(MeanPoe,coef_OrthoNormalBsplines2D) S3method(as.matrix,dwt.2d) export(Fpca2d.Wavelets) export(Wavelet2D)