Closed rsbivand closed 11 months ago
@florisvdh thanks! The code changes are only in parseGRASS
, converting the XML returned by --interface-description
to the (cached) internal representation used by doGRASS
and execGRASS
. The added test checks that the current version with xml2
is the same as that created when using XML
; the test is for r.out.gdal
. Because xml2
is vectorised but XML
isn't, the conversion isn't completely obvious, but https://gist.github.com/nuest/3ed3b0057713eb4f4d75d11bb62f2d66 was a useful starting point.
@veroandreo Thanks! I'll submit to CRAN when submissions re-open in January.
This needs testing in production settings exercising more GRASS commands and on Windows and macOS: