Skip to content

name clash of as.character.dev_topic() (package 'generic') #286

@lschneiderbauer

Description

@lschneiderbauer

Hi, I noticed that there seems to be a name clash w.r.t. the S3 method as.character.dev_topic()

#> Registered S3 method overwritten by 'butcher':
#>   method                 from    
#>   as.character.dev_topic generics

which occurs when both packages are loaded:

library(generics)
#> 
#> Attache Paket: 'generics'
#> Die folgenden Objekte sind maskiert von 'package:base':
#> 
#>     as.difftime, as.factor, as.ordered, intersect, is.element, setdiff,
#>     setequal, union
library(butcher)
#> Warning: Paket 'butcher' wurde unter R Version 4.4.3 erstellt
#> Registered S3 method overwritten by 'butcher':
#>   method                 from    
#>   as.character.dev_topic generics

Created on 2025-05-12 with reprex v2.1.1

In my case it appears because a package of mine imports both packages. When loading the package this message appears.

Is this something we should worry about, or this intentional, and this message can be ignored?

Metadata

Metadata

Assignees

No one assigned

    Labels

    upkeepmaintenance, infrastructure, and similar

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions