Re: [R-pkg-devel] finding "logo.jpg" [was: "try" malfunctions on Ubuntu Linux 16.04 LTS, R-release, GCC]

2020-02-03 Thread Dirk Eddelbuettel
On 3 February 2020 at 23:58, Ivan Krylov wrote: | On Mon, 3 Feb 2020 13:30:11 -0600 | Spencer Graves wrote: | | > logo.jpg <- paste(R.home(), "doc", "html", "logo.jpg", sep | > = .Platform$file.sep) | | I wonder whether file.path(R.home('doc'), 'html', 'logo.jpg') would be | more portable.

Re: [R-pkg-devel] finding "logo.jpg" [was: "try" malfunctions on Ubuntu Linux 16.04 LTS, R-release, GCC]

2020-02-03 Thread Ivan Krylov
On Mon, 3 Feb 2020 13:30:11 -0600 Spencer Graves wrote: > logo.jpg <- paste(R.home(), "doc", "html", "logo.jpg", sep > = .Platform$file.sep) I wonder whether file.path(R.home('doc'), 'html', 'logo.jpg') would be more portable. Are there R installations built without the HTML docs? -- Best

Re: [R-pkg-devel] finding "logo.jpg" [was: "try" malfunctions on Ubuntu Linux 16.04 LTS, R-release, GCC]

2020-02-03 Thread Iñaki Ucar
El lun., 3 feb. 2020 20:30, Spencer Graves < spencer.gra...@effectivedefense.org> escribió: >Thanks to Iñaki Ucar for identifying a second error that > explained why I still got an error after wrapping one in "try". > > >That still leaves a question of how to find a file like >

Re: [R-pkg-devel] finding "logo.jpg" [was: "try" malfunctions on Ubuntu Linux 16.04 LTS, R-release, GCC]

2020-02-03 Thread Ben Bolker
Maybe include your own version of logo.jpg in inst/ ? On 2020-02-03 2:30 p.m., Spencer Graves wrote: >   Thanks to Iñaki Ucar for identifying a second error that explained > why I still got an error after wrapping one in "try". > > >   That still leaves a question of how to find a