Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test.data.table() fails on my machine #4472

Closed
MichaelChirico opened this issue May 22, 2020 · 0 comments · Fixed by #4473
Closed

test.data.table() fails on my machine #4472

MichaelChirico opened this issue May 22, 2020 · 0 comments · Fixed by #4473

Comments

@MichaelChirico
Copy link
Member

This has been happening for a while, I'm finally just filing the issue.

failed output:

Running test id 2137.04      Test 2137.04 ran without errors but failed check that x equals y:
> x = TRUE 
First 1 of 1 (type 'logical'): 
[1] TRUE
> y = DT[, all(round(hour31, "hours") == as.ITime(c("07:00", "08:00",      "08:00", "09:00", "09:00", "10:00", "10:00", "11:00", "11:00")))] 
First 1 of 1 (type 'logical'): 
[1] FALSE
1 element mismatch
Running test id 2137.06      Test 2137.06 ran without errors but failed check that x equals y:
> x = TRUE 
First 1 of 1 (type 'logical'): 
[1] TRUE
> y = DT[, all(round(minute31, "minutes") == as.ITime(c("07:00:00",      "07:01:00", "07:01:00", "07:02:00", "07:02:00", "07:03:00",      "07:03:00", "07:04:00", "07:04:00")))] 
First 1 of 1 (type 'logical'): 
[1] FALSE
1 element mismatch
Running test id 2137.07      Test 2137.07 ran without errors but failed check that x equals y:
> x = TRUE 
First 1 of 1 (type 'logical'): 
[1] TRUE
> y = DT[, all(trunc(hour30, "hours") == as.ITime(c("07:00", "07:00",      "08:00", "08:00", "09:00", "09:00", "10:00", "10:00", "11:00")))] 
First 1 of 1 (type 'logical'): 
[1] FALSE
1 element mismatch
Running test id 2137.08      Test 2137.08 ran without errors but failed check that x equals y:
> x = TRUE 
First 1 of 1 (type 'logical'): 
[1] TRUE
> y = DT[, all(trunc(hour31, "hours") == as.ITime(c("07:00", "07:00",      "08:00", "08:00", "09:00", "09:00", "10:00", "10:00", "11:00")))] 
First 1 of 1 (type 'logical'): 
[1] FALSE
1 element mismatch
Running test id 2137.09      Test 2137.09 ran without errors but failed check that x equals y:
> x = TRUE 
First 1 of 1 (type 'logical'): 
[1] TRUE
> y = DT[, all(trunc(minute30, "minutes") == as.ITime(c("07:00:00",      "07:00:00", "07:01:00", "07:01:00", "07:02:00", "07:02:00",      "07:03:00", "07:03:00", "07:04:00")))] 
First 1 of 1 (type 'logical'): 
[1] FALSE
1 element mismatch
Running test id 2137.1      Test 2137.1 ran without errors but failed check that x equals y:
> x = TRUE 
First 1 of 1 (type 'logical'): 
[1] TRUE
> y = DT[, all(trunc(minute31, "minutes") == as.ITime(c("07:00:00",      "07:00:00", "07:01:00", "07:01:00", "07:02:00", "07:02:00",      "07:03:00", "07:03:00", "07:04:00")))] 
First 1 of 1 (type 'logical'): 
[1] FALSE
1 element mismatch
Running test id 2138.4      
Fri May 22 07:49:28 2020  endian==little, sizeof(long double)==16, sizeof(pointer)==8, TZ=Asia/Kuala_Lumpur, locale='C/UTF-8/C/C/C/C', l10n_info()='MBCS=TRUE; UTF-8=TRUE; Latin-1=FALSE', getDTthreads()='omp_get_num_procs()==8; R_DATATABLE_NUM_PROCS_PERCENT==unset (default 50); R_DATATABLE_NUM_THREADS==unset; omp_get_thread_limit()==2147483647; omp_get_max_threads()==8; OMP_THREAD_LIMIT==unset; OMP_NUM_THREADS==unset; RestoreAfterFork==true; data.table is using 4 threads. See ?setDTthreads.'
 test.data.table() でエラー: 
  6 errors out of 9883. Search tests/tests.Rraw for test numbers: 2137.04, 2137.06, 2137.07, 2137.08, 2137.09, 2137.1.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants