* using log directory ‘/srv/hornik/tmp/CRAN_pretest/AutoWMM.Rcheck’ * using R Under development (unstable) (2024-09-11 r87117) * using platform: x86_64-pc-linux-gnu * R was compiled by Debian clang version 18.1.8 (9) Debian flang-new version 18.1.8 (9) * running under: Debian GNU/Linux trixie/sid * using session charset: UTF-8 * checking for file ‘AutoWMM/DESCRIPTION’ ... OK * checking extension type ... Package * this is package ‘AutoWMM’ version ‘1.0.0’ * package encoding: UTF-8 * checking CRAN incoming feasibility ... [3s/3s] NOTE Maintainer: ‘The package maintainer ’ New submission Found the following (possibly) invalid URLs: URL: https://github.com/malfly/AutoWMM From: DESCRIPTION Status: 404 Message: Not Found DESCRIPTION fields with placeholder content: Maintainer: The package maintainer * 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 ‘AutoWMM’ can be installed ... [2s/2s] OK * checking package directory ... OK * checking for future file timestamps ... OK * checking ‘build’ directory ... OK * checking DESCRIPTION meta-information ... NOTE Maintainer field differs from that derived from Authors@R Maintainer: ‘The package maintainer ’ Authors@R: ‘Mallory J Flynn ’ * checking top-level files ... NOTE Non-standard file/directory found at top level: ‘cran-comments.md’ * checking for left-over files ... OK * checking index information ... OK * checking package subdirectories ... OK * checking code 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 ... OK * checking S3 generic/method consistency ... OK * checking replacement functions ... OK * checking foreign function calls ... OK * checking R code for possible problems ... [4s/4s] OK * checking Rd files ... [0s/0s] 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 ... [0s/0s] 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 ... [15s/15s] ERROR Running examples in ‘AutoWMM-Ex.R’ failed The error most likely occurred in: > base::assign(".ptime", proc.time(), pos = "CheckExEnv") > ### Name: countTree > ### Title: countTree > ### Aliases: countTree > > ### ** Examples > > ## example admissible dataset > data(treeData1) > tree <- makeTree(treeData1) > Zhats <- wmmTree(tree, sample_length = 10) [1] "using variance-weighted mean with multiplier method sampled path estimates" > countTree(tree) Error in plot.Node(tree) : Package "DiagrammeR" is required to plot a `data.tree::Node`object. Please install it. Calls: countTree -> plot -> plot.Node Execution halted * checking for unstated dependencies in ‘tests’ ... OK * checking tests ... [1s/1s] ERROR Running ‘testthat.R’ [1s/1s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > # This file is part of the standard setup for testthat. > # It is recommended that you do not modify it. > # > # Where should you do additional test configuration? > # Learn more about the roles of various files in: > # * https://r-pkgs.org/testing-design.html#sec-tests-files-overview > # * https://testthat.r-lib.org/articles/special-files.html > > library(testthat) > library(AutoWMM) > > test_check("AutoWMM") [1] "using variance-weighted mean with multiplier method sampled path estimates" [1] "using variance-weighted mean with multiplier method sampled path estimates" [1] "using variance-weighted mean with multiplier method sampled path estimates" [ FAIL 3 | WARN 0 | SKIP 0 | PASS 11 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-check_functions.R:106:3'): countTree function returns correct type ── Error in `plot.Node(tree)`: Package "DiagrammeR" is required to plot a `data.tree::Node`object. Please install it. Backtrace: ▆ 1. ├─testthat::expect_type(countTree(tree), "list") at test-check_functions.R:106:3 2. │ └─testthat::quasi_label(enquo(object), arg = "object") 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. └─AutoWMM::countTree(tree) 5. ├─base::plot(tree) 6. └─data.tree:::plot.Node(tree) ── Error ('test-check_functions.R:112:3'): drawTree function returns correct type ── Error in `plot.Node(tree)`: Package "DiagrammeR" is required to plot a `data.tree::Node`object. Please install it. Backtrace: ▆ 1. ├─testthat::expect_type(drawTree(tree), "list") at test-check_functions.R:112:3 2. │ └─testthat::quasi_label(enquo(object), arg = "object") 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. └─AutoWMM::drawTree(tree) 5. ├─base::plot(tree) 6. └─data.tree:::plot.Node(tree) ── Error ('test-check_functions.R:119:3'): estTree function returns correct type ── Error in `plot.Node(tree)`: Package "DiagrammeR" is required to plot a `data.tree::Node`object. Please install it. Backtrace: ▆ 1. ├─testthat::expect_type(estTree(tree), "list") at test-check_functions.R:119:3 2. │ └─testthat::quasi_label(enquo(object), arg = "object") 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. └─AutoWMM::estTree(tree) 5. ├─base::plot(tree) 6. └─data.tree:::plot.Node(tree) [ FAIL 3 | WARN 0 | SKIP 0 | PASS 11 ] Error: Test failures Execution halted * checking for unstated dependencies in vignettes ... OK * checking package vignettes ... OK * checking re-building of vignette outputs ... [1s/1s] ERROR Error(s) in re-building vignettes: ... --- re-building ‘AutoWMM.Rmd’ using rmarkdown Quitting from lines 77-79 [unnamed-chunk-3] (AutoWMM.Rmd) Error: processing vignette 'AutoWMM.Rmd' failed with diagnostics: Package "DiagrammeR" is required to plot a `data.tree::Node`object. Please install it. --- failed re-building ‘AutoWMM.Rmd’ SUMMARY: processing the following file failed: ‘AutoWMM.Rmd’ Error: Vignette re-building failed. Execution halted * checking PDF version of manual ... [3s/3s] 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: 3 ERRORs, 3 NOTEs