update R function

I was wondering if it was possible to have an update.R() in RStudio to update the R package instead of updating it from CRAN. This would be akin to installing packages using install.packages().

I am being a bit naive hence it is only a possible suggestion. I want to understand if there are technical challenges to having a feature such as that.

Thank you very much.

Hi @psom25,
Welcome to the RStudio Community Forum.

The functionality you suggested (plus lots more) is provided in the installr package available on CRAN.

Base R already has an update.packages() function

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.