[jira] [Created] (ARROW-12179) Regression: problems saving/loading bit64::integer64

2021-04-01 Thread Ofek Shilon (Jira)
Ofek Shilon created ARROW-12179:
---

 Summary: Regression: problems saving/loading bit64::integer64
 Key: ARROW-12179
 URL: https://issues.apache.org/jira/browse/ARROW-12179
 Project: Apache Arrow
  Issue Type: Bug
  Components: R
Affects Versions: 3.0.0
 Environment: R3.4 + arrow0.17   / R4.0.4 + arrow3.0.0
Reporter: Ofek Shilon


This code worked as expected in R3.4 and arrow package v0.17:
{quote}df <- data.frame(a=bit64::as.integer64(1:10))
arrow::write_feather(x=df, sink="/home/ofek/tmp/test64")
df_read <- arrow::read_feather("/home/ofek/tmp/test64")
class(df_read$a)   # integer64
{quote}

But upgrading to R4+v3.0.0 we see that the output of class(df_read$a) is 
"integer". Stuff breaks.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Created] (ARROW-10296) [R] Data saved as integer64 loaded as integer

2020-10-13 Thread Ofek Shilon (Jira)
Ofek Shilon created ARROW-10296:
---

 Summary: [R] Data saved as integer64 loaded as integer
 Key: ARROW-10296
 URL: https://issues.apache.org/jira/browse/ARROW-10296
 Project: Apache Arrow
  Issue Type: Bug
  Components: R
Affects Versions: 1.0.1
 Environment: R3.6.1, arrow 1.0.1, bit64 4.0.5

full sessionIfno():

R version 3.6.1 (2019-07-05)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows 10 x64 (build 19041)

Matrix products: default

locale:
[1] LC_COLLATE=English_United States.1252  LC_CTYPE=English_United States.1252  
  LC_MONETARY=English_United States.1252
[4] LC_NUMERIC=C   LC_TIME=English_United States.1252   
 

attached base packages:
[1] stats graphics  grDevices utils datasets  methods   base 

loaded via a namespace (and not attached):
 [1] Rcpp_1.0.5   fansi_0.4.1  arrow_1.0.1  dplyr_1.0.2  
crayon_1.3.4 assertthat_0.2.1 R6_2.4.1 lifecycle_0.2.0 
 [9] magrittr_1.5 pillar_1.4.6 cli_2.0.2rlang_0.4.7  
rstudioapi_0.11  generics_0.0.2   vctrs_0.3.4  ellipsis_0.3.1  
[17] tools_3.6.1  bit64_4.0.5  feather_0.3.5glue_1.4.2   
purrr_0.3.4  bit_4.0.4hms_0.5.3compiler_3.6.1  
[25] pkgconfig_2.0.3  tidyselect_1.1.0 tibble_3.0.3
Reporter: Ofek Shilon


{{> v <- bit64::as.integer64(1:10)}}
{{> v <- as.integer64(1:10)}}
{{> df <- data.frame(v=v)}}
{{> class(df$v)
}}{{[1] "*integer64*"
> arrow::write_feather(df, "./tmp")}}
{{> df2 <- arrow::read_feather("./tmp")}}
{{> class(df2$v)}}
{{[1] "*integer*"}}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Created] (ARROW-9953) R package missing dependencies versions

2020-09-09 Thread Ofek Shilon (Jira)
Ofek Shilon created ARROW-9953:
--

 Summary: R package missing dependencies versions
 Key: ARROW-9953
 URL: https://issues.apache.org/jira/browse/ARROW-9953
 Project: Apache Arrow
  Issue Type: Bug
  Components: R
Affects Versions: 1.0.1
 Environment: R3.4, linux, bit64 0.9-5 pre-installed
Reporter: Ofek Shilon


The DESCRIPTION file lists -

{{ Imports:}}
{{ {{  assertthat,
{{ {{  bit64,
{{ {{  ...

However for us (R3.4 over linux, with various old package versions installed) 
the installation fails. The error message is

{{Error : object 'str.integer64' is not exported by 'namespace:bit64'}}
{{ERROR: lazy loading failed for package 'arrow'}}

 We believe that 'bit64' in the Imports section should have been 'bit64 (>= 
0.9-7)', as previous versions of bit64 do not export 'str.integer64'.

 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Created] (ARROW-9932) R package fails to install on Ubuntu 14

2020-09-07 Thread Ofek Shilon (Jira)
Ofek Shilon created ARROW-9932:
--

 Summary: R package fails to install on Ubuntu 14
 Key: ARROW-9932
 URL: https://issues.apache.org/jira/browse/ARROW-9932
 Project: Apache Arrow
  Issue Type: Bug
  Components: R
Affects Versions: 1.0.1
 Environment: R version 3.4.0 (2015-04-16)
Platform: x86_64-pc-linux-gnu (64-bit)
Running under: Ubuntu 14.04.5 LTS
Reporter: Ofek Shilon


1. From R (3.4) prompt, we run

{{> install.packages("arrow")}}

and it seems to succeed.

2. Next we run:

{{> arrow::install_arrow()}}

This is the full output:

{{Installing package into '/opt/R-3.4.0.mkl/library'}}
{{(as 'lib' is unspecified)}}
{{trying URL 'https://cloud.r-project.org/src/contrib/arrow_1.0.1.tar.gz'}}
{{Content type 'application/x-gzip' length 274865 bytes (268 KB)}}
{{==}}
{{downloaded 268 KBinstalling *source* package 'arrow' ...}}
{{** package 'arrow' successfully unpacked and MD5 sums checked}}
{{*** No C++ binaries found for ubuntu-14.04}}
{{*** Successfully retrieved C++ source}}
{{*** Building C++ libraries}}
{{ cmake}}
{{Error in dQuote(env_var_list, FALSE) : unused argument (FALSE)}}
{{Calls: build_libarrow -> paste}}
{{Execution halted}}
{{- NOTE ---}}
{{After installation, please run arrow::install_arrow()}}
{{for help installing required runtime libraries}}
{{-}}
{{** libs}}
{{g++ -std=gnu++0x -I/opt/R-3.4.0.mkl/lib64/R/include -DNDEBUG 
-I"/opt/R-3.4.0.mkl/library/Rcpp/include" -I/usr/local/include -fpic 
-march=x86-64 -O3 -c array.cpp -o array.o}}
{{g++ -std=gnu++0x -I/opt/R-3.4.0.mkl/lib64/R/include -DNDEBUG 
-I"/opt/R-3.4.0.mkl/library/Rcpp/include" -I/usr/local/include -fpic 
-march=x86-64 -O3 -c array_from_vector.cpp -o array_from_vector.o}}
{{g++ -std=gnu++0x -I/opt/R-3.4.0.mkl/lib64/R/include -DNDEBUG 
-I"/opt/R-3.4.0.mkl/library/Rcpp/include" -I/usr/local/include -fpic 
-march=x86-64 -O3 -c array_to_vector.cpp -o array_to_vector.o}}
{{g++ -std=gnu++0x -I/opt/R-3.4.0.mkl/lib64/R/include -DNDEBUG 
-I"/opt/R-3.4.0.mkl/library/Rcpp/include" -I/usr/local/include -fpic 
-march=x86-64 -O3 -c arraydata.cpp -o arraydata.o}}
{{g++ -std=gnu++0x -I/opt/R-3.4.0.mkl/lib64/R/include -DNDEBUG 
-I"/opt/R-3.4.0.mkl/library/Rcpp/include" -I/usr/local/include -fpic 
-march=x86-64 -O3 -c arrowExports.cpp -o arrowExports.o}}
{{g++ -std=gnu++0x -I/opt/R-3.4.0.mkl/lib64/R/include -DNDEBUG 
-I"/opt/R-3.4.0.mkl/library/Rcpp/include" -I/usr/local/include -fpic 
-march=x86-64 -O3 -c buffer.cpp -o buffer.o}}
{{g++ -std=gnu++0x -I/opt/R-3.4.0.mkl/lib64/R/include -DNDEBUG 
-I"/opt/R-3.4.0.mkl/library/Rcpp/include" -I/usr/local/include -fpic 
-march=x86-64 -O3 -c chunkedarray.cpp -o chunkedarray.o}}
{{g++ -std=gnu++0x -I/opt/R-3.4.0.mkl/lib64/R/include -DNDEBUG 
-I"/opt/R-3.4.0.mkl/library/Rcpp/include" -I/usr/local/include -fpic 
-march=x86-64 -O3 -c compression.cpp -o compression.o}}
{{g++ -std=gnu++0x -I/opt/R-3.4.0.mkl/lib64/R/include -DNDEBUG 
-I"/opt/R-3.4.0.mkl/library/Rcpp/include" -I/usr/local/include -fpic 
-march=x86-64 -O3 -c compute.cpp -o compute.o}}
{{g++ -std=gnu++0x -I/opt/R-3.4.0.mkl/lib64/R/include -DNDEBUG 
-I"/opt/R-3.4.0.mkl/library/Rcpp/include" -I/usr/local/include -fpic 
-march=x86-64 -O3 -c csv.cpp -o csv.o}}{{g++ -std=gnu++0x 
-I/opt/R-3.4.0.mkl/lib64/R/include -DNDEBUG 
-I"/opt/R-3.4.0.mkl/library/Rcpp/include" -I/usr/local/include -fpic 
-march=x86-64 -O3 -c dataset.cpp -o dataset.o}}
{{g++ -std=gnu++0x -I/opt/R-3.4.0.mkl/lib64/R/include -DNDEBUG 
-I"/opt/R-3.4.0.mkl/library/Rcpp/include" -I/usr/local/include -fpic 
-march=x86-64 -O3 -c datatype.cpp -o datatype.o}}
{{g++ -std=gnu++0x -I/opt/R-3.4.0.mkl/lib64/R/include -DNDEBUG 
-I"/opt/R-3.4.0.mkl/library/Rcpp/include" -I/usr/local/include -fpic 
-march=x86-64 -O3 -c expression.cpp -o expression.o}}
{{g++ -std=gnu++0x -I/opt/R-3.4.0.mkl/lib64/R/include -DNDEBUG 
-I"/opt/R-3.4.0.mkl/library/Rcpp/include" -I/usr/local/include -fpic 
-march=x86-64 -O3 -c feather.cpp -o feather.o}}
{{g++ -std=gnu++0x -I/opt/R-3.4.0.mkl/lib64/R/include -DNDEBUG 
-I"/opt/R-3.4.0.mkl/library/Rcpp/include" -I/usr/local/include -fpic 
-march=x86-64 -O3 -c field.cpp -o field.o}}
{{g++ -std=gnu++0x -I/opt/R-3.4.0.mkl/lib64/R/include -DNDEBUG 
-I"/opt/R-3.4.0.mkl/library/Rcpp/include" -I/usr/local/include -fpic 
-march=x86-64 -O3 -c filesystem.cpp -o filesystem.o}}
{{g++ -std=gnu++0x -I/opt/R-3.4.0.mkl/lib64/R/include -DNDEBUG 
-I"/opt/R-3.4.0.mkl/library/Rcpp/include" -I/usr/local/include -fpic 
-march=x86-64 -O3 -c imports.cpp -o imports.o}}
{{g++ -std=gnu++0x -I/opt/R-3.4.0.mkl/lib64/R/include -DNDEBUG 
-I"/opt/R-3.4.0.mkl/library/Rcpp/include" -I/usr/local/include -fpic 
-march=x86-64 -O3 -c io.cpp -o io.o}}
{{g++ -std=gnu++0x -I/opt/R-3.4.0.mkl/lib64/R/include -DNDEBUG