[R-pkg-devel] failing S3 dispatch

2021-10-19 Thread Jens Oehlschlägel
I didn't find an answer elsewhere: My package 'bit' creates a S3 generic 'clone' and exports it. Furthermore it registers a S3 method 'clone.default' (not exported). My package 'ff' imports package 'bit' and exports and registers a new S3 method 'clone.ff'. However, calling 'clone(ffobj)'

Re: [R-pkg-devel] How does one install a libtool generated libfoo.so.1 file into ./libs/?

2021-10-19 Thread Pariksheet Nanda
Hi Simon and Vladimir, >> On Oct 19, 2021, at 4:13 PM, Pariksheet Nanda wrote: >> The trouble is, R's installation process will only copy compiled files from ./libs/ that have exactly the extension ".so" and files ending with ".so.1" are ignored. --snip-- >> library(tsshmm) >> ... >> Error:

Re: [R-pkg-devel] Package submission to CRAN

2021-10-19 Thread Brodie Gaslam via R-package-devel
I would just increment the version.  This is the from the CRAN re-submission policy[1]: > Updates to previously-published packages must have an increased version. > Increasing the version number at each submission reduces confusion so is > preferred even when a previous submission was not

[R-pkg-devel] Package submission to CRAN

2021-10-19 Thread Simon Bonner
Hi all, I have a question re package submission that I'm hoping someone might be able to help with. A package I maintain (dalmatian) was archived last year because one of the packages it depends on (dglm) was removed from CRAN. The dglm package has been fixed and is back on CRAN, and I have

Re: [R-pkg-devel] How does one install a libtool generated libfoo.so.1 file into ./libs/?

2021-10-19 Thread Vladimir Dergachev
The simplest thing to try is to compile the library statically and link it into your package. No extra files - no trouble. You can also try renaming the file from *.so.1 to *.so. best Vladimir Dergachev __ R-package-devel@r-project.org mailing

[R-pkg-devel] Concise Summary For Any Variety Of R Function

2021-10-19 Thread Dario Strbenac
Good day, I would like to create a concise show method for an S4 class that I am developing. One class slot stores a function specified by the end user. It could be a basic function, an S3 function, an S4 function. For S4 functions, I can get a concise representation: >

Re: [R-pkg-devel] How does one install a libtool generated libfoo.so.1 file into ./libs/?

2021-10-19 Thread Pariksheet Nanda
Hi folks, On 10/18/21 11:13 PM, Pariksheet Nanda wrote: The trouble is, R's installation process will only copy compiled files from ./libs/ that have exactly the extension ".so" and files ending with ".so.1" are ignored. --snip-- So is there some mechanism to copy arbitrary files or

[R-pkg-devel] How does one install a libtool generated libfoo.so.1 file into ./libs/?

2021-10-19 Thread Pariksheet Nanda
Hi folks, My package [1] depends on a C library libghmm-dev that's available in many GNU/Linux package managers. However, it's not available on all platforms and if this dependency is not installed, my autoconf generated configure script defaults to falling back to compiling and installing