Bug 16637 - R CMD check false-positive for generics with dot
Summary: R CMD check false-positive for generics with dot
Status: UNCONFIRMED
Alias: None
Product: R
Classification: Unclassified
Component: Low-level (show other bugs)
Version: R 3.2.2
Hardware: All All
: P5 minor
Assignee: R-core
URL:
Depends on:
Blocks:
 
Reported: 2015-12-18 20:47 UTC by Andreas Eckner
Modified: 2015-12-18 20:47 UTC (History)
0 users

See Also:


Attachments
Source package for illustration (834 bytes, application/x-gzip)
2015-12-18 20:47 UTC, Andreas Eckner
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Andreas Eckner 2015-12-18 20:47:19 UTC
Created attachment 1947 [details]
Source package for illustration

'R CMD check' produces two false-positive NOTEs when using a generic function that contains a dot:
1.) "Found the following apparent S3 methods exported but not registered"
2.) "S3 methods shown with full name in documentation object"

For easy replication, I have created an R package (https://github.com/andreas50/bug_report_R_CMD_check), which is also attached as a source package.

The package consists of the generic function print.nice() and the default method print.nice.default(). Running 'R CMD check' produces the two NOTEs mentioned above.


---

platform       "x86_64-w64-mingw32"          
arch           "x86_64"                      
os             "mingw32"                     
system         "x86_64, mingw32"             
status         ""                            
major          "3"                           
minor          "2.3"                         
year           "2015"                        
month          "12"                          
day            "10"                          
svn rev        "69752"                       
language       "R"                           
version.string "R version 3.2.3 (2015-12-10)"
nickname       "Wooden Christmas-Tree"