[R-pkg-devel] configuration failed on win-builder
Hi Carmen,
On 15 February 2018 at 19:45, Carmen M. Livi wrote:
| when submiting my R-package to CRAN I get the following error from the | windows machine: | | * installing *source* package 'spp' ... | ./configure.win: 2: Syntax error: word unexpected (expecting ")") | ERROR: configuration failed for package 'spp' | * removing 'd:/RCompile/CRANguest/R-devel/lib/spp' | In R CMD INSTALL | | The package I am submitting is using a configure file. | I have a "configure" script generated with autoconf that reads | configure.ac (for linux) and configure.win (for windows). "That reads" ? Normaly, the autoconf tools _create_ configure from configure.ac. For Windows, configure.win is usually completely different and hand-written. The are literally hundreds of examples at CRAN which you could study. | It works fine on linux. | | Looking at the error it seems (to me) that win-builder tries to execute | configure.win instead of configure. Yes. As documented. See "Writing R Extensions" Dirk
http://dirk.eddelbuettel.com | @eddelbuettel | edd at debian.org