You should export to Rnw directly from LyX instead of copying the Rnw document in the LyX temp dir. The former one is a clean TeX document, and the latter one will mangle all filenames.
Regards, Yihui -- Yihui Xie <xieyi...@gmail.com> Phone: 515-294-2465 Web: http://yihui.name Department of Statistics, Iowa State University 2215 Snedecor Hall, Ames, IA On Mon, Jun 4, 2012 at 9:29 AM, Paul Johnson <pauljoh...@gmail.com> wrote: > > > I got to the bottom of the problem that made me ask. I had a package > that failed build check. I wrote the vignette in LyX and when I add a > bibliography file in LyX, it adds a full path, not just {rockchalk}, > in the Rnw file. > > \bibliography{0_home_pauljohn_SVN_rgroup_trunk_rockchalk_rockchalk_vignettes_rockchalk} > > LyX does that because it runs its builds in a temporary folder. > > When it is like that, the vignette builds for me, but it does not > survive the package check because the check won't go looking on the > long path. > > pj > > > -- > Paul E. Johnson > Professor, Political Science Assoc. Director > 1541 Lilac Lane, Room 504 Center for Research Methods > University of Kansas University of Kansas > http://pj.freefaculty.org http://quant.ku.edu > > ______________________________________________ > R-devel@r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-devel ______________________________________________ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel