forked from DistanceDevelopment/mrds
-
Notifications
You must be signed in to change notification settings - Fork 0
Compiling mrds
dill edited this page May 18, 2012
·
4 revisions
Instructions (from Jeff) for compiling mrds:
- If using Windows, install rtools from the CRAN site and let it add the
rtools
directory to your path (this is not necessary for Mac). - Install
devtools
package in R. - Follow instructions with
devtools
to create a file.Rpackages
in your Documents directory. I've attached mine. You'll want to change directory from what mine is. Jeff's.Rpackages
:
list(
default = function(x) {
file.path("c:/Users/JLaake/git", x, x)
}
)
- If you use the above then, set up mrds source directory in a directory called mrds. So it will look like
mrds
mrds
r
man
...
- Inside R, type
library(devtools)
load_all("mrds")
install()
Note: Doing check()
as part of the devtools process will run the tests as well as the routine R ones.
A useful resource for package development is Hadley Wickham's R development wiki.