Skip to content

Commit

Permalink
typo bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
philipdelff committed Nov 14, 2024
1 parent 5d1e2c3 commit e3fad06
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 2 deletions.
2 changes: 1 addition & 1 deletion R/NMwriteData.R
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,7 @@ NMwriteData <- function(data,file,formats.write=c("csv","rds"),
}
}

missing(script) script <- NULL
if(missing(script)) script <- NULL
if(!is.null(script)){
args.stamp$script <- script
}
Expand Down
9 changes: 9 additions & 0 deletions R/fnAppend.R
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,17 @@
##' 10,... and not 1, 2,...,10,...
##' @param sep The separator between the existing file name (until
##' extension) and the addition.
##' @param allow.noext Allow `fn` to be string(s) witout extensions?
##' Default is `FALSE` in wich case an error will be thrown if
##' `fn` contains strings without extensions. If `TRUE`, `x` will
##' be appended to fn in these cases.
##' @return A character (vector)
##'
##' @examples
##' fnAppend("plot.png",1)
##' fnAppend("plot.png",1,pad0=2,sep="-")
##' fnAppend("plot.png","one")
##' fnAppend("plot","one",allow.noext=TRUE)
##' @export


Expand Down
13 changes: 12 additions & 1 deletion man/fnAppend.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit e3fad06

Please sign in to comment.