Re: [R-pkg-devel] Namespace problem with pre-R 3.0.0 package

2016-03-04 Thread Sébastien Moretti
Great! Thanks for your explanation Le 04/03/2016 17:55, Dirk Eddelbuettel a écrit : On 4 March 2016 at 08:51, Sebastien Moretti wrote: | Is useDynLib enough for package with compiled code? For the loading of the shared library, yes. Your other importing and exporting of R functions is orthog

Re: [R-pkg-devel] Namespace problem with pre-R 3.0.0 package

2016-03-04 Thread Dirk Eddelbuettel
On 4 March 2016 at 08:51, Sebastien Moretti wrote: | Is useDynLib enough for package with compiled code? For the loading of the shared library, yes. Your other importing and exporting of R functions is orthogonal to this. Dirk -- http://dirk.eddelbuettel.com | @eddelbuettel | e...@debian.org

Re: [R-pkg-devel] Namespace problem with pre-R 3.0.0 package

2016-03-03 Thread Sebastien Moretti
I have just found that R 2 filled by itself the NAMESPACE file with # Export all names exportPattern(".") # Import all packages listed as Imports or Depends import( cluster ) So I filled the NAMESPACE file with that and gave it to R 3 Now functions are found! Is it enough to do that? Ye

Re: [R-pkg-devel] Namespace problem with pre-R 3.0.0 package

2016-03-03 Thread Sebastien Moretti
I have just found that R 2 filled by itself the NAMESPACE file with # Export all names exportPattern(".") # Import all packages listed as Imports or Depends import( cluster ) So I filled the NAMESPACE file with that and gave it to R 3 Now functions are found! Is it enough to do that? Ye

Re: [R-pkg-devel] Namespace problem with pre-R 3.0.0 package

2016-03-03 Thread Martyn Plummer
On Thu, 2016-03-03 at 16:42 +0100, Uwe Ligges wrote: > > On 03.03.2016 16:08, Martyn Plummer wrote: > > On Thu, 2016-03-03 at 15:45 +0100, Sebastien Moretti wrote: > > > I have just found that R 2 filled by itself the NAMESPACE file > > > with > > > # Export all names > > > exportPattern(".") > >

Re: [R-pkg-devel] Namespace problem with pre-R 3.0.0 package

2016-03-03 Thread Uwe Ligges
On 03.03.2016 16:08, Martyn Plummer wrote: On Thu, 2016-03-03 at 15:45 +0100, Sebastien Moretti wrote: I have just found that R 2 filled by itself the NAMESPACE file with # Export all names exportPattern(".") # Import all packages listed as Imports or Depends import( cluster ) So I fill

Re: [R-pkg-devel] Namespace problem with pre-R 3.0.0 package

2016-03-03 Thread luke-tierney
On Thu, 3 Mar 2016, Martyn Plummer wrote: On Thu, 2016-03-03 at 15:45 +0100, Sebastien Moretti wrote: I have just found that R 2 filled by itself the NAMESPACE file with # Export all names exportPattern(".") # Import all packages listed as Imports or Depends import(    cluster ) So I filled

Re: [R-pkg-devel] Namespace problem with pre-R 3.0.0 package

2016-03-03 Thread Martyn Plummer
On Thu, 2016-03-03 at 15:45 +0100, Sebastien Moretti wrote: > I have just found that R 2 filled by itself the NAMESPACE file with > # Export all names > exportPattern(".") > > # Import all packages listed as Imports or Depends > import( >    cluster > ) > > > So I filled the NAMESPACE file with

Re: [R-pkg-devel] Namespace problem with pre-R 3.0.0 package

2016-03-03 Thread Sebastien Moretti
I have just found that R 2 filled by itself the NAMESPACE file with # Export all names exportPattern(".") # Import all packages listed as Imports or Depends import( cluster ) So I filled the NAMESPACE file with that and gave it to R 3 Now functions are found! Is it enough to do that? Is it