History: r_test
Source of version: 14
- «
- »
Copy to clipboard
R_test intends to be an easy way of testing PluginR development ([http://dev.tikiwiki.org/PluginR]) on advanced usage, where a basic pretty tracker workflow is needed for users to upload a file with data to be processed, and an page with a program in R language has to process it and produce some output for that user. These pages will be created: * ((Profile_r_test_dataset_page)) * ((Profile_r_test_dataset_analysis)) {CODE(caption=>YAML,wrap=>0)} preferences: feature_trackers: y feature_user_watches: y wikiplugin_r: y instructions: Profile_r_test_dataset_page objects: - type: tracker ref: r_test data: name: Datasets description: Standard dataset tracker default_status: open show: [ status, creation_date, modification_date, list_modification_date ] allow: [ comments, attachments ] - type: tracker_field ref: r_test_summary data: name: Summary tracker: $r_test type: text_field flags: [ searchable, public, list, mandatory, link ] order: 10 - type: tracker_field ref: r_test_description data: name: Description tracker: $r_test type: text_area options: 1 flags: [ public, mandatory ] order: 20 - type: tracker_field ref: r_test_from data: name: From user tracker: $r_test type: user flags: [ searchable, public, list ] order: 30 - type: tracker_field ref: r_test_attachment data: name: Dataset file tracker: $r_test type: attachment flags: [ searchable, public, list ] order: 40 {CODE} ! Sample data {CODE(caption=>YAML,wrap=>1)} objects: - type: tracker_item ref: dataset_001 data: tracker: $r_test:r_test status: open values: - [ $r_test:r_test_summary, Sample dataset ] - [ $r_test:r_test_from, admin ] - [ $r_test:r_test_description, "This dataset was created as part of the sample data for r_test." ] - [ $r_test:r_test_attachment, ] - type: tracker_item ref: dataset_002 data: tracker: $r_test:r_test status: pending values: - [ $r_test:r_test_summary, We are working on this dataset ] - [ $r_test:r_test_from, admin ] - [ $r_test:r_test_description, "This will soon be changed" ] - [ $r_test:r_test_attachment, ] - type: tracker_item ref: dataset_003 data: tracker: $r_test:r_test status: closed values: - [ $r_test:r_test_summary, A really old dataset ] - [ $r_test:r_test_from, admin ] - [ $r_test:r_test_description, "This dataset is outdated." ] - [ $r_test:r_test_attachment, ] {CODE} ! Modules {CODE(caption=>YAML)} objects: - type: module ref: module_last_modif_tracker_items data: name: last_modif_tracker_items groups: [ Anonymous, Registered ] position: right order: 5 params: trackerId: $r_test:r_test name: Summary - type: module ref: module_last_tracker_comments data: name: last_tracker_comments groups: [ Anonymous, Registered ] position: right order: 9 {CODE} !!Add a form to add dataset report and a report of open datasets This will include: ((Profile_r_test_dataset_page)) {CODE(caption=>YAML)} instructions: r_test preferences: enable: [ feature_wiki ] objects: - type: wiki_page ref: r_test_page data: name: r_test description: Interface to send datasets lang: en content: wikicontent:Profile_r_test_dataset_page - type: wiki_page ref: r_test_analysis data: name: r_test_analysis_name description: Interface to show the results from the analysis lang: en content: wikicontent:Profile_r_test_dataset_analysis {CODE} !! Useful navigation aid !!! Module wiki side menu {CODE(caption=>YAML,wrap=>1)} objects: - type: module ref: module_menupage data: name: menupage position: right groups: [ Anonymous, Registered ] order: 2 params: pagemenu: $r_test_menupage_include {CODE} !!! Wiki Page for the Menu This will add the page ((r_test_menupage)) as the menu content {CODE(caption=>YAML,wrap="1")} objects: - type: wiki_page ref: r_test_menupage_include data: name: Menu description: Collaborative simple menu lang: en mode: create_or_update content: wikicontent:r_test_menupage {CODE} !!! Extra features enabled for this wiki side menu Add smileys for an easy way to add icons for bullets in the wiki page menu, without making them too much on the right. {CODE(caption=>YAML,wrap="1")} instructions: menu preferences: feature_smileys: y wikiplugin_img: y wikiplugin_div: y wikiplugininline_div: y wikiplugininline_img: y {CODE} !!Todo * add attachment field * send to page with R program to process the data in the attId -=Links=- * [http://dev.tikiwiki.org/PluginR] * [http://r-project.org] * [http://mods.tikiwiki.org/details.php?type=wikiplugins&mod=r]