* using log directory 'd:/RCompile/CRANincoming/R-devel/DisasterAlert.Rcheck' * using R Under development (unstable) (2025-07-11 r88405 ucrt) * using platform: x86_64-w64-mingw32 * R was compiled by gcc.exe (GCC) 14.2.0 GNU Fortran (GCC) 14.2.0 * running under: Windows Server 2022 x64 (build 20348) * using session charset: UTF-8 * checking for file 'DisasterAlert/DESCRIPTION' ... OK * checking extension type ... Package * this is package 'DisasterAlert' version '1.0.0' * package encoding: UTF-8 * checking CRAN incoming feasibility ... NOTE Maintainer: 'Leila Marvian Mashhad ' New submission Possibly misspelled words in DESCRIPTION: lifecycle (29:104) * 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 'DisasterAlert' can be installed ... WARNING Found the following significant warnings: Warning: replacing previous import 'ggplot2::last_plot' by 'plotly::last_plot' when loading 'DisasterAlert' Warning: replacing previous import 'dplyr::filter' by 'stats::filter' when loading 'DisasterAlert' See 'd:/RCompile/CRANincoming/R-devel/DisasterAlert.Rcheck/00install.out' for details. * checking installed package size ... OK * checking package directory ... OK * checking for future file timestamps ... OK * checking DESCRIPTION meta-information ... OK * 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: 'quanteda' 'tidyr' * checking S3 generic/method consistency ... OK * checking replacement functions ... OK * checking foreign function calls ... OK * checking R code for possible problems ... [11s] NOTE calculate_sentiment_stats: no visible global function definition for 'median' create_interactive_plots: no visible binding for global variable 'Longitude' create_interactive_plots: no visible binding for global variable 'Latitude' create_interactive_plots: no visible binding for global variable 'sentiment_category' create_interactive_plots: no visible binding for global variable 'City' create_interactive_plots: no visible binding for global variable 'sentiment_score' create_interactive_plots: no visible binding for global variable 'User_Comment' create_interactive_plots: no visible global function definition for 'aggregate' load_disaster_data: no visible global function definition for 'read.csv' perform_topic_modeling: no visible global function definition for 'is' perform_topic_modeling: no visible global function definition for 'DocumentTermMatrix' perform_topic_modeling: no visible global function definition for 'LDA' perform_topic_modeling: no visible global function definition for 'terms' perform_topic_modeling: no visible binding for global variable 'topic' perform_topic_modeling: no visible binding for global variable 'term' plot_sentiment_distribution: no visible global function definition for 'pie' plot_sentiment_distribution: no visible binding for global variable 'sentiment_category' plot_sentiment_distribution: no visible binding for global variable 'sentiment_score' plot_sentiment_distribution: no visible binding for global variable 'Longitude' plot_sentiment_distribution: no visible binding for global variable 'Latitude' process_tweet: no visible global function definition for 'is' Undefined global functions or variables: City DocumentTermMatrix LDA Latitude Longitude User_Comment aggregate is median pie read.csv sentiment_category sentiment_score term terms topic Consider adding importFrom("graphics", "pie") importFrom("methods", "is") importFrom("stats", "aggregate", "median", "terms") importFrom("utils", "read.csv") to your NAMESPACE file (and ensure that your DESCRIPTION Imports field contains 'methods'). * checking Rd files ... NOTE prepare_Rd: load_disaster_data.Rd:28-30: Dropping empty section \examples * checking Rd metadata ... OK * checking Rd line widths ... NOTE Rd file 'perform_topic_modeling.Rd': \usage lines wider than 90 characters: perform_topic_modeling (tweet, method = c("VEM", "Gibbs"), num_topics = 3, visualize = TRUE) Rd file 'plot_sentiment_distribution.Rd': \examples lines wider than 100 characters: sentiment_category = c("Positive", "Negative", "Neutral", "Positive", "Negative", "Positive", "Neutral"), These lines will be truncated in the PDF manual. * checking Rd cross-references ... OK * checking for missing documentation entries ... OK * checking for code/documentation mismatches ... OK * checking Rd \usage sections ... WARNING Undocumented arguments in Rd file 'plot_sentiment_distribution.Rd' 'data' Documented arguments not in \usage in Rd file 'plot_sentiment_distribution.Rd': 'tweet' Functions with \usage entries need to have the appropriate \alias entries, and all their arguments documented. The \usage entries must correspond to syntactically valid R code. See chapter 'Writing R documentation files' in the 'Writing R Extensions' manual. * checking Rd contents ... OK * checking for unstated dependencies in examples ... OK * checking examples ... ERROR Running examples in 'DisasterAlert-Ex.R' failed The error most likely occurred in: > base::assign(".ptime", proc.time(), pos = "CheckExEnv") > ### Name: generate_word_clouds > ### Title: Generate Word Clouds from Tweets > ### Aliases: generate_word_clouds > > ### ** Examples > > # Generate word cloud from a single tweet > tweet_text <- "This is a sample tweet for word cloud generation!" > word_cloud_tweet(tweet_text) Error in word_cloud_tweet(tweet_text) : could not find function "word_cloud_tweet" Execution halted * checking PDF version of manual ... [13s] OK * checking HTML version of manual ... OK * DONE Status: 1 ERROR, 3 WARNINGs, 4 NOTEs