es this API for saving and checking ABI versions be useful to
anyone?
Best,
Pavel
On Sun, 2025-01-19 at 05:31 +, Pavel Krivitsky via R-package-devel
wrote:
> Thanks, Ivan! Replies below.
>
> On Fri, 2025-01-17 at 16:50
Thanks, Ivan! Replies below.
On Fri, 2025-01-17 at 16:50 +0300, Ivan Krylov wrote:
> В Fri, 17 Jan 2025 10:21:27 +
> Pavel Krivitsky via R-package-devel
> пишет:
>
> > 1. What is the best way to save this information? I have a
> > rudimentary implementatio
Dear All,
I maintain a package ('ergm') that exports a C API via /inst/include/
that includes header files with data structures, macros, and inline
functions, as well as a number of functions exported in a stubs file
(that use R_FindSymbol() and/or R_GetCCallable() to locate the
functions in 'ergm
take precedence within a
namespace.
The only situation in which it would change R's behaviour would be when
a package/namespace contains a function foo.bar() AND a NAMESPACE
containing S3method(foo,bar,not.foo.bar) AND calls foo() on objects of
type bar from inside the package. It is extreme
uence above contradicts the
current implementation (except for swapping 1 and 2)? As far as I can
tell, it's just a more concrete description of what's in the
documentation.
Best Regards,
Pavel
--
Pavel Krivitsky
Lecturer in Statisti
4. S3method() in other loaded packages' NAMESPACEs.
5. Appropriately named functions exported by other loaded packages'
NAMESPACEs.
For a call from outside a package, the precedence is the same, but 1
and 2 are not relevant.
As far as I can tell, this is the current behaviour e
oc/manuals/r-release/R-lang.html#Method-dispatching
), but it seems to me that if S3method() is allowed to give the name of
the method to be used, then it should should override the name-based
dispatching both inside and outside the package.
Any thoughts?
Pavel
--
Pavel Krivitsky
Lecturer in Statistics
National Institute of Applied Statistics Research Australia (NIASRA)
School of Mathematics and Applied Statistics | Building 39C Room 154
University of Wollongong NSW 2522 Australia
T +61 2 4221 3713
Web (NIASRA): http://niasra.
either case.)
Pavel
>
> Gabor
>
> On Thu, Mar 16, 2017 at 9:11 PM, Pavel Krivitsky
> wrote:
> > Dear All,
> >
> > Since some C header files in a package I maintain have identical
> > macro
> > definitions (which have a different meaning
se these are not meant to be included as
header files by any C code.
Thank you in advance,
Pavel
--
Pavel Krivitsky
Lecturer in Statistics
National Institute of Applied Statistics Research Australia (NIASRA)
Scho
10 matches
Mail list logo