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

Georgi Boshnakov georg|@bo@hn@kov @end|ng |rom m@nche@ter@@c@uk
Wed Sep 18 13:30:00 CEST 2019

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.


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 using 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'


       "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?

       Spencer Graves

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 using r-project.org mailing list

More information about the R-package-devel mailing list