[R-pkg-devel] Windows load error installing package SOLVED - additional note

Uwe Ligges ||gge@ @end|ng |rom @t@t|@t|k@tu-dortmund@de
Sun Jun 13 01:27:54 CEST 2021

On 12.06.2021 16:39, J C Nash wrote:
> Two minor notes:
> 1) The Writing R Extensions manual, as far as I can determine, does not inform package
> developers that Makevars.win needs to be in the src/ subdirectory. I followed the example
> of some other packages to choose where to put it.

I just searched for Makevars.win in Writing R Extensions and the first 
occurence is:
"There are platform-specific file names on Windows: src/Makevars.win"

So tells you both it should be in src and how to capitlize.


> 2) Also, while I managed to get my package to install with "makevars.win", I got a
> WARNING on running a CHECK until I replaced it with "Makevars.win", i.e., Camel-case
> name.
> Do these observations merit edits in the manual?
> JN
> On 2021-06-11 11:16 a.m., J C Nash wrote:
>> After some flailing around, discovered a posting
>> https://stackoverflow.com/questions/42118561/error-in-r-cmd-shlib-compiling-c-code
>> which showed a makevars.win file containing
>> I had tried several similar such makevars.win files, but trying PKG_LIBS+= and
>> no spaces. There is mention of the libraries in Writing R Extensions, but given
>> the heavy use of LAPACK, BLAS and FLIBS, perhaps this example should be there
>> in the documentation. I've separately noted that Linux sessionInfo() shows
>> BLAS and LAPACK but Windows does not.
>> Cheers, JN
> ______________________________________________
> R-package-devel using r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-package-devel

More information about the R-package-devel mailing list