-
-
Notifications
You must be signed in to change notification settings - Fork 212
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
NewDevMod system (#5707) #5711
NewDevMod system (#5707) #5711
Conversation
f6752ca
to
a242aa5
Compare
1e1944e
to
efc8be9
Compare
|
||
std::string _system(std::string cmd) | ||
{ | ||
const char *root, *relativePath; | ||
|
||
if (!rbridge_requestTempFileName("log", &root, &relativePath)) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not that im saying you cant just use temp_directory_path, but im curious as to why.
The code looks good overall btw, ill test it some after the release and if we arent sinking into hotfixhell for the next month we'll probably merge it before @RensDofferhoff is back from vacation. |
2b66256
to
31e0cfa
Compare
* New Devmod System (#5701) * New dev module system (#5690) * initial functional draft * add ugly name thing for now * fix some issues loading sepertly compiled modules on mac * fix more mac specific issues * add shortcuts for manual reload of devmodules , add safety copy to mac --------- Co-authored-by: Rens <example> * Update otoolstuff.cpp * fix windows compile
6bc00b2
to
8d9c0d4
Compare
Like the name and libpath of a direct libpath dev module
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ive made some changes to the GUI and some interactions, making things a bit prettier and userfriendly.
As far as Im concerned this is now all A-OK and can be merged.
Would be nice to have this in the release actually.
Maybe @boutinb wants to have a go though? (At reviewing that is)
This adds a new way to load a development module.
This will serve as a backup method in the future.
Allows developers to load a module directly from a libpath.
This means they can use Rstudio to build the module and its dependencies.
For example:
renv::activate() renv::restore() renv::install('.') .libPaths()
This will install a jasp module using renv and provide a libpath to give to jasp to load the module from. The libpath and name need to be specified in a new textboxes in the advanced settings menu.
Added ways to manually reload module using:
CTRL+SHIFT+D (reloads entire module)
CTRL+SHIFT+U (reloads only QML UI)
CTRL+SHIFT+R (reloads only R, reruns analysis but keeps current set options)
button in modules module to reload entire module
To get this to work on Mac we copy the libpath to tmp folder and do the otoolstuff patch magic that is now found in common/