* using log directory 'd:/RCompile/CRANincoming/R-devel/PerRegMod.Rcheck' * using R Under development (unstable) (2024-11-05 r87288 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 'PerRegMod/DESCRIPTION' ... OK * checking extension type ... Package * this is package 'PerRegMod' version '4.4.1' * package encoding: UTF-8 * checking CRAN incoming feasibility ... NOTE Maintainer: 'Regui Slimane ' New submission License components with restrictions and base license permitting such: MIT + file LICENSE Possibly misspelled words in DESCRIPTION: PerRegMod (4:8) Unknown, possibly misspelled, fields in DESCRIPTION: 'Import' 'ULR' No Authors@R field in DESCRIPTION. Please add one, modifying Authors@R: c(person(given = c("c,comment", "=", "c(ORCID", "="), family = "\"0000-0002-3696-1300\"))", role = "aut", comment = "ORCID = \"0000-0002-3696-1300\""), person(given = c("person),person(\"Mellouk\",", "\"Amal\",role", "=", "c(\"aut\","), family = "\"cre\")))", role = "aut", comment = "\"aut\", \"cre\""), person(given = "Regui", family = "Slimane", role = "cre", email = "slimaneregui111997@gmail.com")) as necessary. Author field should be Authors@R. Current value is: c(person("Regui", "Slimane", email = "slimane.regui@etu.uae.ac.ma", role = c("aut", "cre"),comment = c(ORCID = "0000-0002-3696-1300")), person("Akharif", "Abdelhadi",role = c("aut", "cre")),person("Mellouk", "Amal",role = c("aut", "cre"))) The Title field starts with the package name. The Title field should be in title case. Current version is: 'PerRegMod: Fitting periodic coefficients Linear regression models.' In title case that is: 'PerRegMod: Fitting Periodic Coefficients Linear Regression Models.' The Description field should not start with the package name, 'This package' or similar. * checking package namespace information ... OK * 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 'PerRegMod' can be installed ... OK * checking installed package size ... OK * checking package directory ... OK * checking for future file timestamps ... OK * checking DESCRIPTION meta-information ... NOTE Malformed Title field: should not end in a period. Invalid license file pointers: LICENSE * checking top-level files ... NOTE Non-standard files/directories found at top level: 'CITATION' 'references.bib' 'weather_data_casablanca-settat.xlsx' * checking for left-over files ... OK * checking index information ... OK * checking package subdirectories ... NOTE Found the following CITATION file in a non-standard place: CITATION Most likely 'inst/CITATION' should be used instead. * 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 ... OK * checking S3 generic/method consistency ... OK * checking replacement functions ... OK * checking foreign function calls ... OK * checking R code for possible problems ... NOTE check_periodicity: no visible global function definition for 'pchisq' lm_per: no visible global function definition for 'quantile' lm_per_AE: no visible global function definition for 'quantile' phi_n: no visible binding for global variable 'z' pseudo_gaussian_test: no visible global function definition for 'sqrtm' Undefined global functions or variables: pchisq quantile sqrtm z Consider adding importFrom("stats", "pchisq", "quantile") to your NAMESPACE file. * checking Rd files ... OK * checking Rd metadata ... OK * checking Rd line widths ... OK * checking Rd cross-references ... OK * checking for missing documentation entries ... WARNING Undocumented code objects: 'phi_gaussian' 'psi_gaussian' All user-level objects in a package should have documentation entries. See chapter 'Writing R documentation files' in the 'Writing R Extensions' manual. * checking for code/documentation mismatches ... OK * checking Rd \usage sections ... OK * checking Rd contents ... OK * checking for unstated dependencies in examples ... WARNING 'library' or 'require' call not declared from: 'expm' * checking examples ... ERROR Running examples in 'PerRegMod-Ex.R' failed The error most likely occurred in: > base::assign(".ptime", proc.time(), pos = "CheckExEnv") > ### Name: check_periodicity > ### Title: Checking the periodicity of parameters in the regression model > ### Aliases: check_periodicity > > ### ** Examples > > library(expm) Error in library(expm) : there is no package called 'expm' Execution halted * checking for unstated dependencies in 'tests' ... WARNING 'library' or 'require' calls not declared from: 'expm' 'readxl' 'sn' * checking tests ... ERROR Running 'test.R' Running the tests in 'tests/test.R' failed. Complete output: > > #""""""""""""""""""""""""Detecting periodicity > library(PerRegMod) > library(expm) Error in library(expm) : there is no package called 'expm' Execution halted * checking PDF version of manual ... [13s] OK * checking HTML version of manual ... OK * DONE Status: 2 ERRORs, 3 WARNINGs, 5 NOTEs