# HG changeset patch # User mingchen0919 # Date 1521412697 14400 # Node ID ae644a7246673d40ceacb4d74af3c59cbfc7c1dd # Parent 739268ec80df715435bae70623c38acae98f0d79 add r-curl diff -r 739268ec80df -r ae644a724667 get_content_types.Rmd --- a/get_content_types.Rmd Sun Mar 18 17:48:33 2018 -0400 +++ b/get_content_types.Rmd Sun Mar 18 18:38:17 2018 -0400 @@ -18,7 +18,7 @@ ```{r echo=FALSE} -tripal_content = fromJSON() +tripal_content = fromJSON(opt$X_u) ``` ```{r} diff -r 739268ec80df -r ae644a724667 get_content_types.xml --- a/get_content_types.xml Sun Mar 18 17:48:33 2018 -0400 +++ b/get_content_types.xml Sun Mar 18 18:38:17 2018 -0400 @@ -1,11 +1,19 @@ - - Tripal database explorer: get content types + + Tripal database explorer: get content types - - pandocr-getoptr-rmarkdownr-jsonliter-dt - - - + pandoc + r-getopt + r-rmarkdown + r-jsonlite + r-dt + r-curl + + + + + - - - - - + + + + + + + + ]]> + diff -r 739268ec80df -r ae644a724667 get_content_types_render.R --- a/get_content_types_render.R Sun Mar 18 17:48:33 2018 -0400 +++ b/get_content_types_render.R Sun Mar 18 18:38:17 2018 -0400 @@ -18,8 +18,8 @@ # load helper function source(paste0(Sys.getenv('TOOL_DIR'), '/helper.R')) # import getopt specification matrix from a csv file -spec_csv = paste0(Sys.getenv('TOOL_DIR'), '/get_content_types.csv') -opt = getopt(getopt_specification_matrix(spec_csv)) +print(Sys.getenv('TOOL_DIR')) +opt = getopt(getopt_specification_matrix('/get_content_types.csv')) opt$X_t = Sys.getenv('TOOL_DIR') #----------------------------------------------------