Skip to content

contrib pkg install problem on Windows with R2.2.0

3 messages · Uwe Ligges, Ingmar Visser

#
Dear R-helpers,
I made the package depmix for fitting hidden markov models.
After updating R to version 2.2.0 on my PC I got the following error when
installing the package from a local directory. One of the C files includes
the R.h file which apparently causes problems.

I call 

R CMD INSTALL --docs="normal" depmix

and I get the following error:

make[3]: *** No rule to make target 'C:/rw2011/include/R.h', needed by
derdist.o. Stop. 

In the previous version of R that I used, the package compiles & installs
without problems. 

My question is what to make of this error since the R CHANGES file states
that "The 'rw2010' notation has been dropped." so the rw2011 directory does
not even exist. Even so, R CMD INSTALL does not complain that it can not
find the directory but only says there is "no rule to make target", which I
fail to understand.

Any hints are welcome, best, ingmar
#
Ingmar Visser wrote:

            
You probably did build from a poluted directory containing an old 
".../src/Makedeps" file. Remove it and try again.

Uwe Ligges
#
Dear Uwe,
That was spot on, thanks!
Another thing that came up during compiling/installing the package is
latex: not found 
warnings. They don't affect the correct installation it seems ...
Even so, I never saw the warning before. Does R CMD INSTALL now call latex
whereas it didn't do that earlier?
best, ingmar