| home | projects | pietalib |
require(pietalib) localDir <- "/Users/pschofield/" fileName <- "index" projName <- "pietalib" projDir <- paste0("/homes/pschofield/Projects/",projName,"/") urlStub <- paste0("/PietaSchofield/",projName,"/") if(FALSE){ knit(input=paste0(localDir,"git_hub/",projName,"/wiki/",fileName,".Rmd"), output=paste0(localDir,"git_hub/",projName,".wiki/Home.md")) buildAll(projName,fileName,outdir=paste0(projDir,"web"), indir=paste0(localDir,"git_hub/",projName,"/wiki/"),explicit=T) }
This page attempts to document the creation of my pietalib personal package of function. I am attempting to do this outside RStudio using the devtools package from the command line, and Hadley Wickham's Book as a reference
# change to the development directory setwd("/Users/pschofield/git_hub/pietalib") # create a test directory devtools::use_testthat() # create the documentation from the roxygen comments in the R sources devtools::document() # load the package for testing devtools::load_all() # run the test scripts stored in the tests subdirectory devtools::test() # install the packages so it can be used outwith the source directory devtools::install(reload=T) # get the help for one of the functions help(subScript) devtools::use_data_raw() devtools::use_vignette("pietalib")
Moved the code base to a GitHub repository like the SpikeNorm one
Some ammendments - Started adding timelogging stuff for quick loading of OfficeTime data - Added cores to subScript - Added a function rsh to run remote command - Added a function to save a list of package citations to a bib file for importing into endnote
Fix the prism parser
filename <- "/Users/pschofield/Projects/sumo_rth/data/qPCRresults/Figure_S10JK/CHD4.pzfx" dat <- readPrism(filename) kable(dat)
Edited the timesheet management functions to have a from and to date.
Added a function to pull some grid engine info from the cluster.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.