Thanks! That has helped fix the error I was getting from the golem test.
Unfortunately I'm still hitting the issue with the shinytest, where it's passing devtools::test, but failing devtools::check with this issue
-- 1. Error: Application works (@test-appload.R#8) ----------------------------------------------------------
Unknown whether app is a regular Shiny app or .Rmd:
Backtrace:
- shinytest::expect_pass(testApp(appdir, compareImages = TRUE))
- shinytest::testApp(appdir, compareImages = TRUE)
- shinytest:::is_rmd(appDir)
When I run the is_rmd function outside of the check it works fine as well, very odd