Skip to content

Commit

Permalink
Debugging Rcpp build 11.
Browse files Browse the repository at this point in the history
  • Loading branch information
dereckmezquita committed Jul 8, 2024
1 parent 327bc05 commit c0aca2c
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/pkgdown.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,11 @@ jobs:
sudo apt-get update
sudo apt-get install -y libcurl4-openssl-dev libssl-dev libxml2-dev libgit2-dev
- name: Fix DESCRIPTION file
run: |
sed -i -e '$a\' DESCRIPTION
cat DESCRIPTION
- name: Install R dependencies
run: |
install.packages(c("renv", "Rcpp", "pkgdown", "rcmdcheck"))
Expand All @@ -36,8 +41,8 @@ jobs:

- name: Set up Rcpp
run: |
echo "PKG_CPPFLAGS=$(Rscript -e 'Rcpp:::CxxFlags()')" >> $GITHUB_ENV
echo "PKG_LIBS=$(Rscript -e 'Rcpp:::LdFlags()')" >> $GITHUB_ENV
echo 'Sys.setenv(PKG_CPPFLAGS=paste0("-I", system.file("include", package="Rcpp")))' >> ~/.Rprofile
echo 'Sys.setenv(PKG_LIBS=paste0("-L", system.file("libs", package="Rcpp")))' >> ~/.Rprofile
- name: Configure git
run: |
Expand Down

0 comments on commit c0aca2c

Please sign in to comment.