successful-methods: Convenience function for GDP process state

Description Usage Arguments Value Author(s) See Also Examples

Description

Simple wrapper to check process status

Usage

1
2
3
4
5
6
7
successful(.Object, retry)
error(.Object, retry)
running(.Object, retry)

running(.Object, retry = FALSE)

error(.Object, retry = FALSE)

Arguments

.Object

a geojob object or geojob ID (character)

retry

logical, attempt to retry again if communication failed with the server

Value

TRUE/FALSE indicating if process is in the given state (error, processing, successful)

Author(s)

Luke Winslow, Jordan S Read

See Also

check

Examples

1
2
3
4
5
6
7
8
9
## Not run: 
job <- geoknife(stencil = c(-89,42), fabric = 'prism')
check(job)

running(job)
error(job)
successful(job)

## End(Not run)

eric-erki/geoknife documentation built on Dec. 31, 2019, 12:54 a.m.