Skip to content

Commit

Permalink
now requiring R >= 2.14
Browse files Browse the repository at this point in the history
  • Loading branch information
gagolews committed Apr 6, 2017
1 parent c024aa1 commit ffe30b3
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 12 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ BugReports: http://github.com/gagolews/stringi/issues
SystemRequirements: ICU4C (>= 50, optional)
Type: Package
Depends:
R (>= 2.13.1)
R (>= 2.14)
Imports:
tools,
utils,
Expand Down
18 changes: 8 additions & 10 deletions devel/docker/docker_run_fedora_latest_R-old.sh
Original file line number Diff line number Diff line change
@@ -1,21 +1,19 @@
#!/bin/sh

docker run --rm -ti fedora:latest /bin/bash -c "
dnf install -y -q libicu-devel git tar wget gcc-c++ readline-devel gcc-gfortran texlive-latex gettext-devel && \
dnf install -y -q libicu-devel git tar wget gcc-c++ readline-devel gcc-gfortran texlive-latex gettext-devel && \
cd /tmp && \
wget https://cran.r-project.org/src/base/R-2/R-2.13.1.tar.gz && \
tar -zxf R-2.13.1.tar.gz && \
cd R-2.13.1 && \
wget https://cran.r-project.org/src/base/R-2/R-2.14.0.tar.gz && \
tar -zxf R-2.14.0.tar.gz && \
cd R-2.14.0 && \
./configure --disable-nls --with-x=no --with-readline=no --with-cairo=no --with-libpng=no --with-ICU=no --with-jpeglib=no --with-recommended-packages=no && \
make && \
make install && \
cd /tmp && \
GIT_SSL_NO_VERIFY=true git clone https://github.com/gagolews/stringi.git && \
R CMD build stringi && \
R CMD INSTALL stringi_*.tar.gz --configure-args='--disable-icu-bundle' --preclean --no-html && \
Rscript --vanilla -e 'install.packages(c(\"Rcpp\", \"stringr\", \"testthat\"), repos=\"http://cran.rstudio.com/\", quiet=TRUE)' && \
LC_ALL='en_US.UTF-8' Rscript --vanilla -e 'setwd(\"stringi\"); source(\"devel/testthat/run_package_tests.R\")' \
R CMD INSTALL stringi_*.tar.gz --configure-args='--disable-pkg-config' --preclean --no-html && \
Rscript --vanilla -e 'install.packages(c(\"Rcpp\", \"stringr\", \"testthat\"), repos=\"http://cran.rstudio.com/\", quiet=TRUE)' && \
LC_ALL='en_US.UTF-8' Rscript --vanilla -e 'setwd(\"stringi\"); source(\"devel/testthat/run_package_tests.R\")' \
R CMD INSTALL stringi_*.tar.gz --configure-args='--disable-icu-bundle' --preclean --no-html && \
Rscript --vanilla -e 'stringi::stri_info()' && \
R CMD INSTALL stringi_*.tar.gz --configure-args='--disable-pkg-config' --preclean --no-html && \
Rscript --vanilla -e 'stringi::stri_info()' \
"
2 changes: 1 addition & 1 deletion inst/AUTHORS
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

* Marek Gagolewski (gagolews at rexamine dot com) [aut,cre]
* Bartek Tartanus [ctb]

and others (see https://github.com/gagolews/stringi/graphs/contributors).

** ICU source code contributors **

Expand Down

0 comments on commit ffe30b3

Please sign in to comment.