For Question about CRS:
_As discussed earlier, our point coordinates are in degree latitude and
longitude. Set the CRS of 'n3' to the World Geodetic System (aka WGS84) with
the following line - crs(n3) <- "+proj=longlat +datum=WGS84 +nodefs +ellps=WGS84 +towgs84=0,0,0"
answer that works does not include "crs(n3) <-" but the skip() option includes it so it fails
Also in Coordinate_Reference_Systems/ lesson the following does not work as NAD83 doesn't exist.
Class: cmd_question
Output: As we do not have a role model data set right now, we will transform the data from its current WGS84 UTM zone to a version of NAD83, that fits southern Washington State. Type 'NAD83' to display a string, that contains CRS information we prepared for you.
CorrectAnswer: NAD83
AnswerTests: omnitest(correctExpr='NAD83')
Hint: Just type NAD83 and execute it.
Spatial_Data_inR/Import&_Export_Data/customTests.R
For Question about CRS: _As discussed earlier, our point coordinates are in degree latitude and longitude. Set the CRS of 'n3' to the World Geodetic System (aka WGS84) with the following line - crs(n3) <- "+proj=longlat +datum=WGS84 +nodefs +ellps=WGS84 +towgs84=0,0,0"
answer that works does not include "crs(n3) <-" but the skip() option includes it so it fails
crs(n3) <- "+proj=longlat +datum=WGS84 +no_defs +ellps=WGS84 +towgs84=0,0,0"
| You're close...I can feel it! Try it again. Or, type info() for more options.
This works:
"+proj=longlat +datum=WGS84 +no_defs +ellps=WGS84 +towgs84=0,0,0"
[1] "+proj=longlat +datum=WGS84 +no_defs +ellps=WGS84 +towgs84=0,0,0"| That's a job well done!