KWB-R / r2q

R Package with Functions and Exchange for Project R2Q
https://kwb-r.github.io/r2q/
MIT License
0 stars 0 forks source link

kostas: reduce "path" length for portability #4

Closed mrustl closed 3 years ago

mrustl commented 3 years ago
 Error: Error: R CMD check found WARNINGs
    r2q/inst/extdata/KOSTRA/GIS_KOSTRA-DWD-2010R_D4320/GIS_KOSTRA-DWD-2010R_D4320/StatRR_KOSTRA-DWD-2010R_D4320_T050.lyr
    r2q/inst/extdata/KOSTRA/GIS_KOSTRA-DWD-2010R_D4320/GIS_KOSTRA-DWD-2010R_D4320/StatRR_KOSTRA-DWD-2010R_D4320_T050.qml
Execution halted
    r2q/inst/extdata/KOSTRA/GIS_KOSTRA-DWD-2010R_D4320/GIS_KOSTRA-DWD-2010R_D4320/StatRR_KOSTRA-DWD-2010R_D4320_T100.lyr
    r2q/inst/extdata/KOSTRA/GIS_KOSTRA-DWD-2010R_D4320/GIS_KOSTRA-DWD-2010R_D4320/StatRR_KOSTRA-DWD-2010R_D4320_T100.qml

  Tarballs are only required to store paths of up to 100 bytes and cannot
  store those of more than 256 bytes, with restrictions including to 100
  bytes for the final component.
  See section 'Package structure' in the 'Writing R Extensions' manual.

https://github.com/KWB-R/r2q/runs/1918056915?check_suite_focus=true#step:9:636

Proposed solution: Delete douple folder structure, e.g. GIS_KOSTRA-DWD-2010R_D4320/GIS_KOSTRA-DWD-2010R_D4320 to GIS_KOSTRA-DWD-2010R_D4320

mrustl commented 3 years ago

Fixed by https://github.com/KWB-R/r2q/pull/1/commits/3d26eec73cefdf97ae9ad5067921c869c8eb95e1 and https://github.com/KWB-R/r2q/pull/1/commits/51a06a2b2dfe45ad3612e345b628f84ae72cbe7c