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

add_ssffTrackDefinition() doesn't overwrite existing files even when told to #265

Open
kirbyj opened this issue Oct 13, 2022 · 0 comments
Open

Comments

@kirbyj
Copy link

kirbyj commented Oct 13, 2022

> path2ae = file.path(tmpdir(), "emuR_demoData", "ae_emuDB")
> ae = load_emuDB(path2ae, verbose = F)
> remove_ssffTrackDefinition(ae, "fm", deleteFiles = FALSE)
> add_ssffTrackDefinition(ae, "fm", onTheFlyFunctionName = "forest")
There are files present in 'ae' that have the file extention 'fms'! Continuing will overwrite these files! Do you wish to proceed? (y/n) y

... nothing happens. However:

> remove_ssffTrackDefinition(ae, "fm", deleteFiles = TRUE)
> add_ssffTrackDefinition(ae, "fm", onTheFlyFunctionName = "forest")

  INFO: applying forest to 7 files
  |===========================================================================================================| 100%

Shouldn't answering y when asked if it's OK to overwrite the existing files trigger the same behaviour?

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

1 participant