Skip to content

Commit

Permalink
Remove R/io_functions.R (#36)
Browse files Browse the repository at this point in the history
* Remove abbr_to_colClasses

* Remove sanitize2

* NEWS
  • Loading branch information
MichaelChirico authored Dec 23, 2024
1 parent 7ff97ce commit 041155b
Show file tree
Hide file tree
Showing 7 changed files with 2 additions and 96 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Title: Convenience Functions by Michael Chirico
Author: Michael Chirico
Maintainer: Michael Chirico <[email protected]>
Depends: R (>= 3.2.2)
Description: YACFP (Yet Another Convenience Function Package). get_age() is a fast & accurate tool for measuring fractional years between two dates. abbr_to_colClass() is a much more concise way of feeding many types to a colClass argument in a data reader. stale_package_check() tries to identify any library() calls to unused packages.
Description: YACFP (Yet Another Convenience Function Package). get_age() is a fast & accurate tool for measuring fractional years between two dates. stale_package_check() tries to identify any library() calls to unused packages.
Imports: data.table
Suggests: testthat (>= 3.0.0), jsonlite
Config/testthat/edition: 3
Expand Down
2 changes: 0 additions & 2 deletions NAMESPACE
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
export("%^%", "%u%", "%\\%")
export(tile.axes, xdev2in, ydev2in, xydev2in)
export(abbr_to_colClass)
export(sanitize2)
export(create_quantiles, to.pct,
nx.mlt, divide, dol.form,
ntostr, embed.mat)
Expand Down
1 change: 1 addition & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
* `get_age()` implementation is improved for about 2x speed-up. This was in service of making the implementation friendlier for static translation to other execution engines (in particular {arrow}, #18). Thanks @TPDeramus for the request and @jonkeane for consulting on acero particulars.
* `get_age()` doesn't require its input to be `Date` as long as `as.Date()` succeeds, for convenience in quick examples like `get_age('2003-02-04', '2008-12-30')`.
* `get_age()` supports recycling of one length-1 input and handles missing values in either argument.
* Delete some long-unused functions: `abbr_to_colClasses()`, `sanitize2()`. I haven't used these myself in a very long time, and I don't see any other users on GitHub either.

### v0.2.2

Expand Down
32 changes: 0 additions & 32 deletions R/io_functions.R

This file was deleted.

26 changes: 0 additions & 26 deletions man/funchir-io.Rd

This file was deleted.

19 changes: 0 additions & 19 deletions man/funchir-table.Rd

This file was deleted.

16 changes: 0 additions & 16 deletions tests/testthat/test-io-utils.R

This file was deleted.

0 comments on commit 041155b

Please sign in to comment.