* using log directory 'd:/Rcompile/CRANpkg/local/4.4/airGRiwrm.Rcheck' * using R version 4.4.3 (2025-02-28 ucrt) * using platform: x86_64-w64-mingw32 * R was compiled by gcc.exe (GCC) 13.3.0 GNU Fortran (GCC) 13.3.0 * running under: Windows Server 2022 x64 (build 20348) * using session charset: UTF-8 * checking for file 'airGRiwrm/DESCRIPTION' ... OK * this is package 'airGRiwrm' version '0.7.0' * 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 'airGRiwrm' can be installed ... OK * 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 code files for non-ASCII characters ... OK * checking R files for syntax errors ... OK * checking whether the package can be loaded ... [1s] OK * checking whether the package can be loaded with stated dependencies ... [1s] OK * checking whether the package can be unloaded cleanly ... [1s] OK * checking whether the namespace can be loaded with stated dependencies ... [1s] OK * checking whether the namespace can be unloaded cleanly ... [2s] OK * checking loading without being on the library search path ... [1s] 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] OK * checking Rd files ... [1s] 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 ... [1s] 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 ... [13s] ERROR Running examples in 'airGRiwrm-Ex.R' failed The error most likely occurred in: > ### Name: mermaid > ### Title: Plot a mermaid diagram > ### Aliases: mermaid mermaid_gen_link plot.mermaid > > ### ** Examples > > ## Not run: > ##D diagram <- "flowchart LR\n A --> B" > ##D mermaid_gen_link(diagram) > ##D f <- mermaid(diagram) > ##D f > ##D > ##D # For displaying the diagram in Rmarkdown document > ##D knitr::include_graphics(mermaid(diagram)) > ##D > ##D # Clean temporary folder > ##D unlink(f) > ## End(Not run) > > s <- "flowchart LR + A -> B" > class(s) <- c("mermaid", class(s)) > plot(s) Error in png::readPNG(path, native = TRUE) : unable to open D:\temp\2025_12_15_01_50_00_10827\Rtmp06rDci/7b6ed8ff6d5194704bbfe2d06d9048e0.png Calls: plot -> plot.mermaid -> plot_png -> Execution halted * checking for unstated dependencies in 'tests' ... OK * checking tests ... [44s] OK Running 'spelling.R' [0s] Running 'testthat.R' [43s] * checking for unstated dependencies in vignettes ... OK * checking package vignettes ... OK * checking re-building of vignette outputs ... [66s] ERROR Error(s) in re-building vignettes: --- re-building 'V01_Structure_SD_model.Rmd' using rmarkdown Quitting from V01_Structure_SD_model.Rmd:77-79 [diagram] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Error in `png::readPNG()`: ! unable to open D:\temp\2025_12_15_01_50_00_10827\RtmpGqUeIZ/f7208ed80fcc9fb808e5005ccd490fcd.png --- Backtrace: ▆ 1. ├─base::plot(griwrm) 2. └─airGRiwrm::plot.GRiwrm(griwrm) 3. ├─base::plot(diagram, ...) 4. └─airGRiwrm::plot.mermaid(diagram, ...) 5. └─airGRiwrm:::plot_png(file_mmd, add = add) 6. └─png::readPNG(path, native = TRUE) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Error: processing vignette 'V01_Structure_SD_model.Rmd' failed with diagnostics: unable to open D:\temp\2025_12_15_01_50_00_10827\RtmpGqUeIZ/f7208ed80fcc9fb808e5005ccd490fcd.png --- failed re-building 'V01_Structure_SD_model.Rmd' --- re-building 'V02_Calibration_SD_model.Rmd' using rmarkdown --- finished re-building 'V02_Calibration_SD_model.Rmd' --- re-building 'V03_Open-loop_influenced_flow.Rmd' using rmarkdown Quitting from V03_Open-loop_influenced_flow.Rmd:74-76 [diagram] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Error in `png::readPNG()`: ! unable to open D:\temp\2025_12_15_01_50_00_10827\Rtmpy60Bpb/0396adc2b65fb07ce10e2d29b21c9067.png --- Backtrace: ▆ 1. ├─base::plot(griwrmV03) 2. └─airGRiwrm::plot.GRiwrm(griwrmV03) 3. ├─base::plot(diagram, ...) 4. └─airGRiwrm::plot.mermaid(diagram, ...) 5. └─airGRiwrm:::plot_png(file_mmd, add = add) 6. └─png::readPNG(path, native = TRUE) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Error: processing vignette 'V03_Open-loop_influenced_flow.Rmd' failed with diagnostics: unable to open D:\temp\2025_12_15_01_50_00_10827\Rtmpy60Bpb/0396adc2b65fb07ce10e2d29b21c9067.png --- failed re-building 'V03_Open-loop_influenced_flow.Rmd' --- re-building 'V04_Closed-loop_regulated_withdrawal.Rmd' using rmarkdown Quitting from V04_Closed-loop_regulated_withdrawal.Rmd:71-74 [griwm] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Error in `png::readPNG()`: ! unable to open D:\temp\2025_12_15_01_50_00_10827\RtmpaoPqbc/dfaefe933a604bb299988a4cbf67549c.png --- Backtrace: ▆ 1. ├─base::plot(griwrmV04) 2. └─airGRiwrm::plot.GRiwrm(griwrmV04) 3. ├─base::plot(diagram, ...) 4. └─airGRiwrm::plot.mermaid(diagram, ...) 5. └─airGRiwrm:::plot_png(file_mmd, add = add) 6. └─png::readPNG(path, native = TRUE) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Error: processing vignette 'V04_Closed-loop_regulated_withdrawal.Rmd' failed with diagnostics: unable to open D:\temp\2025_12_15_01_50_00_10827\RtmpaoPqbc/dfaefe933a604bb299988a4cbf67549c.png --- failed re-building 'V04_Closed-loop_regulated_withdrawal.Rmd' --- re-building 'V05_Modelling_ungauged_nodes.Rmd' using rmarkdown Quitting from V05_Modelling_ungauged_nodes.Rmd:114-116 [plot_network] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Error in `png::readPNG()`: ! unable to open D:\temp\2025_12_15_01_50_00_10827\RtmpeYEooX/3e3e82f87c0acfdf44b9e570a54f81f2.png --- Backtrace: ▆ 1. ├─base::plot(griwrmV05) 2. └─airGRiwrm::plot.GRiwrm(griwrmV05) 3. ├─base::plot(diagram, ...) 4. └─airGRiwrm::plot.mermaid(diagram, ...) 5. └─airGRiwrm:::plot_png(file_mmd, add = add) 6. └─png::readPNG(path, native = TRUE) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Error: processing vignette 'V05_Modelling_ungauged_nodes.Rmd' failed with diagnostics: unable to open D:\temp\2025_12_15_01_50_00_10827\RtmpeYEooX/3e3e82f87c0acfdf44b9e570a54f81f2.png --- failed re-building 'V05_Modelling_ungauged_nodes.Rmd' --- re-building 'V06_Modelling_regulated_diversion.Rmd' using rmarkdown Quitting from V06_Modelling_regulated_diversion.Rmd:53-65 [unnamed-chunk-3] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Error in `png::readPNG()`: ! unable to open D:\temp\2025_12_15_01_50_00_10827\Rtmpo7LvrU/dcdaef8144d7a6202a8499abddec1c9d.png --- Backtrace: ▆ 1. ├─base::plot(griwrmV06) 2. └─airGRiwrm::plot.GRiwrm(griwrmV06) 3. ├─base::plot(diagram, ...) 4. └─airGRiwrm::plot.mermaid(diagram, ...) 5. └─airGRiwrm:::plot_png(file_mmd, add = add) 6. └─png::readPNG(path, native = TRUE) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Error: processing vignette 'V06_Modelling_regulated_diversion.Rmd' failed with diagnostics: unable to open D:\temp\2025_12_15_01_50_00_10827\Rtmpo7LvrU/dcdaef8144d7a6202a8499abddec1c9d.png --- failed re-building 'V06_Modelling_regulated_diversion.Rmd' --- re-building 'airGRiwrm.Rmd' using rmarkdown --- finished re-building 'airGRiwrm.Rmd' SUMMARY: processing the following files failed: 'V01_Structure_SD_model.Rmd' 'V03_Open-loop_influenced_flow.Rmd' 'V04_Closed-loop_regulated_withdrawal.Rmd' 'V05_Modelling_ungauged_nodes.Rmd' 'V06_Modelling_regulated_diversion.Rmd' Error: Vignette re-building failed. Execution halted * checking PDF version of manual ... [20s] OK * checking HTML version of manual ... [8s] OK * DONE Status: 2 ERRORs