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.

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