* using log directory ‘/srv/hornik/tmp/CRAN/canwage.Rcheck’ * using R Under development (unstable) (2024-02-08 r85876) * using platform: x86_64-pc-linux-gnu * R was compiled by Debian clang version 17.0.6 (5) Debian flang-new version 17.0.6 (5) * running under: Debian GNU/Linux trixie/sid * using session charset: UTF-8 * checking for file ‘canwage/DESCRIPTION’ ... OK * this is package ‘canwage’ version ‘1.0.0’ * package encoding: UTF-8 * checking CRAN incoming feasibility ... [3s/4s] NOTE Maintainer: ‘Kyle Deng ’ New submission Possibly misspelled words in DESCRIPTION: canwage (2:18) visulizations (8:36) Authors@R field should be a call to person(), or combine such calls. Found the following (possibly) invalid URLs: URL: https://github.com/kt1720/Data534-Project/actions/workflows/coverage.yml (moved to https://github.com/kt1720/canwage/actions/workflows/coverage.yml) From: README.md Status: 301 Message: Moved Permanently URL: https://opensource.org/licenses/MIT (moved to https://opensource.org/license/mit/) From: README.md Status: 301 Message: Moved Permanently For content that is 'Moved Permanently', please change http to https, add trailing slashes, or replace the old by the new URL. Found the following (possibly) invalid file URI: URI: %22vignettes/vignettes.Rmd%22 From: README.md The Title field should be in title case. Current version is: ‘This is a canwage package’ In title case that is: ‘This is a Canwage Package’ Size of tarball: 13387283 bytes * 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 executable files ... OK * checking for hidden files and directories ... NOTE Found the following hidden files and directories: tests/.RData .github These were most likely included in error. See section ‘Package structure’ in the ‘Writing R Extensions’ manual. CRAN-pack does not know about tests/.RData .github * checking for portable file names ... OK * checking for sufficient/correct file permissions ... OK * checking whether package ‘canwage’ can be installed ... [3s/3s] OK * checking package directory ... OK * checking for future file timestamps ... OK * checking ‘build’ directory ... OK * checking DESCRIPTION meta-information ... NOTE License components which are templates and need '+ file LICENSE': MIT Packages listed in more than one of Depends, Imports, Suggests, Enhances: ‘knitr’ ‘testthat’ A package should be listed in only one of these fields. * checking top-level files ... NOTE File LICENSE is not mentioned in the DESCRIPTION file. Non-standard files/directories found at top level: ‘CODE_OF_CONDUCT.md’ ‘CONTRIBUTING.MD’ ‘NEWS.Rmd’ * 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 ... [0s/0s] OK * checking whether the package can be loaded with stated dependencies ... [0s/0s] OK * checking whether the package can be unloaded cleanly ... [0s/0s] OK * checking whether the namespace can be loaded with stated dependencies ... [0s/0s] OK * checking whether the namespace can be unloaded cleanly ... [0s/0s] OK * checking loading without being on the library search path ... [0s/0s] OK * checking use of S3 registration ... OK * checking dependencies in R code ... WARNING '::' or ':::' imports not declared from: ‘dplyr’ ‘ggplot2’ ‘scales’ ‘tibble’ ‘tidyr’ * checking S3 generic/method consistency ... OK * checking replacement functions ... OK * checking foreign function calls ... OK * checking R code for possible problems ... [2s/2s] NOTE average_median_bar_plot: no visible global function definition for ‘%>%’ average_median_bar_plot: no visible global function definition for ‘filter’ average_median_bar_plot: no visible global function definition for ‘year’ average_median_bar_plot: no visible binding for global variable ‘year’ average_median_bar_plot: no visible global function definition for ‘capture.output’ average_median_bar_plot: no visible global function definition for ‘aggregate’ average_median_bar_plot: no visible global function definition for ‘ggplot’ average_median_bar_plot: no visible global function definition for ‘aes’ average_median_bar_plot: no visible binding for global variable ‘province’ average_median_bar_plot: no visible binding for global variable ‘median_wage’ average_median_bar_plot: no visible global function definition for ‘geom_bar’ average_median_bar_plot: no visible global function definition for ‘labs’ map: no visible binding for global variable ‘gn_name’ map: no visible binding for global variable ‘province’ map: no visible binding for global variable ‘postal’ map: no visible binding for global variable ‘region’ map: no visible binding for global variable ‘geometry’ map: no visible binding for global variable ‘occupation’ map: no visible binding for global variable ‘median_wage’ map: no visible binding for global variable ‘year’ pre_process_dataset: no visible global function definition for ‘everything’ pre_process_dataset: no visible binding for global variable ‘prov’ pre_process_dataset: no visible global function definition for ‘across’ pre_process_dataset: no visible binding for global variable ‘low_wage_salaire_minium’ pre_process_dataset: no visible binding for global variable ‘median_wage_salaire_median’ pre_process_dataset: no visible binding for global variable ‘high_wage_salaire_maximal’ pre_process_dataset: no visible binding for global variable ‘annual_wage’ pre_process_dataset: no visible binding for global variable ‘annual_wage_flag_salaire_annuel’ process_NA: no visible global function definition for ‘par’ process_NA: no visible global function definition for ‘kable’ process_NA: no visible global function definition for ‘matrixplot’ process_NA: no visible global function definition for ‘na.omit’ process_outlier: no visible global function definition for ‘%>%’ process_outlier: no visible global function definition for ‘group_by’ process_outlier: no visible binding for global variable ‘occupation’ process_outlier: no visible global function definition for ‘reframe’ process_outlier: no visible global function definition for ‘scores’ process_outlier: no visible binding for global variable ‘low_wage’ process_outlier: no visible binding for global variable ‘high_wage’ process_outlier: no visible binding for global variable ‘median_wage’ process_outlier: no visible global function definition for ‘ungroup’ process_outlier: no visible global function definition for ‘filter’ process_outlier: no visible binding for global variable ‘low_wage_outlier_score’ process_outlier: no visible binding for global variable ‘median_wage_outlier_score’ process_outlier: no visible binding for global variable ‘high_wage_outlier_score’ process_outlier: no visible global function definition for ‘select’ process_outlier: no visible global function definition for ‘capture.output’ process_outlier: no visible global function definition for ‘mutate_all’ process_outlier: no visible global function definition for ‘gather’ process_outlier: no visible binding for global variable ‘category’ process_outlier: no visible binding for global variable ‘value’ process_outlier: no visible global function definition for ‘summarise’ process_outlier: no visible global function definition for ‘n’ process_outlier: no visible global function definition for ‘ggplot’ process_outlier: no visible global function definition for ‘aes’ process_outlier: no visible binding for global variable ‘percentage’ process_outlier: no visible global function definition for ‘geom_bar’ process_outlier: no visible global function definition for ‘labs’ process_outlier: no visible global function definition for ‘scale_y_continuous’ process_outlier: no visible global function definition for ‘mutate’ process_outlier: no visible binding for global variable ‘row_number’ process_outlier: no visible binding for global variable ‘color’ process_outlier: no visible global function definition for ‘geom_tile’ process_outlier: no visible global function definition for ‘scale_fill_manual’ process_outlier: no visible global function definition for ‘theme_minimal’ process_outlier: no visible global function definition for ‘theme’ process_outlier: no visible global function definition for ‘element_text’ process_outlier: no visible global function definition for ‘element_blank’ salary_range: no visible binding for global variable ‘occupation’ salary_range: no visible binding for global variable ‘province’ salary_range: no visible binding for global variable ‘low_wage’ salary_range: no visible binding for global variable ‘high_wage’ trend: no visible global function definition for ‘%>%’ trend: no visible global function definition for ‘filter’ trend: no visible binding for global variable ‘median_wage’ trend: no visible global function definition for ‘group_by’ trend: no visible binding for global variable ‘year’ trend: no visible binding for global variable ‘province’ trend: no visible global function definition for ‘ggplot’ trend: no visible global function definition for ‘geom_boxplot’ trend: no visible global function definition for ‘aes’ trend: no visible global function definition for ‘summarize’ trend: no visible global function definition for ‘n’ trend: no visible global function definition for ‘geom_line’ trend: no visible binding for global variable ‘mean_average’ trend: no visible global function definition for ‘theme_minimal’ trend: no visible global function definition for ‘grid.arrange’ trend: no visible global function definition for ‘mutate’ trend: no visible binding for global variable ‘occupation’ trend: no visible global function definition for ‘geom_point’ trend: no visible global function definition for ‘facet_grid’ Undefined global functions or variables: %>% across aes aggregate annual_wage annual_wage_flag_salaire_annuel capture.output category color element_blank element_text everything facet_grid filter gather geom_bar geom_boxplot geom_line geom_point geom_tile geometry ggplot gn_name grid.arrange group_by high_wage high_wage_outlier_score high_wage_salaire_maximal kable labs low_wage low_wage_outlier_score low_wage_salaire_minium matrixplot mean_average median_wage median_wage_outlier_score median_wage_salaire_median mutate mutate_all n na.omit occupation par percentage postal prov province reframe region row_number scale_fill_manual scale_y_continuous scores select summarise summarize theme theme_minimal ungroup value year Consider adding importFrom("graphics", "par") importFrom("stats", "aggregate", "filter", "na.omit") importFrom("utils", "capture.output") to your NAMESPACE file. * checking Rd files ... [0s/0s] OK * checking Rd metadata ... OK * checking Rd line widths ... NOTE Rd file 'salary_range.Rd': \examples lines wider than 100 characters: software_dev_salary_range <- salary_range(dataset = your_dataset, job = "Software Engineers", prov = "Ontario") data_analyst_salary_range <- salary_range(dataset = your_dataset, job = "data scientists", prov = "British Columbia") no_data_range <- salary_range(dataset = your_dataset, job = "nonexistent job", prov = "Nonexistent Province") Rd file 'trend.Rd': \examples lines wider than 100 characters: trend(get_wage(c("2012","2013","2014","2015","2016","2019","2020","2021","2022","2023")),type="overall") These lines will be truncated in the PDF manual. * checking Rd cross-references ... OK * checking for missing documentation entries ... WARNING Undocumented code objects: ‘identify_outliers’ 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 installed files from ‘inst/doc’ ... OK * checking files in ‘vignettes’ ... OK * checking examples ... [0s/0s] ERROR Running examples in ‘canwage-Ex.R’ failed The error most likely occurred in: > base::assign(".ptime", proc.time(), pos = "CheckExEnv") > ### Name: map > ### Title: Create an Interactive Map of Median Salaries for a Specific Job > ### Across Canada > ### Aliases: map > > ### ** Examples > > # Generate an interactive map for the job "Software Engineers" using a single-year dataset > single_year_map <- map(dataset = your_dataset, job = "Software Engineers") Error: object 'your_dataset' not found Execution halted * checking for unstated dependencies in ‘tests’ ... WARNING '::' or ':::' import not declared from: ‘tibble’ * checking tests ... [5s/33s] OK Running ‘testthat_getWage_salaryRange_listJobs.R’ [5s/33s] * checking for unstated dependencies in vignettes ... OK * checking package vignettes ... OK * checking re-building of vignette outputs ... [95s/134s] OK * checking PDF version of manual ... [2s/2s] OK * checking HTML version of manual ... [0s/0s] OK * checking for non-standard things in the check directory ... OK * checking for detritus in the temp directory ... OK * DONE Status: 1 ERROR, 3 WARNINGs, 6 NOTEs