Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Vignettes code fails to run: Error: could not find function "navbarPage" #18

Open
barracuda156 opened this issue Jun 26, 2024 · 1 comment

Comments

@barracuda156
Copy link

* checking running R code from vignettes ...
  ‘fresh.Rmd’ using ‘UTF-8’... failed
  ‘vars-bs4dash.Rmd’ using ‘UTF-8’... OK
  ‘vars-shiny.Rmd’ using ‘UTF-8’... OK
  ‘vars-shinydashboard.Rmd’ using ‘UTF-8’... OK
 ERROR
Errors in running code in vignettes:
when running code in ‘fresh.Rmd’
  ...

> mytheme <- create_theme(theme = "default", bs_vars_navbar(default_bg = "#75b8d1", 
+     default_color = "#FFFFFF", default_link_color = "#FFFFFF",  .... [TRUNCATED] 

> navbarPage(title = "Custom navbar", header = tagList(use_theme(mytheme)), 
+     tabPanel("Tab 1"), tabPanel("Tab 2"))

  When sourcing ‘fresh.R’:
Error: could not find function "navbarPage"
Execution halted

* checking re-building of vignette outputs ... SKIPPED
* DONE

Status: 1 ERROR
@pvictor
Copy link
Member

pvictor commented Jun 26, 2024

This code is not supposed to be evaluated as specified here :

eval = FALSE

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants