- Classes are now properly tested in
duplicateRow().
- New function
rename()to rename data frames, list, etc. - New function
commaAnd()to collapse elements of a vector and add element separators. - Add code of conduct.
- Add contributing guidelines.
- Use GitHub actions instead of Travis CI and Appveyor.
- New functions
getBasename(),getDetails(),getDigits(),getExtension(),getFilename(),getLocation(),getName()designed to help maniuplate file and directorynames. msg*()functions all gain an argumentappendLFto append a new line or not.
dfTemplateMatch()gains an argumentorderto order column of the output data frame according to the template (see #20).- add
stopwatch()andtimer(). - add
seqRg()that generates a regular sequence based on the range of a vector. - add
seqRow()andseqCol()that generate a regular sequences based on the number of rows and columns (respectively) of a data frame (or a matrix).
- New functions
msgInfo(),msgError(),msgSuccess()msgWarning()to send notices to user while a function is being executed. - New function
keepInitials()to keep the initials of character strings. keepWords(),keepLetters()andwordCount()have been re-written.LoremIpsum()now includes 2 paragraphs and any number of words can be requested.- Remove
magrittrfrom the list of dependencies and thus all pipes, see #14. - in
scaleWithin(),nvalis nown. - Remove
addURL()andaddWebIcon(), see #16. - Remove
findReplace()andgrepReplace()m see #15. adjustString()has been entirely re-written and has been renamedadjustStrings()as it now accepts vectors of character strings. Argumentnzcharno longer accepts negative real or strings and has been renamedn. Alsobeforebecomesalignand can takes "right", "left" or "center". Last, it gains the argumentaddthat allows the user to add makena number of character to be added.
- Add
tblDown()to quickly export a list of data frames as a document. findRef()andsubstrBib()has been removed, see #11.unlistis no longer an argument ofkeepWords()andkeepLetters().- Review
scaleWithin()documentation. - Add
keepLetters()andrmPunct()✨ see #10. - Drop @author (to be used for contributors).
- Add @importFrom have been moved to
inSilecoMisc.R. - The pkgdown website is now deployed on gh-pages by Travis so
docs/is now ignored.
- README simplified
- Major cleaning up
- Categorize has been rewritten (see #7).
stLength()has been removed (see #9).logit()has been removed (see #8).- In
dfTemplate()the values of argumentcol_classesare now checked, a test has been added. - In
dfTemplate()fillis now a vector whose values are replicated so its length equals the number of columns. - In
dfTemplate(),col_classesvalues are replicated so its length equals the number of columns. - In
dfTemplate(),fillnow determines the classes of the columns whencol_classesifNULLwhich is the new default value.
README.Rmdhas been removed and most of its content is in the vignette inSilecoMisc, an overview
-
Changes in function names
assignClass2df()=>setColClass()strLength()=>stLength()applyString()=>stApply()
-
New functions
whichIs()which looks for the values of a given vector in another one and returns the positions of matchs as a list;dfTemplate()anddfTemplateMatch()to create data frames from scratch or based on one or two data frames.
- add website built with pkgdown.
- New function
loremIpsum()to get a piece of a placeholder text. - New function
readYamlHeader()to read YAML headers. - New function
stApply()to apply a function to a subset of strings.
- New parameter
ignoreinstrLength()to ignore a specific selection of character.
- New package name: inSileco (see #3).
- New functions
findReplace()andgrepReplace(). - New functions
logistic()and \code{logistic2()}. - New function
addWebIcon(). - New function
meanAlong(), a simple moving window function.
- New argument \code{exclude} in
wordCount()to select characters to be excluded.
- New function
addURL() - New function
findRef() - New function
keepWords() - New function
logit() - New function
multiMatch() - New function
signifSymbol() - New function
stLength() - New function
substrBib() - New function
wordCount()that adresses #1 (@KevCaz)
- bugReportURL has been changed to https://github.com/inSileco/letiRmisc/issues
- New function
adjustSting() - New function
aggregateCol() - New function
setColClass() - New function
assignIds() - New function
categorize() - New function
duplicateRow() - New function
findThem() - New function
gaussianShape() - New function
keepWords() - New function
squaretize()