Skip to content

Avoid rand() and srand() #9941

@krlmlr

Description

@krlmlr

What happens?

R doesn't like when bundled libraries use functions like rand() and srand() . The skiplist refers to those, but apparently the functions they are used in are never used themselves.

Is it safe to remove those functions? Can we do it here (preferred) or through a patching mechanism in the R package?

To Reproduce

OS:

Ubuntu 22.04

DuckDB Version:

e117c34

DuckDB Client:

Core

Full Name:

Kirill Müller

Affiliation:

cynkra GmbH

Have you tried this on the latest main branch?

I have tested with a main build

Have you tried the steps to reproduce? Do they include all relevant data and configuration? Does the issue you report still appear there?

  • Yes, I have

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions