[R-pkg-devel] Windows load error installing package SOLVED - additional note
J C Nash
pro|jcn@@h @end|ng |rom gm@||@com
Sun Jun 13 12:49:19 CEST 2021
My misunderstanding. I thought the reference was to one of the
"src/" directories in the base R tree. However, I found examples in
some packages for the location.
Windows is alien territory for me, unfortunately.
On 2021-06-12 7:27 p.m., Uwe Ligges wrote:
> 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
>> 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