* using log directory ‘/data/gannet/ripley/R/packages/tests-Suggests/directlabels.Rcheck’ * using R Under development (unstable) (2023-03-29 r84112) * using platform: x86_64-pc-linux-gnu (64-bit) * R was compiled by gcc (GCC) 12.2.1 20221121 (Red Hat 12.2.1-4) GNU Fortran (GCC) 12.2.1 20221121 (Red Hat 12.2.1-4) * running under: Fedora Linux 36 (Workstation Edition) * using session charset: UTF-8 * using option ‘--no-stop-on-test-error’ * checking for file ‘directlabels/DESCRIPTION’ ... OK * this is package ‘directlabels’ version ‘2021.1.13’ * 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 ... OK * checking for portable file names ... OK * checking for sufficient/correct file permissions ... OK * checking whether package ‘directlabels’ can be installed ... [9s/24s] 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 ... [13s/35s] OK * checking Rd files ... OK * checking Rd metadata ... OK * checking Rd line widths ... 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 LazyData ... OK * checking data for ASCII and uncompressed saves ... OK * checking installed files from ‘inst/doc’ ... OK * checking files in ‘vignettes’ ... OK * checking examples ... ERROR Running examples in ‘directlabels-Ex.R’ failed The error most likely occurred in: > ### Name: direct.label > ### Title: Direct labels for color decoding > ### Aliases: direct.label directlabels > > ### ** Examples > > if(require(ggplot2)){ + ## Add direct labels to a ggplot2 scatterplot, making sure that each + ## label is close to its point cloud, and doesn't overlap points or + ## other labels. + scatter <- qplot(jitter(hwy),jitter(cty),data=mpg,colour=class, + main="Fuel efficiency depends on car size") + print(direct.label(scatter)) + } Loading required package: ggplot2 Warning in library(package, lib.loc = lib.loc, character.only = TRUE, logical.return = TRUE, : there is no package called ‘ggplot2’ > > ## direct labels for lineplots that do not overlap and do not go off > ## the plot. > library(nlme) Error in library(nlme) : there is no package called ‘nlme’ Execution halted * checking for unstated dependencies in ‘tests’ ... OK * checking tests ... Running ‘ggplot.R’ Running ‘methods.R’ Running ‘testthat.R’ Running ‘unattached.R’ ERROR Running the tests in ‘tests/methods.R’ failed. Complete output: > library(directlabels) > data(BodyWeight, package="nlme") Error in find.package(package, lib.loc, verbose = verbose) : there is no package called 'nlme' Calls: data -> find.package Execution halted Running the tests in ‘tests/testthat.R’ failed. Complete output: > if(require(testthat))test_check("directlabels") Loading required package: testthat Loading required package: directlabels [ FAIL 2 | WARN 0 | SKIP 0 | PASS 0 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test_lattice.R:2:1'): (code run outside of `test_that()`) ─────────── Error in `library(lattice)`: there is no package called 'lattice' Backtrace: ▆ 1. └─base::library(lattice) at test_lattice.R:2:0 ── Error ('test_nonsyntactic.R:4:3'): Nonsyntactic variable names are accepted ── Error in `library(ggplot2)`: there is no package called 'ggplot2' Backtrace: ▆ 1. └─base::library(ggplot2) at test_nonsyntactic.R:4:2 [ FAIL 2 | WARN 0 | SKIP 0 | PASS 0 ] Error: Test failures Execution halted * checking for unstated dependencies in vignettes ... OK * checking package vignettes in ‘inst/doc’ ... OK * checking re-building of vignette outputs ... OK * checking PDF version of manual ... [10s/30s] OK * checking HTML version of manual ... [4s/11s] OK * checking for non-standard things in the check directory ... OK * checking for detritus in the temp directory ... OK * DONE Status: 2 ERRORs See ‘/data/gannet/ripley/R/packages/tests-Suggests/directlabels.Rcheck/00check.log’ for details. Command exited with non-zero status 1 Time 3:12.64, 62.00 + 8.66