Skip to content

Direct calls to S3 methods from bit64 #37

@MichaelChirico

Description

@MichaelChirico

Here are direct calls to S3 methods

pairs_stats$trade_sample_purchase_summary <- data.frame(trade_sample_buyer[,list(NumPurchase=.N,PurchaseRequired=min(PurchaseAmountTons),ActualPurchases=sum.integer64(Last.Iteration.Quantity)),by=NAICS][order(NAICS)])

pairs[,Quantity.Traded:=as.integer64.character(Quantity.Traded)]
pairs[,Last.Iteration.Quantity:=as.integer64.character(Last.Iteration.Quantity)]

pairs[,Quantity.Traded:=as.integer64.character(Quantity.Traded)]

These will stop working in the future when the symbols are un-exported. Prefer calling the generic directly, e.g.: sum(), and letting S3 dispatch do its thing.

See r-lib/bit64#76

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions