I'm using mapview version 2.9.3 installed from github and R version 4.0.2. I've been able to get this code to work using v2.8.1. Here's the code I'm running:
library(sf)
library(mapview)
library(tidyverse)
library(lubridate)
library(leaflet)
library(crawl)
pred <- readRDS("TtTag034_crawl5min_predicted.rds") # predicted trajectory
lines <- pred %>% crw_as_sf(., "LINESTRING", locType = "p") # make sf linestring object of trajectory
lines %>% mapview::mapview(map.types = "Esri.OceanBasemap") # plot
Hi,
I'm trying to knit an html rmarkdown document and keep getting this error:
I'm using mapview version 2.9.3 installed from github and R version 4.0.2. I've been able to get this code to work using v2.8.1. Here's the code I'm running:
And my session info:
Any thoughts would be greatly appreciated, thanks in advance!