* using log directory 'd:/Rcompile/CRANpkg/local/3.6/animint2.Rcheck' * using R version 3.6.3 (2020-02-29) * using platform: x86_64-w64-mingw32 (64-bit) * using session charset: ISO8859-1 * checking for file 'animint2/DESCRIPTION' ... OK * this is package 'animint2' version '2020.9.18' * 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 'animint2' can be installed ... OK * checking installed package size ... OK * checking package 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 ... NOTE Missing or unexported object: 'grid::unitType' * checking S3 generic/method consistency ... OK * checking replacement functions ... OK * checking foreign function calls ... OK * checking R code for possible problems ... [33s] OK * 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 contents of 'data' directory ... OK * checking data for non-ASCII characters ... OK * checking data for ASCII and uncompressed saves ... OK * checking examples ... ERROR Running examples in 'animint2-Ex.R' failed The error most likely occurred in: > ### Name: animint > ### Title: Create an animint > ### Aliases: animint > > ### ** Examples > > library(animint2) > data(WorldBank, package="animint2") > years <- unique(WorldBank[, "year", drop=FALSE]) > y1960 <- subset(WorldBank, year==1960) > animint( + title="Linked scatterplot and time series", #web page title. + time=list(variable="year",ms=3000), #variable and time delay used for animation. + duration=list(year=1000), #smooth transition duration in milliseconds. + selector.types=list(country="multiple"), #single/multiple selection for each variable. + first=list( #selected values to show when viz is first rendered. + country=c("Canada", "Japan"), + year=1970), + ## ggplots are rendered together for an interactive data viz. + ts=ggplot()+ + theme_animint(width=500)+ + make_tallrect(WorldBank, "year")+ + geom_text(aes( + year, life.expectancy, label=country), + showSelected="country", + clickSelects="country", + hjust=1, + data=y1960)+ + scale_x_continuous(limits=c(1950, NA))+ + geom_line(aes( + year, life.expectancy, group=country, color=region), + clickSelects="country", + data=WorldBank, + size=4, + alpha=0.55), + scatter=ggplot()+ + geom_point(aes( + fertility.rate, life.expectancy, + key=country, colour=region, size=population), + showSelected="year", + clickSelects="country", + data=WorldBank)+ + geom_text(aes( + fertility.rate, life.expectancy, + key=country, + label=country), + showSelected=c("country", "year"), + data=WorldBank)+ + geom_text(aes( + 5, 80, key=1, label=paste("year =", year)), + showSelected="year", + data=years)+ + scale_size_animint(pixel.range=c(2,20), breaks=10^(4:9))) Saving animint in temporary directory; specify output directory using animint(out.dir="path/to/directory") Error: 'unitType' is not an exported object from 'namespace:grid' Execution halted * checking for unstated dependencies in 'tests' ... OK * checking tests ... [44s] ERROR Running 'testthat.R' [43s] Running the tests in 'tests/testthat.R' failed. Complete output: > library(testthat) > test_check("animint2", filter="compiler") Loading required package: animint2 [1] "aesthetics" mapping: x = Sepal.Length, y = Petal.Length geom_point: na.rm = FALSE stat_identity: na.rm = FALSE position_identity $problem.aes [1] "foo" $data.variables [1] "Sepal.Length" "Sepal.Width" "Petal.Length" "Petal.Width" "Species" [1] "animation" [1] "compiler errors" [1] "geom line" [1] "plot named timexxx" [1] "plot names" [1] "geom_point(aes(fill=numeric))" [1] "compiler print" [1] "pt/points to lines conversion test" [1] "save separate chunks" [1] "selectors" [1] "stat_summary" [1] "compiler errors" [1] "compiler unlink previous" == Skipped tests =============================================================== * passes when validate_params=FALSE (1) * passes when validate_params=TRUE (2) == Failed tests ================================================================ -- Error (test-compiler-animation.R:33:3): tornado animation frames correct ---- Error: 'unitType' is not an exported object from 'namespace:grid' Backtrace: x 1. \-animint2::animint2dir(tornado.anim, open.browser = FALSE) test-compiler-animation.R:33:2 2. \-animint2::parsePlot(meta, p, list.name) 3. \-animint2:::pt.to.lines(theme.pars$panel.margin) 4. +-grid::unitType(pt_value) %in% c("pt", "points") 5. \-grid::unitType 6. \-base::getExportedValue(pkg, name) -- Error (test-compiler-animation.R:57:3): WorldBank animation frames correct -- Error: 'unitType' is not an exported object from 'namespace:grid' Backtrace: x 1. \-animint2::animint2dir(motion, open.browser = FALSE) test-compiler-animation.R:57:2 2. \-animint2::parsePlot(meta, p, list.name) 3. \-animint2:::pt.to.lines(theme.pars$panel.margin) 4. +-grid::unitType(pt_value) %in% c("pt", "points") 5. \-grid::unitType 6. \-base::getExportedValue(pkg, name) -- Error (test-compiler-animation.R:103:3): tornado animation frames correct --- Error: 'unitType' is not an exported object from 'namespace:grid' Backtrace: x 1. \-animint2::animint2dir(evolution, open.browser = FALSE) test-compiler-animation.R:103:2 2. \-animint2::parsePlot(meta, p, list.name) 3. \-animint2:::pt.to.lines(theme.pars$panel.margin) 4. +-grid::unitType(pt_value) %in% c("pt", "points") 5. \-grid::unitType 6. \-base::getExportedValue(pkg, name) -- Failure (test-compiler-errors.R:11:3): aes(showSelected=var1, showSelected2=var2) is an error -- `{ ... }` threw an error with unexpected message. Expected match: "Use of clickSelects and showSelected as aesthetics has been deprecated. Please use as parameters" Actual message: "'unitType' is not an exported object from 'namespace:grid'" Backtrace: x 1. +-testthat::expect_error(...) test-compiler-errors.R:11:2 2. | \-testthat:::quasi_capture(...) 3. | +-testthat:::.capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. \-animint2::animint2dir(viz, open.browser = FALSE) test-compiler-errors.R:12:4 7. \-animint2::parsePlot(meta, p, list.name) 8. \-animint2:::pt.to.lines(theme.pars$panel.margin) 9. +-grid::unitType(pt_value) %in% c("pt", "points") 10. \-grid::unitType 11. \-base::getExportedValue(pkg, name) -- Failure (test-compiler-errors.R:23:3): informative error for time option with no showSelected -- `{ ... }` threw an error with unexpected message. Expected match: "no interactive aes for time variable Species" Actual message: "'unitType' is not an exported object from 'namespace:grid'" Backtrace: x 1. +-testthat::expect_error(...) test-compiler-errors.R:23:2 2. | \-testthat:::quasi_capture(...) 3. | +-testthat:::.capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. \-animint2::animint2dir(viz, open.browser = FALSE) test-compiler-errors.R:24:4 7. \-animint2::parsePlot(meta, p, list.name) 8. \-animint2:::pt.to.lines(theme.pars$panel.margin) 9. +-grid::unitType(pt_value) %in% c("pt", "points") 10. \-grid::unitType 11. \-base::getExportedValue(pkg, name) -- Error (test-compiler-errors.R:36:3): no error for time option with clickSelects -- Error: 'unitType' is not an exported object from 'namespace:grid' Backtrace: x 1. \-animint2::animint2dir(viz, open.browser = FALSE) test-compiler-errors.R:36:2 2. \-animint2::parsePlot(meta, p, list.name) 3. \-animint2:::pt.to.lines(theme.pars$panel.margin) 4. +-grid::unitType(pt_value) %in% c("pt", "points") 5. \-grid::unitType 6. \-base::getExportedValue(pkg, name) -- Error (test-compiler-errors.R:48:3): no error for time option with showSelected -- Error: 'unitType' is not an exported object from 'namespace:grid' Backtrace: x 1. \-animint2::animint2dir(viz, open.browser = FALSE) test-compiler-errors.R:48:2 2. \-animint2::parsePlot(meta, p, list.name) 3. \-animint2:::pt.to.lines(theme.pars$panel.margin) 4. +-grid::unitType(pt_value) %in% c("pt", "points") 5. \-grid::unitType 6. \-base::getExportedValue(pkg, name) -- Error (test-compiler-errors.R:59:3): no error for time option with color ---- Error: 'unitType' is not an exported object from 'namespace:grid' Backtrace: x 1. \-animint2::animint2dir(viz, open.browser = FALSE) test-compiler-errors.R:59:2 2. \-animint2::parsePlot(meta, p, list.name) 3. \-animint2:::pt.to.lines(theme.pars$panel.margin) 4. +-grid::unitType(pt_value) %in% c("pt", "points") 5. \-grid::unitType 6. \-base::getExportedValue(pkg, name) -- Error (test-compiler-errors.R:83:3): no warning for no duration vars -------- Error: 'unitType' is not an exported object from 'namespace:grid' Backtrace: x 1. +-animint2:::expect_no_warning(...) test-compiler-errors.R:83:2 2. | \-testthat::expect_warning(object, NA) d:\RCompile\CRANpkg\local\3.6\animint2.Rcheck\tests\testthat\helper-functions.R:214:2 3. | \-testthat:::quasi_capture(enquo(object), label, capture_warnings) 4. | +-testthat:::.capture(...) 5. | | \-base::withCallingHandlers(...) 6. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 7. \-animint2::animint2dir(viz.no.duration, open.browser = FALSE) test-compiler-errors.R:84:4 8. \-animint2::parsePlot(meta, p, list.name) 9. \-animint2:::pt.to.lines(theme.pars$panel.margin) 10. +-grid::unitType(pt_value) %in% c("pt", "points") 11. \-grid::unitType 12. \-base::getExportedValue(pkg, name) -- Error (test-compiler-errors.R:91:3): warn no key for geom_text with showSelected=duration var -- Error: 'unitType' is not an exported object from 'namespace:grid' Backtrace: x 1. +-testthat::expect_warning(...) test-compiler-errors.R:91:2 2. | \-testthat:::quasi_capture(enquo(object), label, capture_warnings) 3. | +-testthat:::.capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. \-animint2::animint2dir(viz.duration, open.browser = FALSE) test-compiler-errors.R:92:4 7. \-animint2::parsePlot(meta, p, list.name) 8. \-animint2:::pt.to.lines(theme.pars$panel.margin) 9. +-grid::unitType(pt_value) %in% c("pt", "points") 10. \-grid::unitType 11. \-base::getExportedValue(pkg, name) -- Error (test-compiler-errors.R:116:3): no warning when key specified --------- Error: 'unitType' is not an exported object from 'namespace:grid' Backtrace: x 1. +-animint2:::expect_no_warning(...) test-compiler-errors.R:116:2 2. | \-testthat::expect_warning(object, NA) d:\RCompile\CRANpkg\local\3.6\animint2.Rcheck\tests\testthat\helper-functions.R:214:2 3. | \-testthat:::quasi_capture(enquo(object), label, capture_warnings) 4. | +-testthat:::.capture(...) 5. | | \-base::withCallingHandlers(...) 6. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 7. \-animint2::animint2dir(viz.key.duration, open.browser = FALSE) test-compiler-errors.R:117:4 8. \-animint2::parsePlot(meta, p, list.name) 9. \-animint2:::pt.to.lines(theme.pars$panel.margin) 10. +-grid::unitType(pt_value) %in% c("pt", "points") 11. \-grid::unitType 12. \-base::getExportedValue(pkg, name) -- Error (test-compiler-errors.R:145:3): warning for position=stack and showSelected -- Error: 'unitType' is not an exported object from 'namespace:grid' Backtrace: x 1. +-testthat::expect_warning(...) test-compiler-errors.R:145:2 2. | \-testthat:::quasi_capture(enquo(object), label, capture_warnings) 3. | +-testthat:::.capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. \-animint2::animint2dir(complicated, open.browser = FALSE) test-compiler-errors.R:146:4 7. \-animint2::parsePlot(meta, p, list.name) 8. \-animint2:::pt.to.lines(theme.pars$panel.margin) 9. +-grid::unitType(pt_value) %in% c("pt", "points") 10. \-grid::unitType 11. \-base::getExportedValue(pkg, name) -- Error (test-compiler-errors.R:170:3): no warning for position=stack without showSelected -- Error: 'unitType' is not an exported object from 'namespace:grid' Backtrace: x 1. +-animint2:::expect_no_warning(...) test-compiler-errors.R:170:2 2. | \-testthat::expect_warning(object, NA) d:\RCompile\CRANpkg\local\3.6\animint2.Rcheck\tests\testthat\helper-functions.R:214:2 3. | \-testthat:::quasi_capture(enquo(object), label, capture_warnings) 4. | +-testthat:::.capture(...) 5. | | \-base::withCallingHandlers(...) 6. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 7. \-animint2::animint2dir(no.show, open.browser = FALSE) test-compiler-errors.R:171:4 8. \-animint2::parsePlot(meta, p, list.name) 9. \-animint2:::pt.to.lines(theme.pars$panel.margin) 10. +-grid::unitType(pt_value) %in% c("pt", "points") 11. \-grid::unitType 12. \-base::getExportedValue(pkg, name) -- Error (test-compiler-geom-line-path.R:125:1): (code run outside of `test_that()`) -- Error: 'unitType' is not an exported object from 'namespace:grid' Backtrace: x 1. \-animint2::animint2dir(mmir.selection, tdir, open.browser = FALSE) test-compiler-geom-line-path.R:125:0 2. \-animint2::parsePlot(meta, p, list.name) 3. \-animint2:::pt.to.lines(theme.pars$panel.margin) 4. +-grid::unitType(pt_value) %in% c("pt", "points") 5. \-grid::unitType 6. \-base::getExportedValue(pkg, name) -- Error (test-compiler-plot-named-timexxx.R:29:3): plot named timeSeries is OK without time option list -- Error: 'unitType' is not an exported object from 'namespace:grid' Backtrace: x 1. \-animint2::animint2dir(viz, open.browser = FALSE) test-compiler-plot-named-timexxx.R:29:2 2. \-animint2::parsePlot(meta, p, list.name) 3. \-animint2:::pt.to.lines(theme.pars$panel.margin) 4. +-grid::unitType(pt_value) %in% c("pt", "points") 5. \-grid::unitType 6. \-base::getExportedValue(pkg, name) -- Error (test-compiler-plot-named-timexxx.R:36:3): plot named timeSeries is OK with time option list -- Error: 'unitType' is not an exported object from 'namespace:grid' Backtrace: x 1. \-animint2::animint2dir(viz.time, open.browser = FALSE) test-compiler-plot-named-timexxx.R:36:2 2. \-animint2::parsePlot(meta, p, list.name) 3. \-animint2:::pt.to.lines(theme.pars$panel.margin) 4. +-grid::unitType(pt_value) %in% c("pt", "points") 5. \-grid::unitType 6. \-base::getExportedValue(pkg, name) -- Failure (test-compiler-plot-names.R:7:3): error if we refer to non-existent plot names -- `{ ... }` threw an error with unexpected message. Expected match: "no ggplot named foo" Actual message: "'unitType' is not an exported object from 'namespace:grid'" Backtrace: x 1. +-testthat::expect_error(...) test-compiler-plot-names.R:7:2 2. | \-testthat:::quasi_capture(...) 3. | +-testthat:::.capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::suppressWarnings(animint2dir(viz)) test-compiler-plot-names.R:8:4 7. | \-base::withCallingHandlers(expr, warning = function(w) invokeRestart("muffleWarning")) 8. \-animint2::animint2dir(viz) 9. \-animint2::parsePlot(meta, p, list.name) 10. \-animint2:::pt.to.lines(theme.pars$panel.margin) 11. +-grid::unitType(pt_value) %in% c("pt", "points") 12. \-grid::unitType 13. \-base::getExportedValue(pkg, name) -- Failure (test-compiler-plot-names.R:11:3): error if we refer to non-existent plot names -- `{ ... }` threw an error with unexpected message. Expected match: "no ggplot named bar" Actual message: "'unitType' is not an exported object from 'namespace:grid'" Backtrace: x 1. +-testthat::expect_error(...) test-compiler-plot-names.R:11:2 2. | \-testthat:::quasi_capture(...) 3. | +-testthat:::.capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::suppressWarnings(animint2dir(viz)) test-compiler-plot-names.R:12:4 7. | \-base::withCallingHandlers(expr, warning = function(w) invokeRestart("muffleWarning")) 8. \-animint2::animint2dir(viz) 9. \-animint2::parsePlot(meta, p, list.name) 10. \-animint2:::pt.to.lines(theme.pars$panel.margin) 11. +-grid::unitType(pt_value) %in% c("pt", "points") 12. \-grid::unitType 13. \-base::getExportedValue(pkg, name) -- Error (test-compiler-point-fill-numeric.R:19:3): legends are produced ------- Error: 'unitType' is not an exported object from 'namespace:grid' Backtrace: x 1. \-animint2::animint2dir(viz, open.browser = FALSE) test-compiler-point-fill-numeric.R:19:2 2. \-animint2::parsePlot(meta, p, list.name) 3. \-animint2:::pt.to.lines(theme.pars$panel.margin) 4. +-grid::unitType(pt_value) %in% c("pt", "points") 5. \-grid::unitType 6. \-base::getExportedValue(pkg, name) -- Error (test-compiler-print.R:11:3): message when out.dir unspecified -------- Error: 'unitType' is not an exported object from 'namespace:grid' Backtrace: x 1. +-testthat::expect_message(...) test-compiler-print.R:11:2 2. | \-testthat:::quasi_capture(enquo(object), label, capture_messages) 3. | +-testthat:::.capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::print(viz) test-compiler-print.R:12:4 7. \-animint2:::print.animint(viz) 8. \-animint2::animint2dir(x, x$out.dir, ...) 9. \-animint2::parsePlot(meta, p, list.name) 10. \-animint2:::pt.to.lines(theme.pars$panel.margin) 11. +-grid::unitType(pt_value) %in% c("pt", "points") 12. \-grid::unitType 13. \-base::getExportedValue(pkg, name) -- Error (test-compiler-print.R:22:3): out.dir option is respected ------------- Error: 'unitType' is not an exported object from 'namespace:grid' Backtrace: x 1. +-base::print(vizout) test-compiler-print.R:22:2 2. \-animint2:::print.animint(vizout) 3. \-animint2::animint2dir(x, x$out.dir, ...) 4. \-animint2::parsePlot(meta, p, list.name) 5. \-animint2:::pt.to.lines(theme.pars$panel.margin) 6. +-grid::unitType(pt_value) %in% c("pt", "points") 7. \-grid::unitType 8. \-base::getExportedValue(pkg, name) -- Error (test-compiler-pt-to-lines.r:8:1): (code run outside of `test_that()`) -- Error: 'unitType' is not an exported object from 'namespace:grid' Backtrace: x 1. \-animint2:::pt.to.lines(theme.pars$panel.margin) test-compiler-pt-to-lines.r:8:0 2. +-grid::unitType(pt_value) %in% c("pt", "points") 3. \-grid::unitType 4. \-base::getExportedValue(pkg, name) -- Error (test-compiler-save-separate-chunks.R:64:3): save separate chunks for geom_polygon -- Error: 'unitType' is not an exported object from 'namespace:grid' Backtrace: x 1. \-animint2::animint2dir(viz, out.dir = out.dir, open.browser = FALSE) test-compiler-save-separate-chunks.R:64:2 2. \-animint2::parsePlot(meta, p, list.name) 3. \-animint2:::pt.to.lines(theme.pars$panel.margin) 4. +-grid::unitType(pt_value) %in% c("pt", "points") 5. \-grid::unitType 6. \-base::getExportedValue(pkg, name) -- Error (test-compiler-save-separate-chunks.R:115:3): save separate chunks for geom_point without specifying group -- Error: 'unitType' is not an exported object from 'namespace:grid' Backtrace: x 1. \-animint2::animint2dir(viz, out.dir = out.dir, open.browser = FALSE) test-compiler-save-separate-chunks.R:115:2 2. \-animint2::parsePlot(meta, p, list.name) 3. \-animint2:::pt.to.lines(theme.pars$panel.margin) 4. +-grid::unitType(pt_value) %in% c("pt", "points") 5. \-grid::unitType 6. \-base::getExportedValue(pkg, name) -- Error (test-compiler-save-separate-chunks.R:234:3): save separate chunks for non-spatial geoms with repetitive field, multiple vars selected, and NAs -- Error: 'unitType' is not an exported object from 'namespace:grid' Backtrace: x 1. \-animint2::animint2dir(viz, out.dir = out.dir, open.browser = FALSE) test-compiler-save-separate-chunks.R:234:2 2. \-animint2::parsePlot(meta, p, list.name) 3. \-animint2:::pt.to.lines(theme.pars$panel.margin) 4. +-grid::unitType(pt_value) %in% c("pt", "points") 5. \-grid::unitType 6. \-base::getExportedValue(pkg, name) -- Error (test-compiler-save-separate-chunks.R:311:3): save separate chunks for non-spatial geoms with nest_order not being group -- Error: 'unitType' is not an exported object from 'namespace:grid' Backtrace: x 1. \-animint2::animint2dir(viz, out.dir = out.dir, open.browser = FALSE) test-compiler-save-separate-chunks.R:311:2 2. \-animint2::parsePlot(meta, p, list.name) 3. \-animint2:::pt.to.lines(theme.pars$panel.margin) 4. +-grid::unitType(pt_value) %in% c("pt", "points") 5. \-grid::unitType 6. \-base::getExportedValue(pkg, name) -- Error (test-compiler-selectors.R:22:3): first options are copied to selectors -- Error: 'unitType' is not an exported object from 'namespace:grid' Backtrace: x 1. \-animint2::animint2dir(gapminder, open.browser = FALSE) test-compiler-selectors.R:22:2 2. \-animint2::parsePlot(meta, p, list.name) 3. \-animint2:::pt.to.lines(theme.pars$panel.margin) 4. +-grid::unitType(pt_value) %in% c("pt", "points") 5. \-grid::unitType 6. \-base::getExportedValue(pkg, name) -- Error (test-compiler-stat-summary.R:10:3): stat_summary does not infinitely recurse -- Error: 'unitType' is not an exported object from 'namespace:grid' Backtrace: x 1. \-animint2::animint2dir(L, open.browser = FALSE) test-compiler-stat-summary.R:10:2 2. \-animint2::parsePlot(meta, p, list.name) 3. \-animint2:::pt.to.lines(theme.pars$panel.margin) 4. +-grid::unitType(pt_value) %in% c("pt", "points") 5. \-grid::unitType 6. \-base::getExportedValue(pkg, name) -- Failure (test-compiler-tallrect.R:17:3): informative error for empty data table -- `{ ... }` threw an error with unexpected message. Expected match: "no data in geom1_tallrect_gg" Actual message: "'unitType' is not an exported object from 'namespace:grid'" Backtrace: x 1. +-testthat::expect_error(...) test-compiler-tallrect.R:17:2 2. | \-testthat:::quasi_capture(...) 3. | +-testthat:::.capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. \-animint2::animint2dir(viz, open.browser = FALSE) test-compiler-tallrect.R:18:4 7. \-animint2::parsePlot(meta, p, list.name) 8. \-animint2:::pt.to.lines(theme.pars$panel.margin) 9. +-grid::unitType(pt_value) %in% c("pt", "points") 10. \-grid::unitType 11. \-base::getExportedValue(pkg, name) -- Error (test-compiler-unlink-previous.R:13:1): (code run outside of `test_that()`) -- Error: 'unitType' is not an exported object from 'namespace:grid' Backtrace: x 1. \-animint2::animint2dir(viz, out.dir, open.browser = FALSE) test-compiler-unlink-previous.R:13:0 2. \-animint2::parsePlot(meta, p, list.name) 3. \-animint2:::pt.to.lines(theme.pars$panel.margin) 4. +-grid::unitType(pt_value) %in% c("pt", "points") 5. \-grid::unitType 6. \-base::getExportedValue(pkg, name) [ FAIL 30 | WARN 2 | SKIP 3 | PASS 697 ] Error: Test failures Execution halted * checking PDF version of manual ... OK * DONE Status: 2 ERRORs, 1 NOTE