Re: [R-pkg-devel] Linking with software dependencies

2019-08-24 Thread Sameh M. Abdulah
Thanks Dirk for your answers. However, I am still confuse about the linking problem in question (2). Is there anyway to set the pkg_config_path instead of using the set_env function? —Sameh Get Outlook for iOS From: Dirk Eddelbuettel S

Re: [R-pkg-devel] NAMESPACE issue and grDevices

2019-08-24 Thread Duncan Murdoch
On 24/08/2019 10:36 a.m., Kevin Coombes wrote: Hi, I've been building a package and hit a NAMESPACE issue that took a while to resolve. My package implements a (new) generic function, and the method for a package in the class calls the "smoothScatter" function from the "graphics" package. I cou

Re: [R-pkg-devel] Linking with software dependencies

2019-08-24 Thread Dirk Eddelbuettel
On 24 August 2019 at 18:16, Sameh M. Abdulah wrote: | (1) My package requires a pre-installation of Intel MKL. Is there any way to include the MKL installation with the package. This (or a related) question was discussed here (or on a related list ?) very recently. The recommendation, that I co

[R-pkg-devel] Linking with software dependencies

2019-08-24 Thread Sameh M. Abdulah
Hi, First, I am inviting all of you to try our recent package at https://github.com/ecrc/exageostatR. This package involves MLE estimation in large scale using leading-edge hardware architectures. I have multiple questions: (1) My package requires a pre-installation of Intel MKL. Is there any

Re: [R-pkg-devel] Literal LaTeX Text in Function Arguments

2019-08-24 Thread bill
Hi Georgi, Thank you for the detailed investigation! It looks like you've found the issue with the psub() call below. It looks like a more complex regexp, "(? gsub(pattern="(? Sent: Saturday, August 24, 2019 12:28 PM To: b...@denney.ws; 'Duncan Murdoch' ; r-package-devel@r-project.org Subject:

Re: [R-pkg-devel] NAMESPACE issue and grDevices

2019-08-24 Thread Jeff Newmiller
I think yes. If a direct user of graphics opted not to call smoothScatter then they would have no need to even install KernSmooth. However, since generics automatically trigger loading of class-specific methods, one of which in your case includes that dependency, your package cannot avoid at lea

Re: [R-pkg-devel] Literal LaTeX Text in Function Arguments

2019-08-24 Thread Georgi Boshnakov
It seems that expansion of \ldots occurs in two different circumstances. 1) The Rd2XXX converters treat specially \ldots and \dots but in different ways. tools::Rd2latex() defines in its body texify(), which, when called with a piece of R code, starts by replacing \ldots and \dots with

[R-pkg-devel] NAMESPACE issue and grDevices

2019-08-24 Thread Kevin Coombes
Hi, I've been building a package and hit a NAMESPACE issue that took a while to resolve. My package implements a (new) generic function, and the method for a package in the class calls the "smoothScatter" function from the "graphics" package. I could build and install the package successfull

Re: [R-pkg-devel] Literal LaTeX Text in Function Arguments

2019-08-24 Thread bill
Hi Duncan, The original Rd generated by roxygen2 had 4 backslashes: https://github.com/billdenney/TopicLongTableR/blob/master/man/topic_long_table_header.Rd#L9 That generated a similar issue but check showed "\..." (backslash then 3 dots) instead of what is shown in the 2 backslashes case when

Re: [R-pkg-devel] Literal LaTeX Text in Function Arguments

2019-08-24 Thread Duncan Murdoch
On 24/08/2019 7:35 a.m., Duncan Murdoch wrote: On 23/08/2019 1:33 p.m., b...@denney.ws wrote: Hi Georgi, Thanks for this pointer. My guess at this point is that I've found a bug (or maybe a couple of bugs with 'utils::prompt()' and with the Rd to help conversion), but let me know if you think

Re: [R-pkg-devel] Literal LaTeX Text in Function Arguments

2019-08-24 Thread Duncan Murdoch
On 23/08/2019 1:33 p.m., b...@denney.ws wrote: Hi Georgi, Thanks for this pointer. My guess at this point is that I've found a bug (or maybe a couple of bugs with 'utils::prompt()' and with the Rd to help conversion), but let me know if you think otherwise. It's certainly not a bug in utils:p

Re: [R-pkg-devel] Literal LaTeX Text in Function Arguments

2019-08-24 Thread Georgi Boshnakov
HI Bill, I checked this as well, using the package you put on github for this purpose (note that the link you gave didn't work for me). I tried a few variants but the bottom line is that "\ldots" and "\dots" are expanded even if the backslash is escaped. It is a feature rather than a bug, see