* using log directory 'd:/RCompile/CRANincoming/R-devel/fableCount.Rcheck' * using R version 4.4.0 alpha (2024-03-31 r86238 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 'fableCount/DESCRIPTION' ... OK * checking extension type ... Package * this is package 'fableCount' version '0.1.0' * package encoding: UTF-8 * checking CRAN incoming feasibility ... NOTE Maintainer: 'Gustavo Almeida ' New submission Possibly misspelled words in DESCRIPTION: GLARMA (3:20, 5:130) INGARCH (3:8, 5:80) * 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 whether package 'fableCount' 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 Description field: should contain one or more complete sentences. * checking top-level files ... OK * 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 ... WARNING '::' or ':::' imports not declared from: 'lubridate' 'stringr' Packages in Depends field not imported from: 'fabletools' 'glarma' 'tscount' 'tsibbledata' These packages need to be imported from (in the NAMESPACE file) for when this namespace is loaded but not attached. * checking S3 generic/method consistency ... OK * checking replacement functions ... OK * checking foreign function calls ... OK * checking R code for possible problems ... NOTE GLARMA: no visible global function definition for 'new_model_class' GLARMA: no visible global function definition for 'new_model_definition' INGARCH: no visible global function definition for 'new_model_class' INGARCH: no visible global function definition for 'new_model_definition' arma_to_glarma: no visible global function definition for 'model' arma_to_glarma: no visible binding for global variable 'time_index' arma_to_glarma: no visible global function definition for 'ARIMA' arma_to_glarma: no visible binding for global variable 'y_var' arma_to_glarma: no visible global function definition for 'tidy' arma_to_glarma: no visible binding for global variable 'term' arma_to_glarma: no visible binding for global variable 'id' arma_to_ingarch: no visible global function definition for 'model' arma_to_ingarch: no visible binding for global variable 'time_index' arma_to_ingarch: no visible global function definition for 'ARIMA' arma_to_ingarch: no visible binding for global variable 'y_var' arma_to_ingarch: no visible global function definition for 'tidy' arma_to_ingarch: no visible binding for global variable 'term' arma_to_ingarch: no visible binding for global variable 'id' predict_call_tsglm : qdistr_mod: no visible global function definition for 'qdistr' predict_call_tsglm : qdistr_mod: no visible global function definition for 'pdistr' predict_call_tsglm: no visible global function definition for 'qdistr' predict_call_tsglm : : no visible global function definition for 'ddistr' predict_call_tsglm: no visible global function definition for 'simcoefs' predict_call_tsglm : simfunc: no visible global function definition for 'tsglm.sim' report.GLARMA: no visible global function definition for 'tidy' report.GLARMA: no visible binding for global variable 'statistic' report.INGARCH: no visible binding for global variable 'term' report.INGARCH: no visible binding for global variable 'statistic' split_tibble: no visible global function definition for 'as_tibble' tidy.GLARMA: no visible binding for global variable 'value' tidy.GLARMA: no visible binding for global variable 'term' tidy.INGARCH: no visible binding for global variable 'term' train_INGARCH: no visible binding for global variable 'algorithm' Undefined global functions or variables: ARIMA algorithm as_tibble ddistr id model new_model_class new_model_definition pdistr qdistr simcoefs statistic term tidy time_index tsglm.sim value y_var * checking Rd files ... OK * checking Rd metadata ... OK * checking Rd line widths ... NOTE Rd file 'INGARCH.Rd': \examples lines wider than 100 characters: fabletools::model(auto_ing_naive = INGARCH(Beer, ic = 'aic', trace = T, algorithm = 'naive_search'), auto_ing_arm_ing = INGARCH(Beer, ic = 'aic', trace = T, algorithm = 'arma_to_ingarch')) These lines will be truncated in the PDF manual. * checking Rd cross-references ... OK * checking for missing documentation entries ... WARNING Undocumented code objects: 'arma_to_glarma' 'arma_to_ingarch' 'clean_params' 'g' 'g_inv' 'g_inv_1st' 'g_inv_2nd' 'glarma_call' 'ingarch_tscall' 'matrix_to_list' 'model_sum.GLARMA' 'model_sum.INGARCH' 'naive_search' 'predict_call_tsglm' 'report.GLARMA' 'report.INGARCH' 'specials_GLARMA' 'specials_INGARCH' 'split_tibble' 'trafo' 'trafo_inv' 'train_GLARMA' 'train_INGARCH' 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 ... OK * checking examples ... ERROR Running examples in 'fableCount-Ex.R' failed The error most likely occurred in: > base::assign(".ptime", proc.time(), pos = "CheckExEnv") > ### Name: GLARMA > ### Title: Estimate a GLARMA model > ### Aliases: GLARMA > > ### ** Examples > > # Manual GLARMA specification > tsibbledata::aus_production |> + fabletools::model(manual_gla = GLARMA(Beer ~ pq(1,0))) [1] 1 0 # A mable: 1 x 1 manual_gla 1 > > # Automatic GLARMA specification > tsibbledata::aus_production |> + fabletools::model(auto_gla = GLARMA(Beer, ic = 'AIC')) Error in match.arg(ic) : 'arg' should be one of "aic", "bic" Calls: -> model.tbl_ts -> dots_list -> GLARMA -> match.arg Execution halted * checking PDF version of manual ... [13s] OK * checking HTML version of manual ... OK * DONE Status: 1 ERROR, 2 WARNINGs, 4 NOTEs