Running examples in ‘CoastlineFD-Ex.R’ failed
The error most likely occurred in:

> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: FD
> ### Title: CoastlineFD
> ### Aliases: FD
> 
> ### ** Examples
> 
> DinputPath = list.files(system.file('extdata', package = 'CoastlineFD'),full.names = TRUE)[2]
> BinputPath = list.files(system.file('extdata', package = 'CoastlineFD'),full.names = TRUE)[1]
> netPath = list.files(system.file('extdata', package = 'CoastlineFD'),full.names = TRUE)[3]
> outputPath = paste0(system.file('extdata', package = 'CoastlineFD'), "/FD1985_1986.xlsx")
> 
> FD(
+   DinputPath,
+   BinputPath,
+   netPath,
+   outputPath,
+   c(1985:1986),
+   c(300, 600, 900, 1000, 1050, 1100),
+   0.00,
+   TRUE
+ )
Warning: OGR support is provided by the sf and terra packages among others
Warning: OGR support is provided by the sf and terra packages among others
Warning: OGR support is provided by the sf and terra packages among others
Warning: OGR support is provided by the sf and terra packages among others
Warning: OGR support is provided by the sf and terra packages among others
Warning: OGR support is provided by the sf and terra packages among others
Warning: OGR support is provided by the sf and terra packages among others
Warning: attribute variables are assumed to be spatially constant throughout all geometries
Warning: attribute variables are assumed to be spatially constant throughout all geometries
Warning: attribute variables are assumed to be spatially constant throughout all geometries
Warning: attribute variables are assumed to be spatially constant throughout all geometries
Warning: attribute variables are assumed to be spatially constant throughout all geometries
Warning: attribute variables are assumed to be spatially constant throughout all geometries
Warning: OGR support is provided by the sf and terra packages among others
Warning: OGR support is provided by the sf and terra packages among others
Warning: OGR support is provided by the sf and terra packages among others
Warning: OGR support is provided by the sf and terra packages among others
Warning: OGR support is provided by the sf and terra packages among others
Warning: OGR support is provided by the sf and terra packages among others
Warning: OGR support is provided by the sf and terra packages among others
Warning: attribute variables are assumed to be spatially constant throughout all geometries
Warning: attribute variables are assumed to be spatially constant throughout all geometries
Warning: attribute variables are assumed to be spatially constant throughout all geometries
Warning: attribute variables are assumed to be spatially constant throughout all geometries
Warning: attribute variables are assumed to be spatially constant throughout all geometries
Warning: attribute variables are assumed to be spatially constant throughout all geometries
[ERROR] workbook_close(): Error creating '/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/CoastlineFD/extdata/FD1985_1986.xlsx'. System error = Read-only file system
Error: Error in libxlsxwriter: 'Error creating output xlsx file. Usually a permissions error.'
Execution halted