statsailr_procs_base 0.1.1 → 0.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 6e0d1dc502ec3437a933f302624f5f4da5ee51f14fef0c1b9bbd873b1dd23cd3
4
- data.tar.gz: d19c0f2b485e37149df2e74e853cc14a82ddb38038a04c5b9ab222631c508481
3
+ metadata.gz: ab1d309ac74444b5b0cf7ae6d1097691dbf8c8437bb03853de68c727574ce396
4
+ data.tar.gz: 245ddb37295e6c3dc5581aad3616ba39230bdf31b6aa0d5d33092e055e944432
5
5
  SHA512:
6
- metadata.gz: cdd5aee4641cc52e92dfcdefd793a759c1f6acfc4694b35b67bdeebf0565d0a1a60782e51226b6db64a4a53de0de1825979171ac7e0843bdfc8d4ed1f0519f76
7
- data.tar.gz: a5887f5812df8357aa1c13662a0df3d7a376be94fcec89c9f484b1a966258e7c23ce1bd34cacfcc2e9c512f4df441ca5517f16ee6924ec02c69060072f119c70
6
+ metadata.gz: f2f4fa1fa6ba0b50bf3abf3bd220cce12efdffb2533dd0da3b35cba9d604728084fa913f02f1afcbfd6ed03b5cae67fe18bc5b8c2ed03b7428a436f471c172b6
7
+ data.tar.gz: beba39a0885eff4d70243de4b78e601c30d26b6bdb29dbbb6436501564481b1f482a0beb10efbecf587f6d8350a934d130e592328ccdd6b3150a73a381faf315
data/README.md CHANGED
@@ -76,7 +76,7 @@ end
76
76
  * setting.plot_opt
77
77
  + true/false
78
78
  + Under the situation where graphics device does not show on display and tries to output to a file, this setting is valid.
79
- + If true, StatSailr conducts dev.copy() at the end of this current instruction, and saves graphics device content to file.
79
+ + If true, StatSailr saves graphics device content to file using Cairo.capture() and writePNG()/writeJPEG().
80
80
  + If the current graphics device outputs to display, this setting is useless and ignored.
81
81
 
82
82
 
@@ -92,7 +92,8 @@ The following methods can be used to parse and convert PROC instruction main arg
92
92
  * read_as_realvec
93
93
  * read_as_symbol
94
94
  * read_symbols_as_strvec
95
-
95
+ * read_symbols_or_functions_as_strvec
96
+ * read_named_args_as_named_strvec
96
97
 
97
98
 
98
99
  ## More about setting.runtime_args
@@ -115,6 +116,11 @@ This setting is used to access objects that are generated at runtime, and pass t
115
116
  + (e.g.) 'setting.runtime_args = {"data" => one_from( result("factor", "numeric"), param("data")) }' means the following
116
117
  + If there are already instructions of "factor" or "numeric", use the last result of them.
117
118
  + If not, object that is specified by "data" in PROC options in used.
119
+ * previous_or() method
120
+ + previous_or() can access the previous instruction result.
121
+ + previous_or() takes an argument as its default object. When the instruction is the first one in PROC block, there is no previous result. This default value is used in such a situation.
122
+ * previous_inst_name() method
123
+ + previous_inst_name() can access the previous instruction name.
118
124
 
119
125
 
120
126
  ## Enable custom R function
@@ -162,7 +168,7 @@ module ProcPrint
162
168
 
163
169
  StatSailr PROC instruction settings can be shared by multiple setting modules. The shared setting can be included using add_setting_from() method defined in ProcSettingModule. The included file is also written in module, and the format is almost the same.
164
170
 
165
- In thee following example, ProcScatter or ProPlot?????? include DevCopySetting which provides functionality of dev.copy() function.
171
+ In the following example, ProcScatter or ProPlot?????? include DevCopySetting which provides functionality of dev.copy() function.
166
172
 
167
173
 
168
174
  ```
@@ -2,6 +2,6 @@
2
2
 
3
3
  module StatSailr
4
4
  module ProcsBase
5
- VERSION = "0.1.1"
5
+ VERSION = "0.1.2"
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: statsailr_procs_base
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Toshihiro Umehara
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2021-12-05 00:00:00.000000000 Z
11
+ date: 2021-12-06 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: This 'statsailr_procs_base' gem provides a collection of fundamental
14
14
  PROCs for StatSailr program. This gem is essential for StatSailr to provide a useful