diff --git a/RBBGCMuso/DESCRIPTION b/RBBGCMuso/DESCRIPTION index f413bd9..ff85f5f 100644 --- a/RBBGCMuso/DESCRIPTION +++ b/RBBGCMuso/DESCRIPTION @@ -1,6 +1,6 @@ Package: RBBGCMuso Title: An R package for BiomeBGC-MuSo ecosystem modelling -Version: 0.3.0.0-2 +Version: 0.3.1.0-1 Authors@R: person("Roland", "Hollo's", , "hollorol@gmail.com", role = c("aut", "cre")) Description: What the package does (one paragraph). License: GPL-2 diff --git a/RBBGCMuso/NAMESPACE b/RBBGCMuso/NAMESPACE index 6db86b5..5fad472 100644 --- a/RBBGCMuso/NAMESPACE +++ b/RBBGCMuso/NAMESPACE @@ -1,6 +1,7 @@ # Generated by roxygen2: do not edit by hand export(calibMuso) +export(cleanupMuso) export(corrigMuso) export(getyearlycum) export(getyearlymax) diff --git a/RBBGCMuso/R/cleanup.R b/RBBGCMuso/R/cleanup.R index 8cc3d77..c27dd21 100644 --- a/RBBGCMuso/R/cleanup.R +++ b/RBBGCMuso/R/cleanup.R @@ -1,3 +1,15 @@ +#'cleanupMuso +#' +#' cleanupMuso can erase all of the unnecessary log and output files. +#' +#' @author Roland Hollos +#' @param location It is the place where your output files are. +#' @param simplicity TRUE or FALSE. If true cleanupMuso will erase only the log files from only the location +#' @param deep If it is TRUE, it will delete every files from the subdirectories also +#' @usage cleanupMuso(location=NULL, simplicity=TRUE,deep=FALSE) +#' @export + + cleanupMuso <- function(location=NULL, simplicity=TRUE,deep=FALSE){ areThereAnyFolders <- FALSE whereAmI <- getwd() diff --git a/RBBGCMuso/R/plotMuso.R b/RBBGCMuso/R/plotMuso.R index 99da085..1b1a674 100644 --- a/RBBGCMuso/R/plotMuso.R +++ b/RBBGCMuso/R/plotMuso.R @@ -44,7 +44,7 @@ plotMuso <- function(settings, logfilename=logfilename, export=export) - xlab_muso<- switch(timee, "d"="days","y"="years","m"=months) + xlab_muso<- switch(timee, "d"="days","y"="years","m"="months") numVari <- ncol(musoData) if(is.numeric(variable)){ diff --git a/RBBGCMuso/man/cleanupMuso.Rd b/RBBGCMuso/man/cleanupMuso.Rd new file mode 100644 index 0000000..ffa0f25 --- /dev/null +++ b/RBBGCMuso/man/cleanupMuso.Rd @@ -0,0 +1,21 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/cleanup.R +\name{cleanupMuso} +\alias{cleanupMuso} +\title{cleanupMuso} +\usage{ +cleanupMuso(location=NULL, simplicity=TRUE,deep=FALSE) +} +\arguments{ +\item{location}{It is the place where your output files are.} + +\item{simplicity}{TRUE or FALSE. If true cleanupMuso will erase only the log files from only the location} + +\item{deep}{If it is TRUE, it will delete every files from the subdirectories also} +} +\description{ +cleanupMuso can erase all of the unnecessary log and output files. +} +\author{ +Roland Hollos +} diff --git a/RBBGCMuso_0.1.8.tar.gz.bck b/RBBGCMuso_0.1.8.tar.gz.bck deleted file mode 100644 index 351f26c..0000000 Binary files a/RBBGCMuso_0.1.8.tar.gz.bck and /dev/null differ diff --git a/RBBGCMuso_0.1.8.tar.gz.bck2 b/RBBGCMuso_0.1.8.tar.gz.bck2 deleted file mode 100644 index 148f272..0000000 Binary files a/RBBGCMuso_0.1.8.tar.gz.bck2 and /dev/null differ diff --git a/RBBGCMuso_0.1.9.0-1.tar.gz.bck b/RBBGCMuso_archive/RBBGCMuso_0.1.9.0-1.tar.gz similarity index 100% rename from RBBGCMuso_0.1.9.0-1.tar.gz.bck rename to RBBGCMuso_archive/RBBGCMuso_0.1.9.0-1.tar.gz diff --git a/RBBGCMuso_0.2.0.0-1.tar.gz.bck b/RBBGCMuso_archive/RBBGCMuso_0.2.0.0-1.tar.gz similarity index 100% rename from RBBGCMuso_0.2.0.0-1.tar.gz.bck rename to RBBGCMuso_archive/RBBGCMuso_0.2.0.0-1.tar.gz diff --git a/RBBGCMuso_0.3.0.0-1.tar.gz b/RBBGCMuso_archive/RBBGCMuso_0.3.0.0-1.tar.gz similarity index 100% rename from RBBGCMuso_0.3.0.0-1.tar.gz rename to RBBGCMuso_archive/RBBGCMuso_0.3.0.0-1.tar.gz diff --git a/RBBGCMuso_0.3.0.0-2.tar.gz b/RBBGCMuso_archive/RBBGCMuso_0.3.0.0-2.tar.gz similarity index 100% rename from RBBGCMuso_0.3.0.0-2.tar.gz rename to RBBGCMuso_archive/RBBGCMuso_0.3.0.0-2.tar.gz