Releases: ropensci/datefixR
CRAN Version 1.7.0
CRAN Version 1.6.1
datefixR 1.6.1
Code changes
- Added 'ene' and 'ener' as alternative names for January (thanks to @Guallasamin)
CRAN Version 1.5.0
datefixR 1.5.0
Code changes
exampledates
has been updated to now include dates in non-English formats- Russian translations and dates have been added thanks to @atsyplenkov.
- Fixed a bug which would cause R to freeze on Windows machines when datefixR
had been built using Rtools 43. - Experimental support has been added for months given as Roman numerals.
- A message raised if the system locale does not support multibyte
characters has been translated (thanks @KittJonathan, @dpprdan, and @ajpelu)
(100% translation of all user-facing messages).
Documentation
- README now lists localized date support.
- README badges have been added for translation status
- The vignette now discusses parsing dates with Roman numerals.
CRAN Version 1.4.1
datefixR 1.4.1
Code changes
- The warning raised if
datefixR
is used with a locale which does not accept
multibyte characters now only occurs when the package is loaded using
library()
. - Fixed a bug where dates with single digit day and double digit year would fail
- Fixed a bug where numeric dates converted from Excel were slightly off
(this is because Excel incorrectly regards 1900 as a leap year).
CRAN Version 1.4.0
datefixR 1.4.0
Code changes
Support has been added for parsing dates converted to a numeric format by
Excel. Unlike R which converts Date
objects to numeric by calculating the
number of days since 1970-01-01
, Excel typically converts date cells to
numeric cells by calculating the number of days since 1900-01-01
. datefixR
can be told to expect dates converted by Excel instead of R by passing
excel = TRUE
to datefixR
's functions.
In datefixR
1.3.1, internal functions began to be converted to C++. This
process unintentionally led to translations of some user-facing messages not
being delivered to users. This bug has now been fixed.
Documentation
Added function documentation for the new excel
argument and updated the "Getting
Started" vignette with a section on converting numeric dates.
CRAN Version 1.3.0
Code changes
Tests have been refactored: making it easier for others to contribute their own
tests. See #57.
Documentation
- Now discuss more R packages similar to
datefixR
in README - Warnings and errors have been translated to German thanks to Daniel
Possenriede (@dpprdan on GitHub) - Fixes typo in README for the German language (now "Deutsch")
CRAN Version 1.2.0
Code changes
-
Added much wider support for date formats commonly seen in regions where
English is not the first language (de and del, "1er" "le" etc.) . -
Months with Portuguese names are now recognized.
-
"." and ".'" separators are now supported.
-
Support has been added for dates with ordinals ("1st", "2nd", etc. )
-
datefixR
will now recognize when a month-first date is given (without
needing theformat
argument to be explicitly provided) if the month is
given by name e.g "July 4th, 1776" -
Thanks to community submissions, error messages and warnings have now been
translated to French and Spanish. These messages should automatically be
delivered instead of the English language versions based on the locale
detected by R.- French errors/warnings were translated by Jonathan Kitt (@KittJonathan on
GitHub) - Spanish errors/warnings were translated by Antonio J Perez-Luque (@ajpelu on
GitHub)
- French errors/warnings were translated by Jonathan Kitt (@KittJonathan on
Documentation
The README file now mentions which languages datefixR
currently supports.
CRAN Version 1.1.0
datefixR 1.1.0
This update introduces a Shiny app and support for names of months in Spanish,
German, and French.
Code changes
- New function,
fix_date_app()
which produces a shiny app for accessing
the features ofdatefixR
. Please note, the package dependencies for this app
(DT
,htmltools
,readxl
, andshiny
) are not installed alongside
datefixR
. This allows datefixR to be installed on secure systems where these
packages may not be allowed. If one of these dependencies is not installed on
the system when this function is called, then the user will have the option of
installing them. - Behind the scenes, names for months of the year are now handled differently to
allow multilingual support. Spanish, German, and French is currently supported
with the option to support additional languages in the future.
Documentation
- The README now uses an animation from
asciicast
to demonstrate the
package.
CRAN Version 1.0.0
datefixR 1.0.0
For this revision, datefixR
has undergone ropensci peer review which has resulted in substantial changes and improvements to the package. My sincerest thanks to the reviewers, Kaique dos S. Alves and Al-Ahmadgaid B. Asaad, and the editor, Adam H. Sparks.
Code changes
fix_date()
andfix_dates()
have been deprecated in favor offix_date_char()
andfix_date_df()
respectively to make the role of each function clearer. The deprecated functions will continue to work but are not guaranteed to have new features. Users will be gently encouraged to transition to the new functions.fix_date_char()
now supports vectors as well as character objects of length 1. This also meansfix_date_char()
can be used withdplyr::mutate()
.- An example data frame for using with the package functions,
exampledates
, is now provided with the package.
Documentation
- The package description has been changed to make the purpose of the package clearer.
- Instead of "cleans up", fix_date_df() is now described as "tidying" a data frame.
- Lack of support for the datetime format has been added to the README file
- The package repository is now owned by the ropensci GitHub organization and all links have been changed accordingly.
Testing
- Tests now expect specific warnings rather than warnings with any message.
Cran Version 0.1.6
v0.1.6