[R-pkg-devel] configuration failed on win-builder
edd at debian.org
Fri Feb 16 21:33:50 CET 2018
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
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"
http://dirk.eddelbuettel.com | @eddelbuettel | edd at debian.org
More information about the R-package-devel