I've just noticed that with a recent R devel on Windows, R CMD build
sources ~/.Rprofile, e.g.
> RCMD build
Running ~/.Rprofile
> R CMD build
Running ~/.Rprofile
FYI R --no-init-file & R --vanilla still avoid this.
> sessionInfo()
R Under development (unstable) (2012-02-08 r58297)
Platform: x86_64-pc-mingw32/x64 (64-bit)
locale:
[1] LC_COLLATE=English_United States.1252
[2] LC_CTYPE=English_United States.1252
[3] LC_MONETARY=English_United States.1252
[4] LC_NUMERIC=C
[5] LC_TIME=English_United States.1252
attached base packages:
[1] stats graphics grDevices utils datasets methods
base>
/Henrik