Hi,
As I know, a solution is customizing Makefile target by yourself in
src/Makevars of your package, and removing the -g option.
As an example, you can see
https://github.com/SimonYansenZhao/wsrf/blob/09b197ed79b1c55a95d52b14aa5db3437f75f930/src/Makevars
I paste that here. See "$(CXX1XFLA
On 16 October 2016 at 10:52, Da Zheng wrote:
| The main reason I want to remove the debug info is that when I use R
| CMD check on my package, it gives the following info
| * checking installed package size ... NOTE
| installed size is 223.6Mb
| sub-directories of 1Mb or more:
| libs 223.1Mb
Hello Dirk,
Thank you very much for your reply.
The main reason I want to remove the debug info is that when I use R
CMD check on my package, it gives the following info
* checking installed package size ... NOTE
installed size is 223.6Mb
sub-directories of 1Mb or more:
libs 223.1Mb
CRAN r
On 16 October 2016 at 09:46, Da Zheng wrote:
| I'm writing an R package that is mainly written in C++. By default, R
| CMD INSTALL creates C/C++ flags as follows:
| -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat
| -Werror=format-security -D_FORTIFY_SOURCE=2 -g
That looks like you are
Hello,
I'm writing an R package that is mainly written in C++. By default, R
CMD INSTALL creates C/C++ flags as follows:
-g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat
-Werror=format-security -D_FORTIFY_SOURCE=2 -g
However, my package is fairly large. With debug info compiled into th