Skip to content

r: Go-based drivers are warned by macOS R CMD check on R-universe #3059

@eitsupi

Description

@eitsupi

What happened?

The following warning occurs:

Warning: Check: compiled code, Result: WARNING
  File ‘adbcflightsql/libs/adbcflightsql.so’:
    Found ‘___stderrp’, possibly from ‘stderr’ (C)
      Object: ‘go/libadbc_driver_flightsql.a’
    Found ‘_abort’, possibly from ‘abort’ (C)
      Object: ‘go/libadbc_driver_flightsql.a’
    Found ‘_exit’, possibly from ‘exit’ (C)
      Object: ‘go/libadbc_driver_flightsql.a’
  
  Compiled code should not call entry points which might terminate R nor
  write to stdout/stderr instead of to the console, nor use Fortran I/O
  nor system RNGs nor [v]sprintf.
  
  See ‘Writing portable packages’ in the ‘Writing R Extensions’ manual.

https://github.com/r-universe/r-multiverse/actions/runs/15459357852/job/43517535179#step:6:118
https://github.com/r-universe/apache/actions/runs/15934153289/job/44950249028#step:6:118

This looks like the same issue to apache/arrow#45870, but I am not sure why it is only detected on macOS.

Stack Trace

No response

How can we reproduce the bug?

No response

Environment/Setup

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type: bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions