Fixed an issue in check_5.R (air) to use all.equal() to account for floating point imprecision. Was causing check50 to fail with "air tibble does not contain highest emissions for each county" when some numerics in air$emissions are not exactly equal to the ones in check_5.RData.
Fixed an issue in check_2.R (zelda), check_3.R (zelda), check_4.R (zelda), check_5.R (zelda), check_5.R (air), check_6.R (air), check_7.R (air) to use isTRUE() with all.equal(). When not equal, all.equal() does not return FALSE but instead a vector of differences. Was causing check50 to fail with "invalid argument type".
Fixed an issue in
check_5.R
(air) to useall.equal()
to account for floating point imprecision. Was causingcheck50
to fail with "air tibble does not contain highest emissions for each county" when some numerics inair$emissions
are not exactly equal to the ones incheck_5.RData
.Fixed an issue in
check_2.R
(zelda),check_3.R
(zelda),check_4.R
(zelda),check_5.R
(zelda),check_5.R
(air),check_6.R
(air),check_7.R
(air) to useisTRUE()
withall.equal()
. When not equal,all.equal()
does not returnFALSE
but instead a vector of differences. Was causingcheck50
to fail with "invalid argument type".