Skip to content

Possibility to force export instead of s3method in NAMESPACE #243

@skranz

Description

@skranz

I use the current roxygen2 Version 3.1.0 which seems to be current version on CRAN. I have a package stringtools (https://github.com/skranz/stringtools) that has function names like str.find, which is NOT used as an S3 method for the class str. (I agree that the naming ambiguity is a bit unfortunate, but I guess such naming ambiguity happens fairly often in R)
Older versions of roxygen2 created correct export statements in the NAMESPACE file, like:

export(str.find)

My version 3.1.0 instead creates:

S3method(str,find)

which makes my package not run properly.
Is there some way to force roxygen2 to create export statements instead of S3method statements? Otherwise, I always have to manually keep the NAMESPACE file up-to-date, which is not as convenient as it could be.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions