Skip to content

Conversation

@tjzurlin
Copy link
Collaborator

Bug Fix: tmp model does not recompile when .model is edited locally

Summary

When using a local .model file with the loadModel(writeTemp = TRUE), the compiled model in tmp/ does not recompile when the local .model file is edited.

Root Cause Analysis

A file.copy is used to copy the local .model file to the tmp/ directory. The hash key is then created on the copied tmp model. If the local .model file is edited, the hash is not changed in tmp/ and the tmp model is not recompiled.

@tjzurlin tjzurlin closed this Jan 18, 2026
@tjzurlin tjzurlin reopened this Jan 18, 2026
@tjzurlin
Copy link
Collaborator Author

This PR did not fix the problem and is being closed.

@tjzurlin tjzurlin closed this Jan 18, 2026
@tjzurlin tjzurlin deleted the bugfix/tmp-model branch January 18, 2026 21:19
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

Successfully merging this pull request may close these issues.

2 participants