developing nobs_rasterEngine() function to calculate number of valid observations over a large rasterBrick time series. When testing on tura rasterBrick, I got stuck with the following error:

"chunk processing units require array vector outputs.  Please check your function.
Error in spatial.tools:::focal_hpc_test(x, fun, window_center, window_dims,  :
  21"