[Bioc-devel] FW: Package build error

Hervé Pagès hpages at fredhutch.org
Fri Oct 27 20:50:51 CEST 2017


On 10/27/2017 11:42 AM, Ioannis Vardaxis wrote:
> Hey,
>
>
> I think the problem might be coming from the command
> "file.path(path.expand('~'),'Desktop’)” on line 77 on MACPET.rmd file. I
> just want to find the desktop path for creating a folder there for the
> vignette and the examples. This seems to work on MAC, but not on the other
> platforms, how can I make it work in general?

Please don't assume that all your users are going to have a
~/Desktop folder.

If you just need a place to create temporary files, you should use
tempfile().

BTW those are not Bioconductor specific questions and are better asked
on r-help or SO.

Thanks,
H.

>
> I replaced pdf_document2 with pdf_document by the way.
>
>
> Best,
>

-- 
Hervé Pagès

Program in Computational Biology
Division of Public Health Sciences
Fred Hutchinson Cancer Research Center
1100 Fairview Ave. N, M1-B514
P.O. Box 19024
Seattle, WA 98109-1024

E-mail: hpages at fredhutch.org
Phone:  (206) 667-5791
Fax:    (206) 667-1319



More information about the Bioc-devel mailing list