Hi Woodward and Nirgrahamuk, many thanks for replying. Here is my sessionInfo output:
R version 4.0.0 (2020-04-24)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows 10 x64 (build 18363)
Matrix products: default
locale:
[1] LC_COLLATE=English_Singapore.1252
[2] LC_CTYPE=English_Singapore.1252
[3] LC_MONETARY=English_Singapore.1252
[4] LC_NUMERIC=C
[5] LC_TIME=English_Singapore.1252
attached base packages:
[1] stats graphics grDevices
[4] utils datasets methods
[7] base
other attached packages:
[1] leaflet_2.0.3 swirl_2.4.5
loaded via a namespace (and not attached):
[1] Rcpp_1.0.4.6 compiler_4.0.0
[3] bitops_1.0-6 tools_4.0.0
[5] testthat_3.0.0 digest_0.6.25
[7] jsonlite_1.7.1 evaluate_0.14
[9] rlang_0.4.6 crosstalk_1.1.0.1
[11] yaml_2.2.1 xfun_0.19
[13] httr_1.4.2 stringr_1.4.0
[15] knitr_1.30 htmlwidgets_1.5.2
[17] rprojroot_2.0.2 R6_2.5.0
[19] rmarkdown_2.5 magrittr_2.0.1
[21] htmltools_0.4.0 tinytex_0.27
[23] stringi_1.5.3 RCurl_1.98-1.2
I am using the latest version of leaflet, in a newer version of R. should i revert to the older version of R?