danicat / read.dbc

An R package for reading data in the DBC (compressed DBF) format used by DATASUS.
69 stars 29 forks source link

Impeding CRAN archival on 2024-07-06 #15

Open rfsaldanha opened 4 months ago

rfsaldanha commented 4 months ago

Hi Daniela, I believe you also received a message from CRAN with an impeding archival due to check problems.

The error occurs in the example below and is related to the blas library, but I can´t reproduce it locally.

blast.c:362:29: runtime error: load of address 0x7fbced194f40 with insufficient space for an object of type 'unsigned char'

Are you able to reproduce this error?

# Input file name
input  <- system.file("files/sids.dbc", package = "read.dbc")

# Output file name
output <- tempfile(fileext = ".dbc")

# The call returns TRUE on success
if( dbc2dbf(input.file = input, output.file = output) ) {
     print("File decompressed!")
     # do things with the file
}

file.remove(output) # clean up example, don't do in real life :)
danicat commented 4 months ago

I was never able to reproduce it and they are not very helpful in providing the steps they use to create the specific report tha shows the failure, so at this point I'm considering abandoning CRAN support and make the devtools installation the default unless someone has a better idea on how to diagnose / solve this.