inst/tinytest/test-print.R

## "print method called",{

	geo <- '{"type":"Point","coordinates":[0,0]}'
	attr(geo, "class") <- "geojson"

	expect_stdout(print(geo))

Try the geojsonsf package in your browser

Any scripts or data that you put into this service are public.

geojsonsf documentation built on May 31, 2022, 1:05 a.m.