* using log directory 'd:/Rcompile/CRANpkg/local/3.5/ggeasy.Rcheck' * using R version 3.5.3 (2019-03-11) * using platform: x86_64-w64-mingw32 (64-bit) * using session charset: ISO8859-1 * checking for file 'ggeasy/DESCRIPTION' ... OK * this is package 'ggeasy' version '0.1.2' * package encoding: UTF-8 * 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 'ggeasy' can be installed ... WARNING Found the following significant warnings: Note: possible error in 'sQuote(to_arg, q = "single")': unused argument (q = "single") Note: possible error in 'sQuote(p_labs, q = "simple")': unused argument (q = "simple") See 'd:/Rcompile/CRANpkg/local/3.5/ggeasy.Rcheck/00install.out' for details. Information on the location(s) of code generating the 'Note's can be obtained by re-running with environment variable R_KEEP_PKG_SOURCE set to 'yes'. * checking installed package size ... OK * checking package directory ... OK * checking 'build' directory ... 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 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 ... [7s] NOTE easy_change_text: possible error in sQuote(to_arg, q = "single"): unused argument (q = "single") easy_update_labs: possible error in sQuote(p_labs, q = "simple"): unused argument (q = "simple") * checking Rd files ... OK * checking Rd metadata ... 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 installed files from 'inst/doc' ... OK * checking files in 'vignettes' ... OK * checking examples ... ERROR Running examples in 'ggeasy-Ex.R' failed The error most likely occurred in: > ### Name: easy_change_text > ### Title: Easily change text appearance > ### Aliases: easy_change_text .all_theme_els .all_element_text > ### easy_all_text_size easy_all_text_color easy_all_text_colour > ### easy_text_size easy_text_color easy_text_colour > ### easy_x_axis_title_size easy_y_axis_title_size easy_x_axis_labels_size > ### easy_y_axis_labels_size easy_plot_title_size easy_plot_subtitle_size > ### easy_plot_caption_size easy_plot_legend_size > ### easy_plot_legend_title_size > ### Keywords: datasets > > ### ** Examples > > > library(ggplot2) > > # make all text larger > ggplot(mtcars, aes(mpg, hp)) + + geom_point() + + easy_all_text_size(22) > # also works if accidentally using easy_text_size(n) > > # make the x and y axis text larger > ggplot(mtcars, aes(mpg, hp)) + + geom_point() + + easy_text_size(c("axis.text.x", "axis.text.y"), 22) > > # make the x axis labels larger > ggplot(mtcars, aes(mpg, hp)) + + geom_point() + + easy_x_axis_labels_size(22) > > # make the plot title larger > ggplot(mtcars, aes(mpg, hp)) + + geom_point() + + labs(title = "My Plot") + + easy_plot_title_size(22) > > # make the legend title larger > ggplot(mtcars, aes(mpg, hp)) + + geom_point(aes(fill = gear)) + + easy_plot_legend_title_size(22) > > # make all the text red > ggplot(mtcars, aes(mpg, hp)) + + geom_point(aes(fill = gear)) + + easy_all_text_color("red") Error in sQuote(to_arg, q = "single") : unused argument (q = "single") Calls: easy_all_text_color -> easy_change_text Execution halted * checking for unstated dependencies in 'tests' ... OK * checking tests ... [12s] ERROR Running 'testthat.R' [11s] Running the tests in 'tests/testthat.R' failed. Complete output: > library(testthat) > library(ggeasy) > > test_check("ggeasy") -- 1. Error: easy_labs uses column attrib (@test-labs.R#23) ------------------- unused argument (q = "simple") Backtrace: 1. testthat::expect_message(p + easy_labs(teach = TRUE), regexp = "colour = 'Flower Species')") 6. ggplot2:::`+.gg`(p, easy_labs(teach = TRUE)) 7. ggplot2:::add_ggplot(e1, e2, e2name) 9. ggeasy:::ggplot_add.easy_labs(object, p, objectname) 10. ggeasy:::easy_update_labs(object, p) 11. base::paste(...) -- 2. Error: set text colors (@test-text.R#143) ------------------------------- unused argument (q = "single") Backtrace: 1. ggeasy::easy_all_text_color("red") 2. ggeasy::easy_change_text(what = "colour", to = color, teach = teach) == testthat results =========================================================== [ OK: 337 | SKIPPED: 3 | WARNINGS: 0 | FAILED: 2 ] 1. Error: easy_labs uses column attrib (@test-labs.R#23) 2. Error: set text colors (@test-text.R#143) Error: testthat unit tests failed Execution halted * checking for unstated dependencies in vignettes ... OK * checking package vignettes in 'inst/doc' ... OK * checking re-building of vignette outputs ... [12s] OK * checking PDF version of manual ... OK * DONE Status: 2 ERRORs, 1 WARNING, 1 NOTE