Re: [R-sig-Geo] testing a crs string

2019-06-20 Thread Roy Mendelssohn - NOAA Federal via R-sig-Geo
perfect. Thank you. I thought there must be a function in one of the packages to check. -Roy > On Jun 20, 2019, at 7:42 AM, Edzer Pebesma > wrote: > > > > On 6/20/19 4:18 PM, Roy Mendelssohn - NOAA Federal via R-sig-Geo wrote: >> Hi All: >> >> I am extending a package I have to allow

Re: [R-sig-Geo] testing a crs string

2019-06-20 Thread Edzer Pebesma
On 6/20/19 4:18 PM, Roy Mendelssohn - NOAA Federal via R-sig-Geo wrote: > Hi All: > > I am extending a package I have to allow users to provide a crs string, which > will eventually through some other packages be sent to sf. I like to try and > make at least minimal tests that inputs are

[R-sig-Geo] testing a crs string

2019-06-20 Thread Roy Mendelssohn - NOAA Federal via R-sig-Geo
Hi All: I am extending a package I have to allow users to provide a crs string, which will eventually through some other packages be sent to sf. I like to try and make at least minimal tests that inputs are valid. Is there some existing code that will check if a string is a valid crs string?