vubiostat / redcapAPI

R interface to REDCap (http://www.project-redcap.org/)
21 stars 27 forks source link

unlockREDCap changes focus in RStudio #416

Closed spgarbet closed 1 month ago

spgarbet commented 1 month ago

The behavior of rstudioapi::sendToConsole which unlockREDCap relies on for user experience has changed behavior over the last few versions. It looks like the flag focus=FALSE needs to be set on these calls to prevent focus changing and exposing the automagic to the user.