* using log directory 'd:/RCompile/CRANincoming/R-devel/PublicWorksFinanceIT.Rcheck' * using R Under development (unstable) (2024-01-29 r85841 ucrt) * using platform: x86_64-w64-mingw32 * R was compiled by gcc.exe (GCC) 12.3.0 GNU Fortran (GCC) 12.3.0 * running under: Windows Server 2022 x64 (build 20348) * using session charset: UTF-8 * checking for file 'PublicWorksFinanceIT/DESCRIPTION' ... OK * checking extension type ... Package * this is package 'PublicWorksFinanceIT' version '0.1.0' * package encoding: UTF-8 * checking CRAN incoming feasibility ... NOTE Maintainer: 'Lorena Ricciotti ' New submission Found the following (possibly) invalid URLs: URL: https://www.istat.it/storage/codici-unita-amministrative/Elenco-comuni-italiani.xls From: man/get_data_OBDAP.Rd man/get_data_RENDIS.Rd man/get_data_region_OC.Rd man/get_data_theme_OC.Rd Status: 403 Message: Forbidden URL: https://www.openbdap.rgs.mef.gov.it/ From: DESCRIPTION Status: Error Message: Could not resolve host: www.openbdap.rgs.mef.gov.it URL: https://www.opencoesione.gov.it/en/ From: DESCRIPTION Status: Error Message: schannel: SEC_E_UNTRUSTED_ROOT (0x80090325) - Die Zertifikatkette wurde von einer nicht vertrauenswürdigen Zertifizierungsstelle ausgestellt. URL: https://www.rendis.isprambiente.it/rendisweb/ From: DESCRIPTION Status: Error Message: schannel: SNI or certificate check failed: SEC_E_WRONG_PRINCIPAL (0x80090322) - Der Zielprinzipalname ist falsch. * 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 'PublicWorksFinanceIT' can be installed ... OK * checking installed package size ... OK * checking package directory ... OK * checking for future file timestamps ... OK * checking DESCRIPTION meta-information ... OK * checking top-level files ... NOTE Non-standard files/directories found at top level: 'LICENSE.md' 'PublicWorksFinanceIT.pdf' * checking for left-over files ... OK * checking index information ... OK * checking package subdirectories ... OK * checking R 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 get_data_OBDAP: no visible binding for global variable 'COD_COMUNE' get_data_OBDAP: no visible binding for global variable 'COD_PROVINCIA' get_data_OBDAP: no visible binding for global variable 'Sottosettore Interv Inv' get_data_RENDIS: no visible binding for global variable 'COD_phase' get_data_RENDIS: no visible binding for global variable 'CUP' get_data_RENDIS: no visible binding for global variable 'Intervention' get_data_RENDIS: no visible binding for global variable 'Type' get_data_RENDIS: no visible binding for global variable 'Finance' get_data_RENDIS: no visible binding for global variable 'DEN_COMUNE' get_data_RENDIS: no visible binding for global variable 'DEN_REGIONE' get_data_RENDIS: no visible binding for global variable 'COD_REGIONE' get_data_RENDIS: no visible binding for global variable 'com_istat' get_data_RENDIS: no visible binding for global variable 'COD_PROVINCE' get_data_RENDIS: no visible binding for global variable 'DEN_PROVINCE' get_data_RENDIS: no visible binding for global variable 'BDAP_phase' get_data_RENDIS: no visible binding for global variable 'Date' get_data_RENDIS: no visible binding for global variable 'COD_COMUNE' get_data_RENDIS: no visible binding for global variable '(BDAP - Inizio progettazione definitiva)' get_data_RENDIS: no visible binding for global variable '(BDAP - fine progettazione definitiva)' get_data_region_OC: no visible binding for global variable 'DATA_INIZIO_EFF_PROG_DEF' get_data_region_OC: no visible binding for global variable 'DATA_FINE_EFF_PROG_ESEC' get_data_region_OC: no visible binding for global variable 'COD_PROVINCIA' get_data_region_OC: no visible binding for global variable 'COD_COMUNE' get_data_region_OC: no visible binding for global variable 'CUP_DESCR_SOTTOSETTORE' get_data_theme_OC: no visible binding for global variable 'OC_DATA_INIZIO_PROGETTO' get_data_theme_OC: no visible binding for global variable 'OC_DATA_FINE_PROGETTO_EFFETTIVA' get_data_theme_OC: no visible binding for global variable 'COD_REGIONE' get_data_theme_OC: no visible binding for global variable 'COD_PROVINCIA' get_data_theme_OC: no visible binding for global variable 'COD_COMUNE' get_data_theme_OC: no visible binding for global variable 'CUP_DESCR_SOTTOSETTORE' get_info_OC: no visible binding for global variable '.' merge_data: no visible global function definition for 'everything' merge_data: no visible binding for global variable 'Type' merge_data: no visible global function definition for 'across' plot_funds_bar: no visible binding for global variable 'Fonte' plot_funds_bar: no visible binding for global variable 'Ammontare Speso' plot_funds_map: no visible binding for global variable 'COD_MUNICIPALITY' plot_funds_map: no visible binding for global variable 'geom' plot_funds_map: no visible binding for global variable 'DEN_MUNICIPALITY' plot_funds_map: no visible binding for global variable 'log_tot' plot_funds_map: no visible binding for global variable 'den' plot_funds_map: no visible binding for global variable 'tot' plot_funds_points: no visible binding for global variable 'COD_MUNICIPALITY' plot_funds_points: no visible binding for global variable 'Lat' plot_funds_points: no visible binding for global variable 'Lon' plot_funds_points: no visible binding for global variable 'DEN_MUNICIPALITY' Undefined global functions or variables: (BDAP - Inizio progettazione definitiva) (BDAP - fine progettazione definitiva) . Ammontare Speso BDAP_phase COD_COMUNE COD_MUNICIPALITY COD_PROVINCE COD_PROVINCIA COD_REGIONE COD_phase CUP CUP_DESCR_SOTTOSETTORE DATA_FINE_EFF_PROG_ESEC DATA_INIZIO_EFF_PROG_DEF DEN_COMUNE DEN_MUNICIPALITY DEN_PROVINCE DEN_REGIONE Date Finance Fonte Intervention Lat Lon OC_DATA_FINE_PROGETTO_EFFETTIVA OC_DATA_INIZIO_PROGETTO Sottosettore Interv Inv Type across com_istat den everything geom log_tot tot Consider adding importFrom("base", "-") to your NAMESPACE file. * checking Rd files ... NOTE prepare_Rd: get_data_OBDAP.Rd:46-49: Dropping empty section \details prepare_Rd: get_data_OBDAP.Rd:99-101: Dropping empty section \note prepare_Rd: get_data_OBDAP.Rd:105-107: Dropping empty section \seealso prepare_Rd: get_data_RENDIS.Rd:51-53: Dropping empty section \details prepare_Rd: get_data_RENDIS.Rd:104-106: Dropping empty section \note prepare_Rd: get_data_RENDIS.Rd:110-112: Dropping empty section \seealso prepare_Rd: get_data_region_OC.Rd:47-49: Dropping empty section \details prepare_Rd: get_data_region_OC.Rd:120-122: Dropping empty section \note prepare_Rd: get_data_region_OC.Rd:126-128: Dropping empty section \seealso prepare_Rd: get_data_theme_OC.Rd:57-59: Dropping empty section \details prepare_Rd: get_data_theme_OC.Rd:126-128: Dropping empty section \note prepare_Rd: get_data_theme_OC.Rd:132-134: Dropping empty section \seealso prepare_Rd: get_info_OC.Rd:73-75: Dropping empty section \note prepare_Rd: get_type_RENDIS.Rd:14-16: Dropping empty section \arguments prepare_Rd: get_type_RENDIS.Rd:17-19: Dropping empty section \details prepare_Rd: get_type_RENDIS.Rd:41-43: Dropping empty section \note prepare_Rd: get_type_RENDIS.Rd:47-49: Dropping empty section \seealso prepare_Rd: merge_data.Rd:28-30: Dropping empty section \details prepare_Rd: merge_data.Rd:96-98: Dropping empty section \note prepare_Rd: merge_data.Rd:91-93: Dropping empty section \references prepare_Rd: merge_data.Rd:102-104: Dropping empty section \seealso prepare_Rd: plot_funds_bar.Rd:22-24: Dropping empty section \details prepare_Rd: plot_funds_bar.Rd:32-34: Dropping empty section \note prepare_Rd: plot_funds_bar.Rd:27-29: Dropping empty section \references prepare_Rd: plot_funds_bar.Rd:38-40: Dropping empty section \seealso prepare_Rd: plot_funds_map.Rd:24-25: Dropping empty section \details prepare_Rd: plot_funds_map.Rd:33-35: Dropping empty section \note prepare_Rd: plot_funds_map.Rd:28-30: Dropping empty section \references prepare_Rd: plot_funds_map.Rd:39-41: Dropping empty section \seealso prepare_Rd: plot_funds_points.Rd:23-25: Dropping empty section \details prepare_Rd: plot_funds_points.Rd:35-37: Dropping empty section \note prepare_Rd: plot_funds_points.Rd:29-31: Dropping empty section \references prepare_Rd: plot_funds_points.Rd:41-43: Dropping empty section \seealso * 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 ... [39s] ERROR Running examples in 'PublicWorksFinanceIT-Ex.R' failed The error most likely occurred in: > base::assign(".ptime", proc.time(), pos = "CheckExEnv") > ### Name: get_data_OBDAP > ### Title: Retrieve data from the OpenBDAP data base > ### Aliases: get_data_OBDAP > > ### ** Examples > > > data_17 <- get_data_OBDAP("17", geo_ref = "C") Downloaded: Progetti_Opere_Pubbliche_Region_17.csv > #Retrieve data for one region calling for the coordinates of the centroids of each municipality > > data <- get_data_OBDAP(c("02","10"), start = "2022-01-01", end = "2022-12-31") Downloaded: Progetti_Opere_Pubbliche_Region_02.csv Downloaded: Progetti_Opere_Pubbliche_Region_10.csv Warning in utils::download.file(url, "loc.csv", mode = "wb", quiet = T) : URL 'https://bdap-opendata.rgs.mef.gov.it/SpodCkanApi/api/1/rest/dataset/spd_mop_loc_mon_local_01_9999.csv': status was 'Failure when receiving data from the peer' Error in utils::download.file(url, "loc.csv", mode = "wb", quiet = T) : cannot open URL 'https://bdap-opendata.rgs.mef.gov.it/SpodCkanApi/api/1/rest/dataset/spd_mop_loc_mon_local_01_9999.csv' Calls: get_data_OBDAP -> Execution halted * checking PDF version of manual ... [13s] OK * checking HTML version of manual ... OK * DONE Status: 1 ERROR, 4 NOTEs