* using log directory 'd:/RCompile/CRANincoming/R-devel/fermatdistance.Rcheck' * using R Under development (unstable) (2024-08-21 r87038 ucrt) * using platform: x86_64-w64-mingw32 * R was compiled by gcc.exe (GCC) 13.2.0 GNU Fortran (GCC) 13.2.0 * running under: Windows Server 2022 x64 (build 20348) * using session charset: UTF-8 * checking for file 'fermatdistance/DESCRIPTION' ... OK * this is package 'fermatdistance' version '0.4.0' * package encoding: UTF-8 * checking CRAN incoming feasibility ... NOTE Maintainer: 'Diego Batt ' New submission Non-FOSS package license (`use_mit_license()`) The Title field should be in title case. Current version is: 'Package for computing Fermat distances' In title case that is: 'Package for Computing Fermat Distances' * checking package namespace information ... NOTE Found export directive that requires package 'methods': 'exportClasses' Remove all such namespace directives (if obsolete) or ensure that the DESCRIPTION Depends or Imports field contains 'methods'. * checking package dependencies ... OK * checking if this is a source package ... OK * checking if there is a namespace ... OK * checking for hidden files and directories ... OK * checking for portable file names ... OK * checking serialization versions ... OK * checking whether package 'fermatdistance' can be installed ... OK * checking installed package size ... OK * checking package directory ... OK * checking for future file timestamps ... OK * checking DESCRIPTION meta-information ... WARNING Non-standard license specification: `use_mit_license()` Standardizable: FALSE * checking top-level files ... NOTE File LICENSE is not mentioned in the DESCRIPTION file. * checking for left-over files ... OK * checking index information ... OK * checking package subdirectories ... OK * checking code files for non-ASCII characters ... OK * checking R files for syntax errors ... OK * checking whether the package can be loaded ... OK * checking whether the package can be loaded with stated dependencies ... OK * checking whether the package can be unloaded cleanly ... OK * checking whether the namespace can be loaded with stated dependencies ... OK * checking whether the namespace can be unloaded cleanly ... OK * checking loading without being on the library search path ... OK * checking use of S3 registration ... OK * checking dependencies in R code ... NOTE package 'methods' is used but not declared * checking S3 generic/method consistency ... WARNING as.matrix: function(x, ...) as.matrix.fermatDistance: function(object) See section 'Generic functions and methods' in the 'Writing R Extensions' manual. * checking replacement functions ... OK * checking foreign function calls ... OK * checking R code for possible problems ... NOTE fermatDistance: no visible global function definition for 'new' fermat_dist: no visible global function definition for 'dist' fermat_dist: no visible global function definition for 'new' Undefined global functions or variables: dist new Consider adding importFrom("methods", "new") importFrom("stats", "dist") to your NAMESPACE file (and ensure that your DESCRIPTION Imports field contains 'methods'). * checking for missing documentation entries ... WARNING Undocumented code objects: 'distance' 'fermatDistance' 'fermat_dist' All user-level objects in a package should have documentation entries. See chapter 'Writing R documentation files' in the 'Writing R Extensions' manual. * checking examples ... NONE * checking for unstated dependencies in 'tests' ... OK * checking tests ... OK Running 'testthat.R' * checking PDF version of manual ... [13s] OK * DONE Status: 3 WARNINGs, 5 NOTEs