R/Class-CRS.R
raw| 1 | # Copyright (c) 2003-7 by Barry Rowlingson and Roger Bivand |
| 2 | |
| 3 | setClass("CRS", slots = c(projargs = "character"), |
| 4 | # changed to NA_character_ RSB 2020-02-28 |
| 5 | prototype = list(projargs = NA_character_), |
| 6 | validity = function(object) { |
| 7 | if (length(object@projargs) != 1) |
| 8 | return("projargs must be of length 1") |
| 9 | } |
| 10 | ) |