Can't View Map on leaflet package

Hi, I find this issue after I upgrade to RStudio 2022.12.0. I try to plot my work by using splitr package, which uses leaflet package to open OpenStreetMap and plot a kind of tracking things. Here is my code:


traj_ys1 <-
  create_trajectory_model() %>%
    lat = 37.7,
    lon = 121.983,
    height = 50,
    duration = 72,
    days = "2019-12-10",
    daily_hours = c(0, 6, 12, 18),
    direction = "backward",
    met_type = "reanalysis",
    met_dir = here::here("met"),
    exec_dir = here::here("out")
  ) %>%

traj_ys1 %>% trajectory_plot()

However, the view tabs only show white blank with error message: /session/viewhtmlfd8767c4740/index.html?viewer_pane=1&capabilities=1&host=http%3A%2F%2F127.0.0.1%3A10327 not found

Before I upgrade RStudio, evertime I run above code, CPU usage reach 99% and I got white blank on view tab. However, if I restart session, the maps is shown. Now after upgraded RStudio, cpu usage is fine, but the white blank screen and error message appears.

Any idea what happend and how I solve this? Thank you.

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.