Displaying 8 results from an estimated 8 matches for "env_list".
Did you mean:
end_list
2020 Jun 30
4
R-devel internal errors during check produce?
...on Tue, 30 Jun 2020 06:20:57 +0200 writes:
>>>>> Jan Gorecki writes:
>> Thank you both, You are absolutely correct that example
>> should be minimal, so here it is.
>> l = list(a=new.env(), b=new.env()) unique(l)
>> Just for completeness, env_list during check that raises
>> error
>> env_list <- list(baseenv(),
>> as.environment("package:graphics"),
>> as.environment("package:stats"),
>> as.environment("package:utils"),
>> as.environment(&qu...
2020 Jun 29
2
R-devel internal errors during check produce?
Thank you both,
You are absolutely correct that example should be minimal, so here it is.
l = list(a=new.env(), b=new.env())
unique(l)
Just for completeness, env_list during check that raises error
env_list <- list(baseenv(),
as.environment("package:graphics"),
as.environment("package:stats"),
as.environment("package:utils"),
as.environment("package:methods")
)
unique(env_list)
Best regards,
Jan
On Mon, Jun 2...
2020 Jun 29
2
R-devel internal errors during check produce?
>>>>> Jan Gorecki writes:
> So the unique.default is from the R tools package during checks.
> I don't see those issues on CRAN checks.
I cannot reproduce this locally (and have no clues about docker).
Perhaps you can try to debug this on your end? And see what env_list is
when the error occurs?
Best
-k
> Exact environment where I am reproducing this issue is a fresh ubuntu,
> no R packages pre-installed
> docker pull registry.gitlab.com/jangorecki/dockerfiles/r-devel
> https://gitlab.com/jangorecki/dockerfiles/-/raw/master/r-devel/Dockerfile
>...
2020 Jun 30
0
R-devel internal errors during check produce?
>>>>> Jan Gorecki writes:
> Thank you both,
> You are absolutely correct that example should be minimal, so here it is.
> l = list(a=new.env(), b=new.env())
> unique(l)
> Just for completeness, env_list during check that raises error
> env_list <- list(baseenv(),
> as.environment("package:graphics"),
> as.environment("package:stats"),
> as.environment("package:utils"),
> as.environment("package:methods")
> )
> unique(env_list...
2020 Jun 26
2
R-devel internal errors during check produce?
...8d56050881a5465
I think this may be a regression. I grep'ed package manuals and R code
for unique.default but don't see any. Usage section of the unique
method looks fine as well. Errors look a little bit like internal
errors.
* checking Rd \usage sections ... NOTE
Error in unique.default(env_list) :
LENGTH or similar applied to environment object
Calls: <Anonymous> ... .get_S3_generics_as_seen_from_package ->
unique -> unique.default
Execution halted
The \usage entries for S3 methods should use the \method markup and not
their full name.
* checking S3 generic/method cons...
2020 Jun 30
0
R-devel internal errors during check produce?
...writes:
>
> >>>>> Jan Gorecki writes:
> >> Thank you both, You are absolutely correct that example
> >> should be minimal, so here it is.
>
> >> l = list(a=new.env(), b=new.env()) unique(l)
>
> >> Just for completeness, env_list during check that raises
> >> error
>
> >> env_list <- list(baseenv(),
> >> as.environment("package:graphics"),
> >> as.environment("package:stats"),
> >> as.environment("package:utils"),
>...
2020 Jun 29
0
R-devel internal errors during check produce?
...writes:
>> So the unique.default is from the R tools package during
>> checks. I don't see those issues on CRAN checks.
> I cannot reproduce this locally (and have no clues about
> docker). Perhaps you can try to debug this on your end?
> And see what env_list is when the error occurs?
> Best -k
Indeed, if it is a bug in R (as opposed to being an assumption
that 'data.table' makes about undocumented R internals), it
should be reproducible with a very small dummy package instead
of data.table. ... or actually reproducible with relatively...
2020 Jun 27
0
R-devel internal errors during check produce?
...may be a regression. I grep'ed package manuals and R code
> for unique.default but don't see any. Usage section of the unique
> method looks fine as well. Errors look a little bit like internal
> errors.
>
> * checking Rd \usage sections ... NOTE
> Error in unique.default(env_list) :
> LENGTH or similar applied to environment object
> Calls: <Anonymous> ... .get_S3_generics_as_seen_from_package ->
> unique -> unique.default
> Execution halted
> The \usage entries for S3 methods should use the \method markup and not
> their full name.
>...