Skip to content

Commit

Permalink
keep only S3 regitration code
Browse files Browse the repository at this point in the history
  • Loading branch information
fkeck committed Nov 25, 2020
1 parent f73ef4b commit 9365bb8
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions R/zzz.R
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,5 @@
vctrs::s3_register("pillar::pillar_shaft", "bioseq_dna")
vctrs::s3_register("pillar::pillar_shaft", "bioseq_rna")
vctrs::s3_register("pillar::pillar_shaft", "bioseq_aa")

if (utils::packageVersion("vctrs") <= "0.1.0") {
vec_default_cast <<- vec_default_cast_old
} else {
rm("vec_default_cast", inherits = TRUE)
}

invisible()
}

0 comments on commit 9365bb8

Please sign in to comment.