Hi Yutani,
ALTREP is part of the official R api, as illustrated by the presence of
src/include/R_ext/Altrep.h. Everything declared in the header files in that
directory is official API AFAIK (and I believe that is more definitive than
the manuals).
The documentation of ALTREP has lagged behind it
Thanks for your convincing comment, but it seems the R core team has a
different opinion...
A few hours ago, src/include/R_ext/Altrep.h got this comment:
/*
Not part of the API, subject to change at any time.
*/
commit:
https://github.com/r-devel/r-svn/commit/2059bffde642f8426d1f39
Hi all,
What it says in the title. This is likely to cause a lot of CRAN packages
to fail (I can try and quantify this if seen fit), but I think it's for the
best. Packages should not (IMHO) be relying on partial matching in package
code / tests. One might be more permissive for vignette/examples
Hi Yutani,
The headers have been updated by Luke Tierney: ALTREP is an *experimental*
API, in that it is an official API that is legal for packages to use, but
may it change with short notice as the framework is further developed.
Hope that helps,
~G
On Mon, Apr 22, 2024 at 4:46 AM Hiroaki Yutan
> On Apr 22, 2024, at 7:37 PM, Gabriel Becker wrote:
>
> Hi Yutani,
>
> ALTREP is part of the official R api, as illustrated by the presence of
> src/include/R_ext/Altrep.h. Everything declared in the header files in that
> directory is official API AFAIK (and I believe that is more definitiv
On Mon, Apr 22, 2024 at 5:14 PM Simon Urbanek
wrote:
>
>
> > On Apr 22, 2024, at 7:37 PM, Gabriel Becker
> wrote:
> >
> > Hi Yutani,
> >
> > ALTREP is part of the official R api, as illustrated by the presence of
> > src/include/R_ext/Altrep.h. Everything declared in the header files in
> that
>
> On Apr 23, 2024, at 10:29 AM, Hadley Wickham wrote:
>
>
>
> On Mon, Apr 22, 2024 at 5:14 PM Simon Urbanek
> wrote:
>
>
> > On Apr 22, 2024, at 7:37 PM, Gabriel Becker wrote:
> >
> > Hi Yutani,
> >
> > ALTREP is part of the official R api, as illustrated by the presence of
> > src/in
I just saw the recent commits about the "experimental" entry points. So, my
original question about the current status of ALTREP is now resolved. I'm
glad that ALTREP is confirmed usable on CRAN (with care). Thank you for all
your help!
I think other "non-API"s still need clarification. For exampl
> Michael Chirico writes:
Michael,
You may have seen that some time ago I added
check.R:cprof <- Sys.getenv("_R_CHECK_EXAMPLES_PROFILE_", "")
etc so one can use the _R_CHECK_EXAMPLES_PROFILE_ env var to specify a
profile to use when running the examples, e.g.
options(warnPartia