Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

29 lines (24 sloc) 0.541 kB
\name{dev_meta}
\alias{dev_meta}
\title{Return devtools metadata environment}
\usage{
dev_meta(name)
}
\arguments{
\item{name}{The name of a loaded package}
}
\description{
If the package was not loaded with devtools, returns
\code{NULL}.
}
\examples{
dev_meta("stats") # NULL
# Load the test package in directory "load-hooks"
load_all(devtest("load-hooks"))
# Get metdata for the package
# (The name of the package in DESCRIPTION is "loadhooks")
x <- dev_meta("loadhooks")
as.list(x)
# Clean up.
unload(devtest("load-hooks"))
}
Jump to Line
Something went wrong with that request. Please try again.