diff --git a/R/data.R b/R/data.R index eec8769..d385d20 100644 --- a/R/data.R +++ b/R/data.R @@ -32,7 +32,7 @@ #' A simple feature \code{sf} object of roads in central Melbourne #' #' @details -#' Obtained from \url{www.data.gov.au} and distributed under the Creative Commons 4 License +#' Obtained from \url{http://www.data.gov.au} and distributed under the Creative Commons 4 License #' \url{https://creativecommons.org/licenses/by/4.0/} #' #' @format An sf and data frame object with 18286 observations and 16 variables diff --git a/inst/include/spatialwidget/spatialwidget.hpp b/inst/include/spatialwidget/spatialwidget.hpp index 29bd44e..acfeca8 100644 --- a/inst/include/spatialwidget/spatialwidget.hpp +++ b/inst/include/spatialwidget/spatialwidget.hpp @@ -404,7 +404,7 @@ namespace api { Rcpp::NumericMatrix colour_mat = lst_columnar[ colour_column ]; Rcpp::NumericMatrix t_colour_mat = Rcpp::transpose( colour_mat ); - t_colour_mat = t_colour_mat / 255.0; // TODO: remove if / when colourvalues returns scaled values + //t_colour_mat = t_colour_mat; / 255.0; // TODO: remove if / when colourvalues returns scaled values t_colour_mat.attr("dim") = R_NilValue; lst_columnar[ colour_column ] = t_colour_mat; diff --git a/man/widget_roads.Rd b/man/widget_roads.Rd index edc5baa..6477794 100644 --- a/man/widget_roads.Rd +++ b/man/widget_roads.Rd @@ -12,7 +12,7 @@ widget_roads A simple feature \code{sf} object of roads in central Melbourne } \details{ -Obtained from \url{www.data.gov.au} and distributed under the Creative Commons 4 License +Obtained from \url{http://www.data.gov.au} and distributed under the Creative Commons 4 License \url{https://creativecommons.org/licenses/by/4.0/} } \keyword{datasets}