Comments (9)
@MichaelChirico Should we close since duplicate to #6137?
from data.table.
Sorry, I wish I could help but I have particular insight here. My world is amd64. Debian has porter teams. Maybe the Debian maintainers for data.table can help you here and contact them -- I was just trying to unplug this situation as the data.table thread of removal also threatens 10+ packages I look after.
from data.table.
cc @ben-schwen.
From the failure log, it looks like the testing environment has a strange setup?
sizeof(long double)==8,
longdouble.digits==, sizeof(pointer)==4, TZ==unset
longdouble.digits
is empty?
data.table/R/test.data.table.R
Lines 230 to 231 in cbe491f
For me that's
.Machine$longdouble.digits
# [1] 64
That test is behind if (test_longdouble)
which in turn examines capabilities("long.double")
. Any idea what might be the reason @eddelbuettel?
from data.table.
From how .Machine
is populated, it's strange to see nothing in longdouble.digits
:
That #ifdef HAVE_LONG_DOUBLE
branch is the same as populates .Machine$sizeof.longdouble
. So there should be some integer there. I don't follow what this routine is doing to define that it
value that winds up as longdouble.digits
:
https://github.com/r-devel/r-svn/blob/5c0e367225ec0ed9e1a95864302a6311708533ee/src/main/machar.c#L95
Anyway, time to follow up with the maintainers.
from data.table.
For some (but not all?) architectures we can get shell access, the table is here and the first one on the list armhf. So if guys have something testable I can probably find a moment to run a quick test.
from data.table.
Hmm just reporting back .Machine
and capabilities()
on that system would be helpful.
As a workaround we can probably just make test_longdouble
also look at length(.Machine$longdouble.digits) > 0L
also.
from data.table.
Here you go:
(sid_armhf-dchroot)edd@abel:~$ R
R version 4.4.0 (2024-04-24) -- "Puppy Cup"
Copyright (C) 2024 The R Foundation for Statistical Computing
Platform: arm-unknown-linux-gnueabihf (32-bit)
R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type 'license()' or 'licence()' for distribution details.
R is a collaborative project with many contributors.
Type 'contributors()' for more information and
'citation()' on how to cite R or R packages in publications.
Type 'demo()' for some demos, 'help()' for on-line help, or
'help.start()' for an HTML browser interface to help.
Type 'q()' to quit R.
> .Machine
$double.eps
[1] 2.220446e-16
$double.neg.eps
[1] 1.110223e-16
$double.xmin
[1] 2.225074e-308
$double.xmax
[1] 1.797693e+308
$double.base
[1] 2
$double.digits
[1] 53
$double.rounding
[1] 5
$double.guard
[1] 0
$double.ulp.digits
[1] -52
$double.neg.ulp.digits
[1] -53
$double.exponent
[1] 11
$double.min.exp
[1] -1022
$double.max.exp
[1] 1024
$integer.max
[1] 2147483647
$sizeof.long
[1] 4
$sizeof.longlong
[1] 8
$sizeof.longdouble
[1] 8
$sizeof.pointer
[1] 4
$sizeof.time_t
[1] 8
> capabilities()
jpeg png tiff tcltk X11 aqua
TRUE TRUE TRUE TRUE FALSE FALSE
http/ftp sockets libxml fifo cledit iconv
TRUE TRUE FALSE TRUE TRUE TRUE
NLS Rprof profmem cairo ICU long.double
TRUE TRUE TRUE TRUE TRUE FALSE
libcurl
TRUE
>
from data.table.
Are we sure the run in #1071737 includes #6137? From Dirks output it should be test_longdouble=FALSE
and therefore #6137 should solve this problem. This would also explain why .Machine$longdouble.digits=NULL
didn't trigger
from data.table.
The initial output (reported in Debian's bug tracker) used vanilla 1.15.0. I uploaded uesterday with the fix, builds worked (as expected) but I do not know what the cadence for the 'autopkgtest' machine is. I suspect it runs within a day.
from data.table.
Related Issues (20)
- CI complains about -Wvla flag HOT 3
- pmin() and pmax() obtains the same results HOT 11
- Add Ani as contributor to description file HOT 3
- Don't dispatch [.data.frame if !cedta(); warn/message instead
- Non-ascii symbols on systems without UTF-8 HOT 1
- yearmon back to date HOT 3
- Feature Request: `tstrsplit(... keep)` additional options
- revdeps corporaexplorer/polle fail after forder re-use key HOT 14
- encoding-related test failures on Alpine Linux HOT 2
- Consider reverting fcase recycled conditions HOT 10
- Simplify the way coercion happens for list columns in rbindlist HOT 1
- fwrite with compress="gzip" produces gz files with incorrect uncompressed file sizes HOT 9
- feature request: sql-like views HOT 1
- performance of dcast could be improved
- How to solve this issue from .() function HOT 2
- CODEOWNERS has DOS line endings HOT 1
- A Weblate instance for data.table translations? HOT 3
- Rename showProgress argument to [ HOT 10
- how to link vignettes automatically with internal links and check these links are not dead ?
- Translating "tl of class is marked" HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from data.table.