Determine name of R package my code is in? -
i'm working on r package , (in package's code) need determine version number when function called.
packageversion("mypackage")
works, i'd rather not hard code name of package. how can ask "what's name of package i'm in"? (or directly version number of package i'm in.)
this mailing list thread describes packagename()
.
(as martin pointed out in comments.)
Comments
Post a Comment