I wrote the Package NetExplorer that creates a html file to visualize a network. The file was created in the user R library folder but this violates the CRAN Policies. I created the file in the TMPDIR whith the following command:
tempdir <- tempfile()
dir.create(tempdir)
tmpFile <- file.path(tempdir, "Net.html")
However, CRAN policies say that such usage should be cleaned up. How could I achieve that as without the created file the network cannot be visualized?
Thank you in advance for your help.
Regards