Skip to content

[R-pkg-devel] unable to run 'make clean' in 'src'

3 messages · Georgi Boshnakov, Spencer Graves

#
Hello:


 ????? "R CMD build bssm" complains:


 ??? ??????? unable to run 'make clean' in 'src'


 ????? This is on a Windows 10 computer with R 3.6.1 installed with, I 
think, Rtools35.exe.? "sessionInfo()" says, "Platform: 
x86_64-w64-mingw32/x64 (64-bit)".


 ????? This is trying to build a local clone of 
"https://github.com/sbgraves237/bssm", which is only slightly different 
from "helske/bssm".


 ????? What do you suggest?


 ????? Thanks,
 ????? Spencer Graves


p.s. 
"https://stackoverflow.com/questions/28723882/problems-installing-development-package-from-either-github-or-local#28724622" 
documents a discussion of this message from 2015.? It asks if "Rtools is 
in your PATH?"? The "path" includes "C:\RBuildTools\3.5" and "C:\Program 
Files\R\R3.6.1\bin" plus other non-R stuff.? That discussion also said, 
"The .o files in the src directory were messing things up."? bssm/src 
does not contain any *.o files.
#
I don't know about Windows 10 but I think that the pointers to Rtools need to be to the bin subdirectory. Also, it is prudent to have these at the beginning of the search path, e.g.

PATH=c:\Rtools\bin;c:\Rtools\mingw_64\bin;c:\ProgramF\R\R-3.6.0patched\bin;

I am not sure if the entry for ming_w64 above is (still) needed.


Georgi Boshnakov


-----Original Message-----
From: R-package-devel [mailto:r-package-devel-bounces at r-project.org] On Behalf Of Spencer Graves
Sent: 18 September 2019 07:47
To: R Package Development
Subject: [R-pkg-devel] unable to run 'make clean' in 'src'

Hello:


 ????? "R CMD build bssm" complains:


 ??? ??????? unable to run 'make clean' in 'src'


 ????? This is on a Windows 10 computer with R 3.6.1 installed with, I 
think, Rtools35.exe.? "sessionInfo()" says, "Platform: 
x86_64-w64-mingw32/x64 (64-bit)".


 ????? This is trying to build a local clone of 
"https://github.com/sbgraves237/bssm", which is only slightly different 
from "helske/bssm".


 ????? What do you suggest?


 ????? Thanks,
 ????? Spencer Graves


p.s. 
"https://stackoverflow.com/questions/28723882/problems-installing-development-package-from-either-github-or-local#28724622" 
documents a discussion of this message from 2015.? It asks if "Rtools is 
in your PATH?"? The "path" includes "C:\RBuildTools\3.5" and "C:\Program 
Files\R\R3.6.1\bin" plus other non-R stuff.? That discussion also said, 
"The .o files in the src directory were messing things up."? bssm/src 
does not contain any *.o files.

______________________________________________
R-package-devel at r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-package-devel
#
Hi, Georgi et al.:


 ????? Thanks to Georgi, I changed my path.? That led me to a different 
error.? A search for the new error led me to:


https://thecoatlessprofessor.com/programming/cpp/installing-rtools-for-compiled-code-via-rcpp/


That recommended:


install.packages("installr")
library("installr")
install.Rtools()


 ????? I uninstalled Rtools, then installed them using this, and that 
problem disappeared.? Now I'm dealing with '"pdflatex" not found". I'll 
discuss that in a new thread.


 ????? Thanks,
 ????? Spencer Graves
On 2019-09-18 06:30, Georgi Boshnakov wrote: