Skip to content

Commit

Permalink
Remove 'fts' package (archived on 2022-05-09)
Browse files Browse the repository at this point in the history
  • Loading branch information
joshuaulrich committed Oct 12, 2022
1 parent ea26858 commit 24762f2
Show file tree
Hide file tree
Showing 8 changed files with 2 additions and 176 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ Authors@R: c(
Depends: zoo (>= 1.7-12)
Imports: methods
LinkingTo: zoo
Suggests: timeSeries, timeDate, tseries, chron, fts, tis, RUnit
Suggests: timeSeries, timeDate, tseries, chron, tis, RUnit
LazyLoad: yes
Description: Provide for uniform handling of R's different time-based data classes by extending zoo, maximizing native format information preservation and allowing for user level customization and extension, while simplifying cross-class interoperability.
License: GPL (>= 2)
Expand Down
6 changes: 0 additions & 6 deletions NAMESPACE
Original file line number Diff line number Diff line change
Expand Up @@ -307,12 +307,6 @@ S3method(as.xts,timeSeries)
# irts (package:tseries) specific methods
S3method(as.xts,irts)

# fts (package:fts) specific methods
if (getRversion() >= "3.6.0") {
S3method(fts::as.fts, xts)
}
S3method(as.xts,fts)

# Date specific methods
S3method(as.xts,Date)

Expand Down
59 changes: 0 additions & 59 deletions R/fts.R

This file was deleted.

2 changes: 1 addition & 1 deletion R/xts.R
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
# additional methods are in correspondingly named .R files
# current conversions include:
# timeSeries, its, irts, ts, matrix, data.frame, and zoo
# MISSING: fts, tis, fame
# MISSING: tis, fame
#
# this file includes the main xts constructor as well as the reclass
# function.
Expand Down
1 change: 0 additions & 1 deletion R/zzz.R
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,6 @@ function(pkg, generic, class, fun = NULL)
# }
if (getRversion() < "3.6.0") {
register_s3_method("timeSeries", "as.timeSeries", "xts")
register_s3_method("fts", "as.fts", "xts")
if (utils::packageVersion("zoo") < "1.8.5") {
# xts:::as.zoo.xts was copied to zoo:::as.zoo.xts in zoo 1.8-5
register_s3_method("zoo", "as.zoo", "xts")
Expand Down
102 changes: 0 additions & 102 deletions inst/unitTests/runit.fts.R

This file was deleted.

1 change: 0 additions & 1 deletion man/as.xts.Rd
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@ objects into a uniform format for use within \R.

It is possible with a call to \code{as.xts} to
convert objects of class \code{timeSeries}, \code{ts}, \code{irts},
\code{fts},
\code{matrix}, \code{data.frame}, and \code{zoo}.

\code{xtsible} safely checks whether an object can be converted to
Expand Down
5 changes: 0 additions & 5 deletions man/as.xts.methods.Rd
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,8 @@
\alias{as.xts.xts}
\alias{as.xts.zoo}
\alias{as.xts.ts}
\alias{as.xts.fts}
\alias{as.xts.data.frame}
\alias{as.xts.matrix}
\alias{as.fts.xts}
\title{ Convert Object To And From Class xts }
\description{
Conversion S3 methods to coerce data objects of
Expand All @@ -31,9 +29,6 @@ losing any attributes of the original format.

\method{as.xts}{matrix}(x, order.by, dateFormat="POSIXct",
frequency=NULL, ..., .RECLASS=FALSE)


as.fts.xts(x)
}
\arguments{
\item{x}{ data object to convert. See details for supported types }
Expand Down

0 comments on commit 24762f2

Please sign in to comment.