-
Notifications
You must be signed in to change notification settings - Fork 38
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
Enable forceInstall=TRUE option to force re-installation of all packages and dependencies #183
Comments
I like the idea of a The Typically this happens if you have a syntax error (e.g. missing parentheses) in that script, or perhaps remnants of code or output that should really be commented out. So, to debug, run the script in question and see where R throws an error. If there is in fact a bug in the parsing code, then it would help if you can provide an example of a script that runs fine, but can not be parsed by Also, as a last resort, you can create a "manifest" file consisting purely of (Any additional information you have will also be helpful.) I hope this helps. |
If the .R had a syntax error it would be easy to debug. But the syntax is correct. :) Part of the problem with the debugging is that the source file is huge and I'm currently not in a position to change that. Basically my main issue with checkpoint is that it works fine if everyone follows best practice but I'd love to have some ways to get it going if the source is ugly. :) |
Hi, Stefan I'd love to receive an example of a file with valid syntax that cannot be parsed. Meanwhile, you ask for a way "to get it going if the source is ugly". My recommendation is to create a separate R script consisting purely of Good luck! |
I'm implementing this using a new argument |
* dev: Checks if the project looks like an R project and asks for confirmation. #227 Add functionality to force re-installation of all discovered packages and dependencies. #183 Run Travis tests also for NOT_CRAN="false" Test if logfile exists must be skipped on CRAN #225 Add function to list checkpoint archives and remove archives #228
Thanks a lot! This was a major hurdle to adoption here. I'm sorry that I couldn't be of more help with debugging and implementation. :( Stefan |
Hi,
on a project
checkpoint
maneuvered itself (once again) into a broken, inconsistent state with half the dependencies of the installed packages missing. This is most likely related to aUnable to parse 1 files
(but that error is impossible to debug so I wouldn't know). :)Now I know that the problem itself is not narrow enough for a bug report but you could include a
force=TRUE
option that reinstalls everything even if checkpoint thinks it already did that.Right now I delete the snapshot directory. But that takes longer and means I have to reinstall everything in every project and not just the packages used in the project at hand.
Thank you
Stefan
The text was updated successfully, but these errors were encountered: