-
Notifications
You must be signed in to change notification settings - Fork 159
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
Cleanup old code #240
Comments
Agree to removing
|
Not a function, but there's a 4year+ old TODO document which seems out of date.
|
I think it is safe to remove the |
I had this in #210 , but I think it's more appropriate here. When I was working on #234 , I found that ProjectTemplate/R/create.project.R Lines 49 to 54 in 8072e51
The 1st call works fine and stops correctly. If the 1st call is commented out, the 2nd call does not work correctly and creates a project within a project. |
Nice spot @rsangole. Lets move the fix here as you suggest. |
Hmm I'm actually thinking that is just a separate bug, I was working on a fix but haven't created the PR yet. It really are two separate checks which both are useful and can't be merged. They just check the wrong directory. |
ok I'll reopen #210 |
While documenting all functions I discovered a few functions that seem to be unused anywhere. They are not called from other functions and are not exported into the namespace. I'm listing candidates for removal here, please comment to substantiate why we should keep them:
cache.name
in R/cache.name.R.cache.status
in R/cache.R.unload.project
in R/load.project.R (This function is only called from two tests where they seem to test completely unrelated stuff. Those function calls should be removed anyway, if clearing memory is necessaryclear
should be preferred)If you think more functions can be removed also please comment.
These functions should be marked deprecated by use of the
.Deprecated
function, so we later can mark them.Defunct
and eventually remove them altogether.The text was updated successfully, but these errors were encountered: