RKWard is in kdereview - again

Thierry Thomas thierry at freebsd.org
Wed Apr 27 21:59:43 BST 2022


Le mer. 27 avr. 22 à 22:04:14 +0200, Thomas Friedrichsmeier <thomas.friedrichsmeier at gmx.de>
 écrivait :

> Hi,

Hello,

> > I just upgraded RKWard to 0.7.3 (just locally, not yet in the ports
> > tree), and the patch of FindR.cmake is no more necessary.
> > 
> > It builds and installs clearly, but I noticed 2 problems:
> > 
> > 1- the tests do not run:
> > 
> > > source("all_tests.R")  
> > Error in source("all_tests.R") : 
> >   all_tests.R:6:9: unexpected string constant
> > 5:         "rkward_application_tests.R"
> > 6:         "import_export_plugins.R"
> 
> yes, sorry. Add a comma behind these two lines (fixed in master,
> meanwhile, but did not touch the release for that).

Yes, sorry for the noise! Just adding a comma (for all lines) fixes the
error, and the tests run without problem.

> > 2- when executing some analysis, no output can be displayed but the
> > following message:
> > 
> > The url you are trying to open ('data:text/html;charset=UTF-8…) is
> > not a local file or the filetype is not supported by RKWard. Do you
> > want to open the url in the default application? Could not find any
> > application or handler for data:text/html;charset=UTF-8…
> 
> Could you detail the steps to reproduce this? Looks like somehow the
> mimetype ended up as the url, but I have never seen this, before.

Something strange: when running all_tests, many output windows are
opened, and everything is fine.

But for manual actions, the error appears, even for very simple things.
E.g. Data / Generate random data, do not change anything and just press
Submit displays "The url you are trying to open
('data:text/html;charset=UTF-8,%3C%3Fxml version%3D%221.0%22
encoding%3D%22UTF-8%22%3F%3E%0A%3Chtml%3E%3Chead%3E%0A%3Ctitle%3ERKWard
Output%3C%2Ftitle%3E%0A%3Clink rel%3D%22StyleSheet%22

8<   8<   8<

href%3D%22rkward%3A%2F%2Frunplugin%2Frkward%3A%3Agenerate_random%2Flength.real%3D10.00%250Amean.real%3D0.00%250Asaveto.objectname%3Drandom%250Asaveto.parent%3D.GlobalEnv%250Asd.real%3D1.00%22%3ERun
again%3C%2Fa%3E%3Chr %2F%3E%0A') is not a local file or the filetype is
not supported by RKWard. Do you want to open the url in the default
application?"

The corresponding code is:
local({
## Compute
.GlobalEnv$my.data[["random"]] <- rnorm (dim (my.data)[1], mean=0.00, sd=1.00)
})

Regards.
-- 
Th. Thomas.


More information about the rkward-devel mailing list