Running examples in 'ParallelDSM-Ex.R' failed
The error most likely occurred in:

> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: ParallelInit_Test
> ### Title: Data initialization function is the first step to complete
> ###   parallel training
> ### Aliases: ParallelInit_Test
> 
> ### ** Examples
> 
> #####################################################################
> ##  Example code 1                                                 ##
> ##  Select your own reading method, as shown below                 ##
> #####################################################################
> mydatas <- system.file("extdata", "all.input.csv", package = "ParallelDSM")
> sampledatas <- system.file("extdata", "covariate", package = "ParallelDSM")
> ParallelInit(mydatas,sampledatas,"socd030 ~ twi + dem + pa")
[1] "/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/ParallelDSM/extdata/covariate/twi.tif"
> 
> #####################################################################
> ##  Example code 2 (It is highly recommended)                      ##
> ##  If you want to use test cases, load the relevant data sets     ##
> ##  Select the data set that comes with this package
> 
> library(ParallelDSM)
> data("df.input",package = "ParallelDSM")
> data("df.dem",package = "ParallelDSM")
> data("df.twi",package = "ParallelDSM")
> sampledata <- system.file("extdata", "covariate", package = "ParallelDSM")
> ParallelInit_Test(sampledata,df.input,dsmformula = "socd030 ~ twi + dem")
class      : RasterLayer 
dimensions : 777, 486, 377622  (nrow, ncol, ncell)
resolution : 1000, 1000  (x, y)
extent     : 2166279, 2652279, 953974.5, 1730974  (xmin, xmax, ymin, ymax)
crs        : +proj=aea +lat_1=39.5 +lat_2=41.7 +lat_0=37 +lon_0=100 +x_0=500000 +y_0=0 +datum=WGS84 +units=m +no_defs +ellps=WGS84 +towgs84=0,0,0 
Error in basename(filename(object)) : 
  unable to translate '/Users/guaokuangsheng/testR/R<U+5305>/ParallelDSM/inst/extdata/covariate/dem.tif' to native encoding
Calls: ParallelInit_Test ... print.default -> <Anonymous> -> <Anonymous> -> cat -> basename
Execution halted