'LazyData' is specified without a 'data' directory
'LazyData' is specified without a 'data' directory
Running examples in ‘mptools-Ex.R’ failed
The error most likely occurred in:

> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: kch
> ### Title: Extract Metapop KCH
> ### Aliases: kch
> 
> ### ** Examples
> 
> mp <- system.file('example.mp', package='mptools')
> k <- kch(meta=meta(mp), path=dirname(mp))
Extracting population metadata from file:
/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/mptools/example.mp
Warning in gsub("[^[:print:]]", "", metapop[1]) :
  unable to translate 'Metapopulation input file (5.1) map=<ff>' to a wide string
Error in gsub("[^[:print:]]", "", metapop[1]) : input string 1 is invalid
Calls: kch ... path.expand -> file.path -> meta -> check_mp -> gsub
Execution halted
Error(s) in re-building vignettes:
  ...
--- re-building ‘intro.Rmd’ using rmarkdown
Extracting simulation results from file:
/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/mptools/example.mp
Quitting from lines 77-79 (intro.Rmd) 
Error: processing vignette ‘intro.Rmd’ failed with diagnostics:
input string 1 is invalid
--- failed re-building ‘intro.Rmd’

SUMMARY: processing the following file failed:
  ‘intro.Rmd’

Error: Vignette re-building failed.
Execution halted
'LazyData' is specified without a 'data' directory
Running examples in ‘mptools-Ex.R’ failed
The error most likely occurred in:

> ### Name: kch
> ### Title: Extract Metapop KCH
> ### Aliases: kch
> 
> ### ** Examples
> 
> mp <- system.file('example.mp', package='mptools')
> k <- kch(meta=meta(mp), path=dirname(mp))
Extracting population metadata from file:
/data/gannet/ripley/R/packages/tests-clang/mptools.Rcheck/mptools/example.mp
Warning in gsub("[^[:print:]]", "", metapop[1]) :
  unable to translate 'Metapopulation input file (5.1) map=<ff>' to a wide string
Error in gsub("[^[:print:]]", "", metapop[1]) : input string 1 is invalid
Calls: kch ... path.expand -> file.path -> meta -> check_mp -> gsub
Execution halted
Error(s) in re-building vignettes:
--- re-building ‘intro.Rmd’ using rmarkdown
Extracting simulation results from file:
/data/gannet/ripley/R/packages/tests-clang/mptools.Rcheck/mptools/example.mp
Quitting from lines 77-79 (intro.Rmd) 
Error: processing vignette 'intro.Rmd' failed with diagnostics:
input string 1 is invalid
--- failed re-building ‘intro.Rmd’

SUMMARY: processing the following file failed:
  ‘intro.Rmd’

Error: Vignette re-building failed.
Execution halted
'LazyData' is specified without a 'data' directory
Running examples in ‘mptools-Ex.R’ failed
The error most likely occurred in:

> ### Name: kch
> ### Title: Extract Metapop KCH
> ### Aliases: kch
> 
> ### ** Examples
> 
> mp <- system.file('example.mp', package='mptools')
> k <- kch(meta=meta(mp), path=dirname(mp))
Extracting population metadata from file:
/data/gannet/ripley/R/packages/tests-devel/mptools.Rcheck/mptools/example.mp
Warning in gsub("[^[:print:]]", "", metapop[1]) :
  unable to translate 'Metapopulation input file (5.1) map=<ff>' to a wide string
Error in gsub("[^[:print:]]", "", metapop[1]) : input string 1 is invalid
Calls: kch ... path.expand -> file.path -> meta -> check_mp -> gsub
Execution halted
Error(s) in re-building vignettes:
--- re-building ‘intro.Rmd’ using rmarkdown
Extracting simulation results from file:
/data/gannet/ripley/R/packages/tests-devel/mptools.Rcheck/mptools/example.mp
Quitting from lines 77-79 (intro.Rmd) 
Error: processing vignette 'intro.Rmd' failed with diagnostics:
input string 1 is invalid
--- failed re-building ‘intro.Rmd’

SUMMARY: processing the following file failed:
  ‘intro.Rmd’

Error: Vignette re-building failed.
Execution halted
'LazyData' is specified without a 'data' directory
Running examples in 'mptools-Ex.R' failed
The error most likely occurred in:

> ### Name: kch
> ### Title: Extract Metapop KCH
> ### Aliases: kch
> 
> ### ** Examples
> 
> mp <- system.file('example.mp', package='mptools')
> k <- kch(meta=meta(mp), path=dirname(mp))
Extracting population metadata from file:
D:/RCompile/CRANpkg/lib/4.3/mptools/example.mp
Warning in gsub("[^[:print:]]", "", metapop[1]) :
  unable to translate 'Metapopulation input file (5.1) map=<ff>' to a wide string
Error in gsub("[^[:print:]]", "", metapop[1]) : input string 1 is invalid
Calls: kch ... path.expand -> file.path -> meta -> check_mp -> gsub
Execution halted
Error(s) in re-building vignettes:
--- re-building 'intro.Rmd' using rmarkdown
Extracting simulation results from file:
D:/RCompile/CRANpkg/lib/4.3/mptools/example.mp
Quitting from lines 77-79 (intro.Rmd) 
Error: processing vignette 'intro.Rmd' failed with diagnostics:
input string 1 is invalid
--- failed re-building 'intro.Rmd'

SUMMARY: processing the following file failed:
  'intro.Rmd'

Error: Vignette re-building failed.
Execution halted
'LazyData' is specified without a 'data' directory
'LazyData' is specified without a 'data' directory
'LazyData' is specified without a 'data' directory
'LazyData' is specified without a 'data' directory
'LazyData' is specified without a 'data' directory
'LazyData' is specified without a 'data' directory
'LazyData' is specified without a 'data' directory
'LazyData' is specified without a 'data' directory