Displaying 4 results from an estimated 4 matches for "build_packages".
2010 Oct 02
1
cleanup_pkg() in tools:::.build_packages() is broken
Hi,
The cleanup_pkg() function defined the big tools:::.build_packages()
function in tools/R/build.R is currently broken. When Makefiles are
used cleanup_pkg() doesn't clean anything because of the way system2()
is called.
For example, the call to Ssystem() on line 304 (Ssystem is a silent
version of system2) is basically trying to do this:
> system2(past...
2010 Sep 30
1
tar problem when using 'R CMD build' on Windows
...ot;R_GZIPCMD")
if (!nzchar(GZIP)) GZIP <- "gzip"
seems to address the problem even though I admit it doesn't provide
a lot of insight about what's really going on. But it seems safe.
Could it be applied as a workaround?
If that is not desirable, could the tools:::.build_packages() function
not put quotes around the value of the TAR environment variable (the
code does shQuote(TAR)), at least on Windows, so I can set this
variable to
tar --no-same-owner
Note that the use of quotes around TAR is inconsistent across
utils::untar(), utils::tar() and tools:::.build_package...
2012 Mar 20
1
Substitute adds id attribute?
Hi all,
I can't figure out how to make this problem easily reproducible, but I
can demonstrate it very simply, so I hoped someone might be able to
suggest a place to start:
> f <- function(x) substitute(x)
> f(x)
x
> f(mpg)
mpg
attr(,"id")
[1] 11
It works as expected in a clean R session:
> f <- function(x) substitute(x)
> f(x)
x
> f(mpg)
mpg
but not
2010 Sep 15
1
running 'make' failed during vignette creation ('R CMD build') on Windows
Hi,
This is a follow-up to the problem reported here:
https://stat.ethz.ch/pipermail/r-devel/2010-September/058460.html
After I updated R-2.12 to 2010-09-13 r52905 on the Bioc build system,
some of the packages that have a Makefile in <pkg>/inst/doc still
don't build on Windows. For example, 'R\bin\R.exe CMD build adSplit'
gives:
* checking for file