I think you need to enclose the arguments to configure-args in quotes.
i.e.> --configure-args='--with-graphviz=/Users/khansen/Source/usr'
Greg Finak, Ph.D
Post-doctoral Fellow
Vaccine and Infectious Disease Division
Fred Hutchinson Cancer Research Center
Seattle, WA
On 2012-01-15, at 7:43 AM, "Kasper Daniel Hansen"
<kasperdanielhansen@gmail.com> wrote:
> When I build a package containing a vignette, the package gets
> installed to build the vignette. However, it appears that R CMD build
> does not allow for --configure-args. In my case, I have a C library
> installed in a non-standard position, and I need to tell the package
> where it is. It works fine with R CMD INSTALL, but R CMD build
> complains
>
> Warning: unknown option
> ‘--configure-args=--with-graphviz=/Users/khansen/Source/usr’
>
> and the subsequent installation fails with an error.
>
> Suggestion: allow R CMD build to accept --configure-args (and probably
> also --configure-vars)
>
> Best,
> Kasper
>
> ______________________________________________
> R-devel@r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-devel
[[alternative HTML version deleted]]