baeda-polito / student-energy-dashboard

Provides an interactive energy data analytics dashboard to inspect data and perform advanced data mining analysis. It is an open source project promoted by BAEDA Lab in the framework of MSC thesis courses at Politecnico di Torino (Italy)
https://baeda-polito.github.io/student-energy-dashboard/
MIT License
0 stars 0 forks source link

Font Awesome deprecated icons #9

Closed RobertoChiosa closed 1 year ago

RobertoChiosa commented 1 year ago

When running the following warning is displayed for different icons. Update needed

This Font Awesome icon ('sync') does not exist:
* if providing a custom `html_dependency` these `name` checks can 
  be deactivated with `verify_fa = FALSE`
RobertoChiosa commented 1 year ago

Fixed icons in code. The remaining warnings are related to shinydashboard package for example

This Font Awesome icon ('warning') does not exist:
* if providing a custom `html_dependency` these `name` checks can 
  be deactivated with `verify_fa = FALSE`

is related to the function

function (text, icon = shiny::icon("warning"), status = "success", 
  href = NULL) 
{
  tagAssert(icon, type = "i")
  validateStatus(status)
  if (is.null(href)) 
    href <- "#"
  icon <- tagAppendAttributes(icon, class = paste0("text-", 
    status))
  tags$li(a(href = href, icon, text))
}

I am closing the issue