diff --git a/.github/workflows/package-check.yml b/.github/workflows/package-check.yml index b4fc660..e350ec7 100644 --- a/.github/workflows/package-check.yml +++ b/.github/workflows/package-check.yml @@ -6,6 +6,11 @@ on: name: Build Check +env: + R_REMOTES_NO_ERRORS_FROM_WARNINGS: true + _R_CHECK_FORCE_SUGGESTS_: true + RSPM: "https://packagemanager.rstudio.com/all/__linux__/focal/latest" + jobs: build-check: runs-on: ${{ matrix.config.os }} @@ -25,9 +30,12 @@ jobs: with: python-version: '3.x' # Version range or exact version of a Python version to use, using SemVer's version range syntax architecture: 'x64' # optional x64 or x86. Defaults to x64 if not specified + - uses: r-lib/actions/setup-r@v1 - name: Install lxml using the binary wheel run: | pip --version pip install --prefer-binary lxml - name: Test package installation - run: python setup.py install + run: pip install . + - name: Test miniCRAN + run: python cran_test.py diff --git a/cran_test.py b/cran_test.py new file mode 100644 index 0000000..53b5568 --- /dev/null +++ b/cran_test.py @@ -0,0 +1,3 @@ +import offlinedatasci + +offlinedatasci.find_call_minicran('crantest') \ No newline at end of file