Found the following significant warnings:
  Warning: replacing previous import ‘seewave::wav2flac’ by ‘warbleR::wav2flac’ when loading ‘ohun’
See ‘/home/hornik/tmp/R.check/r-devel-clang/Work/PKGS/ohun.Rcheck/00install.out’ for details.
Missing or unexported objects:
  ‘warbleR::duration_wavs’ ‘warbleR::try_na’
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
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
Found the following significant warnings:
  Warning: replacing previous import ‘seewave::wav2flac’ by ‘warbleR::wav2flac’ when loading ‘ohun’
See ‘/home/hornik/tmp/R.check/r-devel-gcc/Work/PKGS/ohun.Rcheck/00install.out’ for details.
Missing or unexported objects:
  ‘warbleR::duration_wavs’ ‘warbleR::try_na’
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
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
Found the following significant warnings:
  Warning: replacing previous import ‘seewave::wav2flac’ by ‘warbleR::wav2flac’ when loading ‘ohun’
See ‘/data/gannet/ripley/R/packages/tests-clang/ohun.Rcheck/00install.out’ for details.
installed size is  6.8Mb
  sub-directories of 1Mb or more:
    doc   6.1Mb
Missing or unexported objects:
  ‘warbleR::duration_wavs’ ‘warbleR::try_na’
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
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
Found the following significant warnings:
  Warning: replacing previous import ‘seewave::wav2flac’ by ‘warbleR::wav2flac’ when loading ‘ohun’
See ‘/data/gannet/ripley/R/packages/tests-devel/ohun.Rcheck/00install.out’ for details.
Missing or unexported objects:
  ‘warbleR::duration_wavs’ ‘warbleR::try_na’
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
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
installed size is  6.8Mb
  sub-directories of 1Mb or more:
    doc   6.1Mb
Found the following significant warnings:
  Warning: replacing previous import ‘seewave::wav2flac’ by ‘warbleR::wav2flac’ when loading ‘ohun’
See ‘/home/hornik/tmp/R.check/r-patched-gcc/Work/PKGS/ohun.Rcheck/00install.out’ for details.
Missing or unexported objects:
  ‘warbleR::duration_wavs’ ‘warbleR::try_na’
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
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
Found the following significant warnings:
  Warning: replacing previous import ‘seewave::wav2flac’ by ‘warbleR::wav2flac’ when loading ‘ohun’
See ‘/home/hornik/tmp/R.check/r-release-gcc/Work/PKGS/ohun.Rcheck/00install.out’ for details.
Missing or unexported objects:
  ‘warbleR::duration_wavs’ ‘warbleR::try_na’
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
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
installed size is  6.8Mb
  sub-directories of 1Mb or more:
    doc   6.1Mb
installed size is  6.9Mb
  sub-directories of 1Mb or more:
    doc   6.1Mb
installed size is  6.8Mb
  sub-directories of 1Mb or more:
    doc   6.1Mb
installed size is  6.8Mb
  sub-directories of 1Mb or more:
    doc   6.1Mb
installed size is  6.8Mb
  sub-directories of 1Mb or more:
    doc   6.1Mb
Found the following significant warnings:
  Warning: replacing previous import 'seewave::wav2flac' by 'warbleR::wav2flac' when loading 'ohun'
See 'd:/Rcompile/CRANpkg/local/4.3/ohun.Rcheck/00install.out' for details.
installed size is  6.8Mb
  sub-directories of 1Mb or more:
    doc   6.1Mb
Missing or unexported objects:
  'warbleR::duration_wavs' 'warbleR::try_na'
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
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