Skip to content

Sundials has printf statements #257

@bgoodri

Description

@bgoodri

Summary:

The Sundials code has printf statements, which cause CRAN to generate warnings for StanHeaders.

Description:

  Found 'printf', possibly from 'printf' (C)
    Objects: 'cvode/src/sundials/sundials_direct.o',
      'cvode/src/sundials/sundials_sparse.o',
      'cvode/src/nvec_ser/nvector_serial.o'
  Found 'putchar', possibly from 'putchar' (C)
    Objects: 'cvode/src/sundials/sundials_direct.o',
      'cvode/src/sundials/sundials_sparse.o',
      'cvode/src/nvec_ser/nvector_serial.o'

Reproducible Steps:

Do R CMD check on StanHeaders on Windows

Current Output:

There is no output. The printf statements are not actually called.

Expected Output:

There should be no warnings from CRAN.

Additional Information:

We have to ifdef out the printf statments like they do in CVODE.

Current Version:

v2.9.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions