[R-pkg-devel] Windows load error installing package SOLVED - additional note
||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
"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
> Do these observations merit edits in the manual?
> On 2021-06-11 11:16 a.m., J C Nash wrote:
>> After some flailing around, discovered a posting
>> which showed a makevars.win file containing
>> PKG_LIBS = $(LAPACK_LIBS) $(BLAS_LIBS) $(FLIBS)
>> 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
More information about the R-package-devel