We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cbfed3e commit 4ded54eCopy full SHA for 4ded54e
R/application/reflection.R
@@ -15,6 +15,18 @@ const __build_app = function(f) {
15
let context_env = attrs$context_env;
16
let workfiles = attrs$workfiles;
17
18
+ if (str_empty(desc, test_empty_factor=TRUE)) {
19
+ # get description text from the function comment docs
20
+ let json_str = attr(f, which = "r-sharp-help");
21
+
22
+ if (!is.null(json_str)) {
23
+ json_str = JSON::json_decode(json_str);
24
+ json_str = (json_str$description) || (json_str$title);
25
26
+ desc <- json_str;
27
+ }
28
29
30
if (nchar(app_name) == 0) {
31
echo_warning([
32
"invalid application function configuration was found:",
0 commit comments