Re: [R-pkg-devel] Best practices for distributing large data files

2022-02-16 Thread Blätte , Andreas
Dear Rafa, AWS is a good option, and we are very satisfied with Zenodo for data that can be made publicly available. See the corpus_install() function in the 'cwbtools' package I maintain: https://github.com/PolMine/cwbtools/blob/master/R/corpus.R It offers a download option from both AWS

[R-pkg-devel] GitHub Actions - CI for pkg that depends on Java/rJava (Windows issue)

2021-01-22 Thread Blätte , Andreas
Dear colleagues, as recommended by rOpenSci (see https://ropensci.org/technotes/2020/11/19/moving-away-travis/) , I am moving to GitHub Actions for the CI for my R packages. My test case is the “bignlp” package I currently develop

Re: [R-pkg-devel] How to retrieve a flag set in configure.ac (filled in Makevars.in) during package installation in an R or C++ script ?

2020-08-17 Thread Blätte , Andreas
Dear Akshit, in the configure script of my package RcppCWB, I use the command line call 'R CMD config ...' to get the installation flags. Calling 'R CMD config' will display options. For your scenario, you can use 'R CMD config CPPFLAGS' to get the value of CPPFLAGS. To call R CMD config

Re: [R-pkg-devel] using devtools::install_github() when curl is a dependency

2020-06-06 Thread Blätte , Andreas
R_REMOTES_STANDALONE="true" environment variable. Then remotes will not use any packages to perform the downloads and the installations. See more here: https://github.com/r-lib/remotes#standalone-mode Gabor On Sat, Jun 6, 2020 at 9:24 PM Blätte, Andreas wrote: &

[R-pkg-devel] using devtools::install_github() when curl is a dependency

2020-06-06 Thread Blätte , Andreas
Dear colleagues, using devtools::install_github() is suggested frequently to install the development version of a package from GitHub. But there is a nasty scenario on Windows when the package to be installed from GitHub has curl as a dependency and if a new version of curl or backports is

[R-pkg-devel] Solaris build of package with Rcpp dependency

2019-01-17 Thread Blätte , Andreas
Dear colleagues, I maintain the package called ‘RcppCWB’ that depends on ‘Rcpp’. Using C++/Rcpp, it exposes the functionality of the ‘Corpus Workbench’ (CWB), a set of tools written in C to create and query large, linguistically annotated corpora. So far, the package can be built on all major