This seems like it might be a rookie mistake because it probably is. I have a built source package that I'm trying to install. It's a local file and I just want to check to make sure it works. Everything seems to go smoothly, no errors...but also no functions.
> dir.create("packageCheck")
> install.packages("Rpackages/saber_0.1.tar.gz",
lib = "packageCheck", repos = NULL)
# * installing *source* package ‘saber’ ...
# ** R
# ** inst
# ** preparing package for lazy loading
# ** help
# *** installing help indices
# ** building package indices
# ** testing if installed package can be loaded
# * DONE (saber)
> list.files("packageCheck")
# [1] "saber"
> list.files("packageCheck/saber")
# [1] "DESCRIPTION" "extdata" "help" "html"
# [5] "INDEX" "Meta" "NAMESPACE" "R"
> devtools::load_all("packageCheck/saber")
# Loading saber
> library("saber", lib.loc = "packageCheck/saber", logical.return = TRUE)
# [1] TRUE
> ls(2)
# character(0)
> ls("package:saber")
# character(0)
What am I doing wrong here?
Note:
> version[[1]]
# [1] "x86_64-pc-linux-gnu"
> getOption("pkgType")
# [1] "source"