CRAN Package Check Results for Package ohun

Last updated on 2024-07-25 14:46:30 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 1.0.1 13.85 185.82 199.67 ERROR
r-devel-linux-x86_64-debian-gcc 1.0.1 10.93 144.33 155.26 ERROR
r-devel-linux-x86_64-fedora-clang 1.0.1 259.95 ERROR
r-devel-linux-x86_64-fedora-gcc 1.0.1 248.08 ERROR
r-devel-windows-x86_64 1.0.1 14.00 279.00 293.00 NOTE
r-patched-linux-x86_64 1.0.1 ERROR
r-release-linux-x86_64 1.0.1 9.05 184.77 193.82 ERROR
r-release-macos-arm64 1.0.1 124.00 NOTE
r-release-macos-x86_64 1.0.1 189.00 NOTE
r-release-windows-x86_64 1.0.1 14.00 279.00 293.00 NOTE
r-oldrel-macos-arm64 1.0.1 132.00 NOTE
r-oldrel-macos-x86_64 1.0.1 418.00 NOTE
r-oldrel-windows-x86_64 1.0.1 18.00 207.00 225.00 ERROR

Check Details

Version: 1.0.1
Check: whether package can be installed
Result: WARN Found the following significant warnings: Warning: replacing previous import ‘seewave::wav2flac’ by ‘warbleR::wav2flac’ when loading ‘ohun’ 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-release-linux-x86_64, r-oldrel-windows-x86_64

Version: 1.0.1
Check: dependencies in R code
Result: WARN Missing or unexported objects: ‘warbleR::duration_wavs’ ‘warbleR::try_na’ 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-release-linux-x86_64, r-oldrel-windows-x86_64

Version: 1.0.1
Check: examples
Result: ERROR Running examples in ‘ohun-Ex.R’ failed The error most likely occurred in: > base::assign(".ptime", proc.time(), pos = "CheckExEnv") > ### Name: consensus_detection > ### Title: Remove ambiguous detections > ### Aliases: consensus_detection > > ### ** Examples > > { + # load example data + data("lbh1", "lbh_reference") + + # save sound files + tuneR::writeWave(lbh1, file.path(tempdir(), "lbh2.wav")) + + # template for the first sound file in 'lbh_reference' + templ1 <- lbh_reference[1, ] + + # generate template correlations + tc <- template_correlator( + templates = templ1, path = tempdir(), + files = "lbh2.wav" + ) + + # template detection + td <- template_detector(template.correlations = tc, threshold = 0.12) + + # this detection generates 2 split positives + diagnose_detection( + reference = lbh_reference[lbh_reference == "lbh2.wav", ], + detection = td + ) + + # label detection + ltd <- label_detection( + reference = lbh_reference[lbh_reference == "lbh2.wav", ], + detection = td + ) + + # now they can be filter to keep the detection with the highest score for each split + ftd <- consensus_detection(ltd, by = "scores") + + # splits must be 0 + diagnose_detection( + reference = lbh_reference[lbh_reference == "lbh2.wav", ], + detection = ftd + ) + } all selections are OK Error: 'try_na' is not an exported object from 'namespace:warbleR' Execution halted Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, r-patched-linux-x86_64, r-release-linux-x86_64

Version: 1.0.1
Check: re-building of vignette outputs
Result: ERROR Error(s) in re-building vignettes: ... --- re-building ‘energy_based_detection.Rmd’ using rmarkdown Quitting from lines 249-280 [unnamed-chunk-13] (energy_based_detection.Rmd) Error: processing vignette 'energy_based_detection.Rmd' failed with diagnostics: could not find function "sim_songs" --- failed re-building ‘energy_based_detection.Rmd’ --- re-building ‘intro_to_ohun.Rmd’ using rmarkdown --- finished re-building ‘intro_to_ohun.Rmd’ --- re-building ‘template_based_detection.Rmd’ using rmarkdown Quitting from lines 150-155 [unnamed-chunk-9] (template_based_detection.Rmd) Error: processing vignette 'template_based_detection.Rmd' failed with diagnostics: 'try_na' is not an exported object from 'namespace:warbleR' --- failed re-building ‘template_based_detection.Rmd’ SUMMARY: processing the following files failed: ‘energy_based_detection.Rmd’ ‘template_based_detection.Rmd’ Error: Vignette re-building failed. Execution halted Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, r-patched-linux-x86_64, r-release-linux-x86_64

Version: 1.0.1
Check: installed package size
Result: NOTE installed size is 6.8Mb sub-directories of 1Mb or more: doc 6.1Mb Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-windows-x86_64, r-release-macos-arm64, r-release-macos-x86_64, r-release-windows-x86_64, r-oldrel-macos-arm64, r-oldrel-macos-x86_64, r-oldrel-windows-x86_64

Version: 1.0.1
Check: examples
Result: ERROR Running examples in ‘ohun-Ex.R’ failed The error most likely occurred in: > ### Name: consensus_detection > ### Title: Remove ambiguous detections > ### Aliases: consensus_detection > > ### ** Examples > > { + # load example data + data("lbh1", "lbh_reference") + + # save sound files + tuneR::writeWave(lbh1, file.path(tempdir(), "lbh2.wav")) + + # template for the first sound file in 'lbh_reference' + templ1 <- lbh_reference[1, ] + + # generate template correlations + tc <- template_correlator( + templates = templ1, path = tempdir(), + files = "lbh2.wav" + ) + + # template detection + td <- template_detector(template.correlations = tc, threshold = 0.12) + + # this detection generates 2 split positives + diagnose_detection( + reference = lbh_reference[lbh_reference == "lbh2.wav", ], + detection = td + ) + + # label detection + ltd <- label_detection( + reference = lbh_reference[lbh_reference == "lbh2.wav", ], + detection = td + ) + + # now they can be filter to keep the detection with the highest score for each split + ftd <- consensus_detection(ltd, by = "scores") + + # splits must be 0 + diagnose_detection( + reference = lbh_reference[lbh_reference == "lbh2.wav", ], + detection = ftd + ) + } all selections are OK Error: 'try_na' is not an exported object from 'namespace:warbleR' Execution halted Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-oldrel-windows-x86_64

Version: 1.0.1
Check: re-building of vignette outputs
Result: ERROR Error(s) in re-building vignettes: --- re-building ‘energy_based_detection.Rmd’ using rmarkdown Quitting from lines 249-280 [unnamed-chunk-13] (energy_based_detection.Rmd) Error: processing vignette 'energy_based_detection.Rmd' failed with diagnostics: could not find function "sim_songs" --- failed re-building ‘energy_based_detection.Rmd’ --- re-building ‘intro_to_ohun.Rmd’ using rmarkdown --- finished re-building ‘intro_to_ohun.Rmd’ --- re-building ‘template_based_detection.Rmd’ using rmarkdown Quitting from lines 150-155 [unnamed-chunk-9] (template_based_detection.Rmd) Error: processing vignette 'template_based_detection.Rmd' failed with diagnostics: 'try_na' is not an exported object from 'namespace:warbleR' --- failed re-building ‘template_based_detection.Rmd’ SUMMARY: processing the following files failed: ‘energy_based_detection.Rmd’ ‘template_based_detection.Rmd’ Error: Vignette re-building failed. Execution halted Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-oldrel-windows-x86_64