CRAN Package Check Results for Maintainer ‘Toby Hocking <toby.hocking at r-project.org>’

Last updated on 2020-12-01 23:49:07 CET.

Package ERROR NOTE OK
animint2 2 4 6
binsegRcpp 2 10
directlabels 12
inlinedocs 1 11
LOPART 12
namedCapture 8 4
nc 2 8 2
PeakError 2 10
PeakSegDisk 12
PeakSegDP 12
PeakSegJoint 12
PeakSegOptimal 12
penaltyLearning 12
WeightedROC 12

Package animint2

Current CRAN status: ERROR: 2, NOTE: 4, OK: 6

Version: 2020.9.18
Check: dependencies in R code
Result: NOTE
    Namespaces in Imports field not imported from:
     ‘lazyeval’ ‘tibble’
     All declared Imports should be used.
Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-patched-solaris-x86, r-release-macos-x86_64

Version: 2020.9.18
Check: Rd cross-references
Result: NOTE
    Undeclared package ‘RColorBrewer’ in Rd xrefs
Flavor: r-devel-linux-x86_64-fedora-clang

Version: 2020.9.18
Check: installed package size
Result: NOTE
     installed size is 5.3Mb
     sub-directories of 1Mb or more:
     R 1.0Mb
     data 2.9Mb
Flavor: r-patched-solaris-x86

Version: 2020.9.18
Check: dependencies in R code
Result: NOTE
    Namespaces in Imports field not imported from:
     ‘lazyeval’ ‘tibble’
     All declared Imports should be used.
    Missing or unexported object: ‘grid::unitType’
Flavor: r-oldrel-macos-x86_64

Version: 2020.9.18
Check: examples
Result: 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
Flavors: r-oldrel-macos-x86_64, r-oldrel-windows-ix86+x86_64

Version: 2020.9.18
Check: tests
Result: ERROR
     Running ‘testthat.R’ [28s/28s]
    Running the tests in ‘tests/testthat.R’ failed.
    Last 13 lines of output:
     ERROR (test-compiler-print.R:11:3): message when out.dir unspecified
     ERROR (test-compiler-print.R:22:3): out.dir option is respected
     ERROR (test-compiler-pt-to-lines.r:8:1): (code run outside of `test_that()`)
     ERROR (test-compiler-save-separate-chunks.R:64:3): save separate chunks for geom_polygon
     ERROR (test-compiler-save-separate-chunks.R:115:3): save separate chunks for geom_point without specifying group
     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 (test-compiler-save-separate-chunks.R:311:3): save separate chunks for non-spatial geoms with nest_order not being group
     ERROR (test-compiler-selectors.R:22:3): first options are copied to selectors
     ERROR (test-compiler-stat-summary.R:10:3): stat_summary does not infinitely recurse
     FAILURE (test-compiler-tallrect.R:17:3): informative error for empty data table
     ERROR (test-compiler-unlink-previous.R:13:1): (code run outside of `test_that()`)
    
     [ FAIL 30 | WARN 2 | SKIP 3 | PASS 697 ]
     Error: Test failures
     Execution halted
Flavor: r-oldrel-macos-x86_64

Version: 2020.9.18
Check: dependencies in R code
Result: NOTE
    Missing or unexported object: 'grid::unitType'
Flavor: r-oldrel-windows-ix86+x86_64

Version: 2020.9.18
Check: tests
Result: ERROR
     Running 'testthat.R' [42s]
    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"
     -- 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)
    
     -- Warning (test-compiler-build.r:35:3): non-position aesthetics are mapped ----
     Using size for a discrete variable is not advised.
    
     -- Warning (test-compiler-build.r:41:3): non-position aesthetics are mapped ----
     Using size for a discrete variable is not advised.
    
     [1] "compiler errors"
     -- FAILURE (test-compiler-errors.R:11:3): aes(showSelected=var1, showSelected2=v
     `{ ... }` 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
     `{ ... }` 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 clickSelec
     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 showSelect
     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 showSelec
     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 showSele
     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 s
     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)
    
     [1] "geom line"
     -- 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)
    
     -- Skip (test-compiler-layer.r:12:3): unknown params create error --------------
     Reason: passes when validate_params=FALSE
    
     [1] "plot named timexxx"
     -- ERROR (test-compiler-plot-named-timexxx.R:29:3): plot named timeSeries is OK
     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
     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)
    
     [1] "plot names"
     -- FAILURE (test-compiler-plot-names.R:7:3): error if we refer to non-existent p
     `{ ... }` 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
     `{ ... }` 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)
    
     [1] "geom_point(aes(fill=numeric))"
     -- 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)
    
     [1] "compiler print"
     -- 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)
    
     [1] "pt/points to lines conversion test"
     -- 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)
    
     [1] "save separate chunks"
     -- ERROR (test-compiler-save-separate-chunks.R:64:3): save separate chunks for g
     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
     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
     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
     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)
    
     [1] "selectors"
     -- 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)
    
     -- Skip (test-compiler-stat-bin.R:9:3): stat_bin throws error when y aesthetic p
     Reason: passes when validate_params=TRUE
    
     -- Skip (test-compiler-stat-bin.R:103:3): stat_count throws error when y aesthet
     Reason: passes when validate_params=TRUE
    
     [1] "stat_summary"
     -- ERROR (test-compiler-stat-summary.R:10:3): stat_summary does not infinitely r
     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)
    
     [1] "compiler errors"
     -- FAILURE (test-compiler-tallrect.R:17:3): informative error for empty data tab
     `{ ... }` 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)
    
     [1] "compiler unlink previous"
     -- 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)
    
     -- Skipped tests --------------------------------------------------------------
     * passes when validate_params=FALSE (1)
     * passes when validate_params=TRUE (2)
    
     == testthat results ===========================================================
     ERROR (test-compiler-animation.R:33:3): tornado animation frames correct
     ERROR (test-compiler-animation.R:57:3): WorldBank animation frames correct
     ERROR (test-compiler-animation.R:103:3): tornado animation frames correct
     Warning (test-compiler-build.r:35:3): non-position aesthetics are mapped
     Warning (test-compiler-build.r:41:3): non-position aesthetics are mapped
     FAILURE (test-compiler-errors.R:11:3): aes(showSelected=var1, showSelected2=var2) is an error
     FAILURE (test-compiler-errors.R:23:3): informative error for time option with no showSelected
     ERROR (test-compiler-errors.R:36:3): no error for time option with clickSelects
     ERROR (test-compiler-errors.R:48:3): no error for time option with showSelected
     ERROR (test-compiler-errors.R:59:3): no error for time option with color
     ERROR (test-compiler-errors.R:83:3): no warning for no duration vars
     ERROR (test-compiler-errors.R:91:3): warn no key for geom_text with showSelected=duration var
     ERROR (test-compiler-errors.R:116:3): no warning when key specified
     ERROR (test-compiler-errors.R:145:3): warning for position=stack and showSelected
     ERROR (test-compiler-errors.R:170:3): no warning for position=stack without showSelected
     ERROR (test-compiler-geom-line-path.R:125:1): (code run outside of `test_that()`)
     ERROR (test-compiler-plot-named-timexxx.R:29:3): plot named timeSeries is OK without time option list
     ERROR (test-compiler-plot-named-timexxx.R:36:3): plot named timeSeries is OK with time option list
     FAILURE (test-compiler-plot-names.R:7:3): error if we refer to non-existent plot names
     FAILURE (test-compiler-plot-names.R:11:3): error if we refer to non-existent plot names
     ERROR (test-compiler-point-fill-numeric.R:19:3): legends are produced
     ERROR (test-compiler-print.R:11:3): message when out.dir unspecified
     ERROR (test-compiler-print.R:22:3): out.dir option is respected
     ERROR (test-compiler-pt-to-lines.r:8:1): (code run outside of `test_that()`)
     ERROR (test-compiler-save-separate-chunks.R:64:3): save separate chunks for geom_polygon
     ERROR (test-compiler-save-separate-chunks.R:115:3): save separate chunks for geom_point without specifying group
     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 (test-compiler-save-separate-chunks.R:311:3): save separate chunks for non-spatial geoms with nest_order not being group
     ERROR (test-compiler-selectors.R:22:3): first options are copied to selectors
     ERROR (test-compiler-stat-summary.R:10:3): stat_summary does not infinitely recurse
     FAILURE (test-compiler-tallrect.R:17:3): informative error for empty data table
     ERROR (test-compiler-unlink-previous.R:13:1): (code run outside of `test_that()`)
    
     [ FAIL 30 | WARN 2 | SKIP 3 | PASS 697 ]
     Error: Test failures
     Execution halted
Flavor: r-oldrel-windows-ix86+x86_64

Package binsegRcpp

Current CRAN status: NOTE: 2, OK: 10

Version: 2020.9.3
Check: R code for possible problems
Result: NOTE
    plot.binseg_normal: no visible global function definition for ‘plot’
    Undefined global functions or variables:
     plot
    Consider adding
     importFrom("graphics", "plot")
    to your NAMESPACE file.
Flavors: r-oldrel-macos-x86_64, r-oldrel-windows-ix86+x86_64

Package directlabels

Current CRAN status: OK: 12

Package inlinedocs

Current CRAN status: NOTE: 1, OK: 11

Version: 2019.12.5
Check: Rd cross-references
Result: NOTE
    Undeclared package ‘R.methodsS3’ in Rd xrefs
Flavor: r-devel-linux-x86_64-fedora-clang

Package LOPART

Current CRAN status: OK: 12

Package namedCapture

Current CRAN status: NOTE: 8, OK: 4

Version: 2020.4.1
Check: package dependencies
Result: NOTE
    Package suggested but not available for checking: 're2r'
Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-patched-linux-x86_64, r-patched-solaris-x86, r-release-linux-x86_64, r-release-macos-x86_64

Package nc

Current CRAN status: ERROR: 2, NOTE: 8, OK: 2

Version: 2020.8.6
Check: package dependencies
Result: NOTE
    Package suggested but not available for checking: 're2r'
Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-patched-linux-x86_64, r-patched-solaris-x86, r-release-linux-x86_64, r-release-macos-x86_64

Version: 2020.8.6
Check: tests
Result: ERROR
     Running ‘testthat.R’ [18s/9s]
    Running the tests in ‘tests/testthat.R’ failed.
    Last 13 lines of output:
     1. └─nc::capture_first_df(subject, x = list(s = "\\S+$")) test-CRAN-subject.R:21:2
     2. └─base::tryCatch(...)
     3. └─base:::tryCatchList(expr, classes, parentenv, handlers)
     4. └─base:::tryCatchOne(expr, names, parentenv, handlers[[1L]])
     5. └─value[[3L]](cond)
    
     ══ testthat results ═══════════════════════════════════════════════════════════
     ERROR (test-CRAN-df.R:8:3): RE2 default/specified engine respected
     ERROR (test-CRAN-df.R:8:3): ICU default/specified engine respected
     ERROR (test-CRAN-df.R:8:3): PCRE default/specified engine respected
     ERROR (test-CRAN-subject.R:21:3): capture_first_df does not use s arg for subject
    
     [ FAIL 4 | WARN 0 | SKIP 0 | PASS 543 ]
     Error: Test failures
     Execution halted
Flavor: r-oldrel-macos-x86_64

Version: 2020.8.6
Check: tests
Result: ERROR
     Running 'testthat.R' [15s]
    Running the tests in 'tests/testthat.R' failed.
    Complete output:
     > if(require(testthat))test_check("nc")
     Loading required package: testthat
     Loading required package: nc
     -- ERROR (test-CRAN-df.R:8:3): RE2 default/specified engine respected ----------
     Error: problem for subject column f: Error in stop_for_subject(subject): subject has class=factor and length=1 but should be a character vector with length>0
    
     Backtrace:
     x
     1. \-nc::capture_first_df(...) test-CRAN-df.R:8:2
     2. \-base::tryCatch(...)
     3. \-base:::tryCatchList(expr, classes, parentenv, handlers)
     4. \-base:::tryCatchOne(expr, names, parentenv, handlers[[1L]])
     5. \-value[[3L]](cond)
    
     -- ERROR (test-CRAN-df.R:8:3): ICU default/specified engine respected ----------
     Error: problem for subject column f: Error in stop_for_subject(subject): subject has class=factor and length=1 but should be a character vector with length>0
    
     Backtrace:
     x
     1. \-nc::capture_first_df(...) test-CRAN-df.R:8:2
     2. \-base::tryCatch(...)
     3. \-base:::tryCatchList(expr, classes, parentenv, handlers)
     4. \-base:::tryCatchOne(expr, names, parentenv, handlers[[1L]])
     5. \-value[[3L]](cond)
    
     -- ERROR (test-CRAN-df.R:8:3): PCRE default/specified engine respected ---------
     Error: problem for subject column f: Error in stop_for_subject(subject): subject has class=factor and length=1 but should be a character vector with length>0
    
     Backtrace:
     x
     1. \-nc::capture_first_df(...) test-CRAN-df.R:8:2
     2. \-base::tryCatch(...)
     3. \-base:::tryCatchList(expr, classes, parentenv, handlers)
     4. \-base:::tryCatchOne(expr, names, parentenv, handlers[[1L]])
     5. \-value[[3L]](cond)
    
     -- ERROR (test-CRAN-subject.R:21:3): capture_first_df does not use s arg for sub
     Error: problem for subject column x: Error in stop_for_subject(subject): subject has class=factor and length=1 but should be a character vector with length>0
    
     Backtrace:
     x
     1. \-nc::capture_first_df(subject, x = list(s = "\\S+$")) test-CRAN-subject.R:21:2
     2. \-base::tryCatch(...)
     3. \-base:::tryCatchList(expr, classes, parentenv, handlers)
     4. \-base:::tryCatchOne(expr, names, parentenv, handlers[[1L]])
     5. \-value[[3L]](cond)
    
     == testthat results ===========================================================
     ERROR (test-CRAN-df.R:8:3): RE2 default/specified engine respected
     ERROR (test-CRAN-df.R:8:3): ICU default/specified engine respected
     ERROR (test-CRAN-df.R:8:3): PCRE default/specified engine respected
     ERROR (test-CRAN-subject.R:21:3): capture_first_df does not use s arg for subject
    
     [ FAIL 4 | WARN 0 | SKIP 0 | PASS 543 ]
     Error: Test failures
     Execution halted
Flavor: r-oldrel-windows-ix86+x86_64

Package PeakError

Current CRAN status: ERROR: 2, OK: 10

Version: 2017.06.19
Check: running tests for arch ‘i386’
Result: ERROR
     Running 'script.R' [1s]
     Running 'testthat.R' [2s]
    Running the tests in 'tests/script.R' failed.
    Complete output:
     > ## I initially tried writing these tests using testthat, but I got
     > ## errors when using the system() and system2() functions (bug in
     > ## testthat).
     > PeakError_compute.R <- system.file(
     + "exampleData", "PeakError_compute.R",
     + mustWork=TRUE,
     + package="PeakError")
     > Rscript <- R.home(file.path("bin", "Rscript"))
     > exampleData <- system.file("exampleData", package="PeakError", mustWork=TRUE)
     > peaks.bed <- file.path(exampleData, "peaks.bed")
     > labels.bed <- file.path(exampleData, "labels.bed")
     > overlapping.bed <- file.path(exampleData, "overlapping_peaks.bed")
     >
     > ##test_that("PeakError_compute.R correct", {
     > out.file <- tempfile()
     > cmd <- paste(Rscript, PeakError_compute.R, peaks.bed, labels.bed, ">", out.file)
     > status <- system(cmd)
     Error: Usage: compute_error.R peaks.bed labels.bed > errors.bed
     Execution halted
     > errors <- read.table(out.file, sep="\t", header=TRUE)
     Error in file(file, "rt") : cannot open the connection
     Calls: read.table -> file
     In addition: Warning message:
     In file(file, "rt") :
     cannot open file 'D:\temp\RtmpwBPzQd\file25bc417a613c': No such file or directory
     Execution halted
Flavor: r-devel-windows-ix86+x86_64

Version: 2017.06.19
Check: running tests for arch ‘x64’
Result: ERROR
     Running 'script.R' [1s]
     Running 'testthat.R' [2s]
    Running the tests in 'tests/script.R' failed.
    Complete output:
     > ## I initially tried writing these tests using testthat, but I got
     > ## errors when using the system() and system2() functions (bug in
     > ## testthat).
     > PeakError_compute.R <- system.file(
     + "exampleData", "PeakError_compute.R",
     + mustWork=TRUE,
     + package="PeakError")
     > Rscript <- R.home(file.path("bin", "Rscript"))
     > exampleData <- system.file("exampleData", package="PeakError", mustWork=TRUE)
     > peaks.bed <- file.path(exampleData, "peaks.bed")
     > labels.bed <- file.path(exampleData, "labels.bed")
     > overlapping.bed <- file.path(exampleData, "overlapping_peaks.bed")
     >
     > ##test_that("PeakError_compute.R correct", {
     > out.file <- tempfile()
     > cmd <- paste(Rscript, PeakError_compute.R, peaks.bed, labels.bed, ">", out.file)
     > status <- system(cmd)
     Error: Usage: compute_error.R peaks.bed labels.bed > errors.bed
     Execution halted
     > errors <- read.table(out.file, sep="\t", header=TRUE)
     Error in file(file, "rt") : cannot open the connection
     Calls: read.table -> file
     In addition: Warning message:
     In file(file, "rt") :
     cannot open file 'D:\temp\RtmpGMRQam\file2093051dc25c9': No such file or directory
     Execution halted
Flavor: r-devel-windows-ix86+x86_64

Version: 2017.06.19
Check: running tests for arch ‘i386’
Result: ERROR
     Running 'script.R' [1s]
     Running 'testthat.R' [1s]
    Running the tests in 'tests/script.R' failed.
    Complete output:
     > ## I initially tried writing these tests using testthat, but I got
     > ## errors when using the system() and system2() functions (bug in
     > ## testthat).
     > PeakError_compute.R <- system.file(
     + "exampleData", "PeakError_compute.R",
     + mustWork=TRUE,
     + package="PeakError")
     > Rscript <- R.home(file.path("bin", "Rscript"))
     > exampleData <- system.file("exampleData", package="PeakError", mustWork=TRUE)
     > peaks.bed <- file.path(exampleData, "peaks.bed")
     > labels.bed <- file.path(exampleData, "labels.bed")
     > overlapping.bed <- file.path(exampleData, "overlapping_peaks.bed")
     >
     > ##test_that("PeakError_compute.R correct", {
     > out.file <- tempfile()
     > cmd <- paste(Rscript, PeakError_compute.R, peaks.bed, labels.bed, ">", out.file)
     > status <- system(cmd)
     Error: Usage: compute_error.R peaks.bed labels.bed > errors.bed
     Execution halted
     > errors <- read.table(out.file, sep="\t", header=TRUE)
     Error in file(file, "rt") : cannot open the connection
     Calls: read.table -> file
     In addition: Warning message:
     In file(file, "rt") :
     cannot open file 'D:\temp\RtmpWqYOgA\filed8b824091d6e': No such file or directory
     Execution halted
Flavor: r-release-windows-ix86+x86_64

Version: 2017.06.19
Check: running tests for arch ‘x64’
Result: ERROR
     Running 'script.R' [1s]
     Running 'testthat.R' [2s]
    Running the tests in 'tests/script.R' failed.
    Complete output:
     > ## I initially tried writing these tests using testthat, but I got
     > ## errors when using the system() and system2() functions (bug in
     > ## testthat).
     > PeakError_compute.R <- system.file(
     + "exampleData", "PeakError_compute.R",
     + mustWork=TRUE,
     + package="PeakError")
     > Rscript <- R.home(file.path("bin", "Rscript"))
     > exampleData <- system.file("exampleData", package="PeakError", mustWork=TRUE)
     > peaks.bed <- file.path(exampleData, "peaks.bed")
     > labels.bed <- file.path(exampleData, "labels.bed")
     > overlapping.bed <- file.path(exampleData, "overlapping_peaks.bed")
     >
     > ##test_that("PeakError_compute.R correct", {
     > out.file <- tempfile()
     > cmd <- paste(Rscript, PeakError_compute.R, peaks.bed, labels.bed, ">", out.file)
     > status <- system(cmd)
     Error: Usage: compute_error.R peaks.bed labels.bed > errors.bed
     Execution halted
     > errors <- read.table(out.file, sep="\t", header=TRUE)
     Error in file(file, "rt") : cannot open the connection
     Calls: read.table -> file
     In addition: Warning message:
     In file(file, "rt") :
     cannot open file 'D:\temp\RtmpAjUNJc\file285f8205814ab': No such file or directory
     Execution halted
Flavor: r-release-windows-ix86+x86_64

Package PeakSegDisk

Current CRAN status: OK: 12

Package PeakSegDP

Current CRAN status: OK: 12

Package PeakSegJoint

Current CRAN status: OK: 12

Package PeakSegOptimal

Current CRAN status: OK: 12

Package penaltyLearning

Current CRAN status: OK: 12

Package WeightedROC

Current CRAN status: OK: 12