* using log directory 'd:/RCompile/CRANincoming/R-devel/BacenAPI.Rcheck' * using R Under development (unstable) (2025-02-20 r87772 ucrt) * using platform: x86_64-w64-mingw32 * R was compiled by gcc.exe (GCC) 13.3.0 GNU Fortran (GCC) 13.3.0 * running under: Windows Server 2022 x64 (build 20348) * using session charset: UTF-8 * checking for file 'BacenAPI/DESCRIPTION' ... OK * this is package 'BacenAPI' version '0.1.0' * package encoding: UTF-8 * checking CRAN incoming feasibility ... NOTE Maintainer: 'Lissandro Sousa ' New submission Possibly misspelled words in DESCRIPTION: BACEN (6:38) * 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 'BacenAPI' can be installed ... OK * checking installed package size ... OK * checking package directory ... OK * checking for future file timestamps ... OK * checking DESCRIPTION meta-information ... NOTE NeedsCompilation field must take value 'yes' or 'no' * 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 whether startup messages can be suppressed ... OK * checking use of S3 registration ... OK * checking dependencies in R code ... WARNING 'library' or 'require' call not declared from: 'dplyr' 'library' or 'require' call to 'dplyr' in package code. Please use :: or requireNamespace() instead. See section 'Suggested packages' in the 'Writing R Extensions' manual. * checking S3 generic/method consistency ... OK * checking replacement functions ... OK * checking foreign function calls ... OK * checking R code for possible problems ... NOTE File 'BacenAPI/R/zzz.R': .onLoad calls: library(dplyr) packageStartupMessage("Package dplyr loaded automatically..") Package startup functions should not change the search path. See section 'Good practice' in '?.onAttach'. * checking Rd files ... OK * checking Rd metadata ... OK * checking Rd line widths ... OK * checking Rd cross-references ... OK * checking for missing documentation entries ... OK * checking for code/documentation mismatches ... OK * checking Rd \usage sections ... OK * checking Rd contents ... OK * checking for unstated dependencies in examples ... OK * checking examples ... [17s] ERROR Running examples in 'BacenAPI-Ex.R' failed The error most likely occurred in: > base::assign(".ptime", proc.time(), pos = "CheckExEnv") > ### Name: bacen_api > ### Title: Connection to the Central Bank API > ### Aliases: bacen_api > > ### ** Examples > > # Example using the `httr` package: > url <- bacen_url(433, "01/01/2003", "31/12/2023") # in the format "dd/mm/yyyy" > data <- bacen_api(url, httr = TRUE) Starting connection to the Bacen API > > # Example using the `httr2` package: > data <- bacen_api(url, httr = FALSE) Starting connection to the Bacen API Error: lexical error: invalid char in json text.