If I edit an existing function in my R package and then run devtools::load_all()
, the loaded function will be the pre-edited version. If I create a new function and run devtools::load_all()
then that new function is loaded, and I can use it in my session. Importantly, if I edit the new function, and run devtools::load_all()
, then the edits are updated in the new function in my session.
Why is devtools::load_all()
not loaded updated functions in my package? I'm guessing that I'm not the only one who has run into this issue, but I cannot find any issues posted about such a problem.
Another annoying thing about devtools::load_all()
: the quick key of Cmd/Ctrl + Shift + L
doesn't work (I'm using mac RStudio 2022.07.1 ). Instead Cmd/Ctrl + Shift + L
just highlights the next line of code, with repeated Cmd/Ctrl + Shift + L
highlighting more and more lines of code