[education/rkward] /: Fix minor typos
Yuri Chornoivan
null at kde.org
Mon Apr 25 07:14:45 BST 2022
Git commit 451a50d4b428874f46f7c33a8155ae10415c2956 by Yuri Chornoivan.
Committed on 25/04/2022 at 06:14.
Pushed by yurchor into branch 'master'.
Fix minor typos
M +1 -1 rkward/plugins/00saveload/import/import_generic_rio.js
M +1 -1 rkward/plugins/00saveload/import/import_generic_rio.rkh
M +1 -1 rkward/plugins/distributions/dist_common.js
M +1 -1 tests/import_export_plugins/import_generic_rio.rkcommands.R
M +1 -1 tests/import_export_plugins/import_generic_rio.rkout
https://invent.kde.org/education/rkward/commit/451a50d4b428874f46f7c33a8155ae10415c2956
diff --git a/rkward/plugins/00saveload/import/import_generic_rio.js b/rkward/plugins/00saveload/import/import_generic_rio.js
index 39bb3394..c3d1d436 100644
--- a/rkward/plugins/00saveload/import/import_generic_rio.js
+++ b/rkward/plugins/00saveload/import/import_generic_rio.js
@@ -37,6 +37,6 @@ function calculate(is_preview) {
}
function printout () {
- new Header (i18n ("Genneric data import")).addFromUI ("file").addFromUI ("saveto").print ();
+ new Header (i18n ("Generic data import")).addFromUI ("file").addFromUI ("saveto").print ();
}
diff --git a/rkward/plugins/00saveload/import/import_generic_rio.rkh b/rkward/plugins/00saveload/import/import_generic_rio.rkh
index 6de7eb8f..1053cbb0 100644
--- a/rkward/plugins/00saveload/import/import_generic_rio.rkh
+++ b/rkward/plugins/00saveload/import/import_generic_rio.rkh
@@ -5,7 +5,7 @@
</snippets>
<summary>
Import a variety of formats. This is a generic approach based on the "rio" R package, which in turn depends on a variety of further packages.
-If there is a dedicated plugin for the format you wish to import, using that will usually be preferrable, as it will provide more specific options, and with less packages to install.
+If there is a dedicated plugin for the format you wish to import, using that will usually be preferable, as it will provide more specific options, and with less packages to install.
</summary>
<usage>
diff --git a/rkward/plugins/distributions/dist_common.js b/rkward/plugins/distributions/dist_common.js
index fdfef014..69d6c8d1 100644
--- a/rkward/plugins/distributions/dist_common.js
+++ b/rkward/plugins/distributions/dist_common.js
@@ -67,7 +67,7 @@ function calculate () {
values = 'seq (' + String (dist["min"]) + ', ' + String (dist["max"]) + ', length.out=' + String (max_auto_sequence_length) + ')';
}
} else { // invar == 'p'
- max_auto_sequence_length += 1; // here, an uneven number is preferrable for divisibility of steps by 2
+ max_auto_sequence_length += 1; // here, an uneven number is preferable for divisibility of steps by 2
if (logpd) {
values = '-' + String (max_auto_sequence_length) + ':0';
} else {
diff --git a/tests/import_export_plugins/import_generic_rio.rkcommands.R b/tests/import_export_plugins/import_generic_rio.rkcommands.R
index 2b171c7c..d0731e1c 100644
--- a/tests/import_export_plugins/import_generic_rio.rkcommands.R
+++ b/tests/import_export_plugins/import_generic_rio.rkcommands.R
@@ -5,6 +5,6 @@ require(rio)
data <- import("PATH/import_export_plugins_testfile.sav")
.GlobalEnv$my.rio.data <- data # assign to globalenv()
## Print result
-rk.header ("Genneric data import", parameters=list("File name"="PATH/import_export_plugins_testfile.sav",
+rk.header ("Generic data import", parameters=list("File name"="PATH/import_export_plugins_testfile.sav",
"Object to save to"="my.rio.data"))
})
diff --git a/tests/import_export_plugins/import_generic_rio.rkout b/tests/import_export_plugins/import_generic_rio.rkout
index 72c73242..9fae7eef 100644
--- a/tests/import_export_plugins/import_generic_rio.rkout
+++ b/tests/import_export_plugins/import_generic_rio.rkout
@@ -1,4 +1,4 @@
-<h1>Genneric data import</h1>
+<h1>Generic data import</h1>
<h2>Parameters</h2>
<ul><li>File name: PATH/import_export_plugins_testfile.sav</li>
<li>Object to save to: my.rio.data</li>
More information about the rkward-tracker
mailing list