Как вставить значок в valueBox (flaxdashboard R)? - PullRequest
0 голосов
/ 14 апреля 2019

Я пытался вставить значок в valueBox.Мой код:

renderValueBox({
  valueBox(
    value = scales::dollar(predito_rf()),
    icon = "fa-pencil", 
    color = ifelse(predito_rf() < 3000, 'red', 'lightblue')
  )
})

Но это не работает:

enter image description here

*** Я новичок вflexdashboard.

...