Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
traversc committed Jul 26, 2024
1 parent 7c8ac6e commit 0d264b7
Show file tree
Hide file tree
Showing 50 changed files with 766 additions and 4,581 deletions.
1 change: 1 addition & 0 deletions .Rbuildignore
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,4 @@ Makefile
README.html
^.github
^revdep$
^inst/analysis
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ Suggests: knitr, rmarkdown, dplyr, data.table, stringi
SystemRequirements: GNU make
Encoding: UTF-8
Roxygen: list(markdown = TRUE)
RoxygenNote: 7.3.1
RoxygenNote: 7.3.2
VignetteBuilder: knitr
Copyright: This package includes code from the 'zstd' library owned by Facebook, Inc. and created by Yann Collet; and code derived from the 'Blosc' library created and owned by Francesc Alted.
URL: https://github.com/traversc/qs2
Expand Down
17 changes: 17 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,23 @@ install-compile-zstd:
R CMD build . --no-build-vignettes
R CMD INSTALL $(BUILD) --configure-args="--with-zstd-force-compile"

install-dynamic-blocksize:
find . -type f -exec chmod 644 {} \;
find . -type d -exec chmod 755 {} \;
chmod 755 cleanup
chmod 755 configure
# find src/ -type f -exec chmod 644 {} \;
# chmod 644 ChangeLog DESCRIPTION Makefile NAMESPACE README.md
./configure
./cleanup
Rscript -e "library(Rcpp); compileAttributes('.');"
Rscript -e "devtools::load_all(); roxygen2::roxygenise('.');"
find . -iname "*.a" -exec rm {} \;
find . -iname "*.o" -exec rm {} \;
find . -iname "*.so" -exec rm {} \;
R CMD build . --no-build-vignettes
R CMD INSTALL $(BUILD) --configure-args="--with-dynamic-blocksize"

vignette:
Rscript -e "rmarkdown::render(input='vignettes/vignette.rmd', output_format='html_vignette')"
IS_GITHUB=Yes Rscript -e "rmarkdown::render(input='vignettes/vignette.rmd', output_file='../README.md', output_format=rmarkdown::github_document(html_preview=FALSE))"; unset IS_GITHUB
Expand Down
Loading

0 comments on commit 0d264b7

Please sign in to comment.