Skip to content

Copy CSS files to relevant directory before render() happens via run() - #2448

Closed
cpsievert wants to merge 1 commit into
rstudio:mainfrom
cpsievert:runtime-shiny-css-files
Closed

cpsievert wants to merge 1 commit into
rstudio:mainfrom
cpsievert:runtime-shiny-css-files

Conversation

@cpsievert

Copy link
Copy Markdown
Contributor

Closes #2443
Closes #2447

I'll admit, I'm not confident this is the best way to address these issues, but it's the best one I could think of so far, and would like to know if this seems like a reasonable direction.

I'm also not quite sure why I need to file.copy() to dirname(dirname(output_dest)) to get this to work (shouldn't it be dirname(output_dest)?)

…rectory before render() happens via run()

@cderv cderv left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @cpsievert. This PR is a solution for shiny only, but the issue is more deep in the code base. This is a problem with resource discovery when some intermediate_dir are used. (which is the case of shiny).

See #2486 for a PR with explanation - I'll close this one if you don't mind

@cpsievert

cpsievert commented May 17, 2023 •

Copy link
Copy Markdown
Contributor Author

Sounds good, thanks!

@cpsievert cpsievert closed this May 17, 2023
@github-actions github-actions Bot locked as resolved and limited conversation to collaborators Nov 15, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

Archived in project

2 participants