Skip to content

Commit

Permalink
Fixed trinker#64. The following now works:
Browse files Browse the repository at this point in the history
p_load(GOstats)

but should be checked on Linux and Mac
  • Loading branch information
trinker committed May 23, 2015
1 parent ae24428 commit 695eb30
Show file tree
Hide file tree
Showing 40 changed files with 50 additions and 51 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ Package: pacman
Type: Package
Title: Package Management Tool
Version: 0.3.1
Date: 2015-05-20
Date: 2015-05-23
Authors@R: c(person("Tyler", "Rinker", role = c("aut", "cre", "ctb"),
email = "[email protected]"), person("Dason",
"Kurkiewicz", role = c("aut", "ctb"), email =
Expand Down
2 changes: 1 addition & 1 deletion NAMESPACE
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Generated by roxygen2 (4.1.0): do not edit by hand
# Generated by roxygen2 (4.1.1): do not edit by hand

S3method(print,search_any)
S3method(print,wide_table)
Expand Down
23 changes: 11 additions & 12 deletions R/p_install.R
Original file line number Diff line number Diff line change
Expand Up @@ -51,20 +51,19 @@ function(package, character.only = FALSE, path = getOption("download_path"), ...

response <- tryCatch(
install.packages(package, ...),
warning = function(w) {
warning = function(w) {
## for users with bioconductor on installed, check to see if
## package is available in the bioconductor repos
biocLite <- NULL
if ("Biobase" %in% p_lib()) {
if (!exists('biocLite')) {
source("http://bioconductor.org/biocLite.R")
}
suppressMessages(
suppressWarnings(
biocLite(package, suppressUpdates=TRUE)
)
)
}
if (!p_isinstalled('BiocInstaller')) {
source("http://bioconductor.org/biocLite.R")
}
suppressMessages(suppressWarnings(
eval(parse(
text=sprintf("BiocInstaller::biocLite('%s', suppressUpdates=TRUE)",
package)
))
))

# preserve original warning message
return(w)
}
Expand Down
2 changes: 1 addition & 1 deletion man/p_author.Rd
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
% Generated by roxygen2 (4.1.0): do not edit by hand
% Generated by roxygen2 (4.1.1): do not edit by hand
% Please edit documentation in R/p_author.R
\name{p_author}
\alias{p_author}
Expand Down
2 changes: 1 addition & 1 deletion man/p_base.Rd
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
% Generated by roxygen2 (4.1.0): do not edit by hand
% Generated by roxygen2 (4.1.1): do not edit by hand
% Please edit documentation in R/p_base.R
\name{p_base}
\alias{p_base}
Expand Down
2 changes: 1 addition & 1 deletion man/p_boot.Rd
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
% Generated by roxygen2 (4.1.0): do not edit by hand
% Generated by roxygen2 (4.1.1): do not edit by hand
% Please edit documentation in R/p_boot.R
\name{p_boot}
\alias{p_boot}
Expand Down
2 changes: 1 addition & 1 deletion man/p_citation.Rd
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
% Generated by roxygen2 (4.1.0): do not edit by hand
% Generated by roxygen2 (4.1.1): do not edit by hand
% Please edit documentation in R/p_citation.R
\name{p_citation}
\alias{p_citation}
Expand Down
2 changes: 1 addition & 1 deletion man/p_cran.Rd
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
% Generated by roxygen2 (4.1.0): do not edit by hand
% Generated by roxygen2 (4.1.1): do not edit by hand
% Please edit documentation in R/p_cran.R
\name{p_cran}
\alias{p_cran}
Expand Down
2 changes: 1 addition & 1 deletion man/p_data.Rd
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
% Generated by roxygen2 (4.1.0): do not edit by hand
% Generated by roxygen2 (4.1.1): do not edit by hand
% Please edit documentation in R/p_data.R
\name{p_data}
\alias{p_data}
Expand Down
2 changes: 1 addition & 1 deletion man/p_delete.Rd
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
% Generated by roxygen2 (4.1.0): do not edit by hand
% Generated by roxygen2 (4.1.1): do not edit by hand
% Please edit documentation in R/p_delete.R
\name{p_delete}
\alias{p_del}
Expand Down
2 changes: 1 addition & 1 deletion man/p_depends.Rd
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
% Generated by roxygen2 (4.1.0): do not edit by hand
% Generated by roxygen2 (4.1.1): do not edit by hand
% Please edit documentation in R/p_depends.R
\name{p_depends}
\alias{p_depends}
Expand Down
2 changes: 1 addition & 1 deletion man/p_detectOS.Rd
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
% Generated by roxygen2 (4.1.0): do not edit by hand
% Generated by roxygen2 (4.1.1): do not edit by hand
% Please edit documentation in R/p_detectOS.R
\name{p_detectOS}
\alias{p_detectOS}
Expand Down
2 changes: 1 addition & 1 deletion man/p_exists.Rd
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
% Generated by roxygen2 (4.1.0): do not edit by hand
% Generated by roxygen2 (4.1.1): do not edit by hand
% Please edit documentation in R/p_exists.R
\name{p_exists}
\alias{p_exists}
Expand Down
2 changes: 1 addition & 1 deletion man/p_extract.Rd
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
% Generated by roxygen2 (4.1.0): do not edit by hand
% Generated by roxygen2 (4.1.1): do not edit by hand
% Please edit documentation in R/p_extract.R
\name{p_extract}
\alias{p_extract}
Expand Down
2 changes: 1 addition & 1 deletion man/p_functions.Rd
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
% Generated by roxygen2 (4.1.0): do not edit by hand
% Generated by roxygen2 (4.1.1): do not edit by hand
% Please edit documentation in R/p_functions.R
\name{p_functions}
\alias{p_functions}
Expand Down
2 changes: 1 addition & 1 deletion man/p_help.Rd
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
% Generated by roxygen2 (4.1.0): do not edit by hand
% Generated by roxygen2 (4.1.1): do not edit by hand
% Please edit documentation in R/p_help.R
\name{p_help}
\alias{p_help}
Expand Down
2 changes: 1 addition & 1 deletion man/p_information.Rd
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
% Generated by roxygen2 (4.1.0): do not edit by hand
% Generated by roxygen2 (4.1.1): do not edit by hand
% Please edit documentation in R/p_information.R
\name{p_information}
\alias{p_info}
Expand Down
2 changes: 1 addition & 1 deletion man/p_install.Rd
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
% Generated by roxygen2 (4.1.0): do not edit by hand
% Generated by roxygen2 (4.1.1): do not edit by hand
% Please edit documentation in R/p_install.R
\name{p_install}
\alias{p_get}
Expand Down
2 changes: 1 addition & 1 deletion man/p_install_gh.Rd
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
% Generated by roxygen2 (4.1.0): do not edit by hand
% Generated by roxygen2 (4.1.1): do not edit by hand
% Please edit documentation in R/p_install_gh.R
\name{p_install_gh}
\alias{p_install_gh}
Expand Down
2 changes: 1 addition & 1 deletion man/p_install_version.Rd
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
% Generated by roxygen2 (4.1.0): do not edit by hand
% Generated by roxygen2 (4.1.1): do not edit by hand
% Please edit documentation in R/p_install_version.R
\name{p_install_version}
\alias{p_install_version}
Expand Down
2 changes: 1 addition & 1 deletion man/p_interactive.Rd
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
% Generated by roxygen2 (4.1.0): do not edit by hand
% Generated by roxygen2 (4.1.1): do not edit by hand
% Please edit documentation in R/p_interactive.R
\name{p_interactive}
\alias{p_inter}
Expand Down
2 changes: 1 addition & 1 deletion man/p_isinstalled.Rd
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
% Generated by roxygen2 (4.1.0): do not edit by hand
% Generated by roxygen2 (4.1.1): do not edit by hand
% Please edit documentation in R/p_isinstalled.R
\name{p_isinstalled}
\alias{p_isinstalled}
Expand Down
2 changes: 1 addition & 1 deletion man/p_library.Rd
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
% Generated by roxygen2 (4.1.0): do not edit by hand
% Generated by roxygen2 (4.1.1): do not edit by hand
% Please edit documentation in R/p_library.R
\name{p_library}
\alias{p_lib}
Expand Down
2 changes: 1 addition & 1 deletion man/p_load.Rd
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
% Generated by roxygen2 (4.1.0): do not edit by hand
% Generated by roxygen2 (4.1.1): do not edit by hand
% Please edit documentation in R/p_load.R
\name{p_load}
\alias{p_load}
Expand Down
2 changes: 1 addition & 1 deletion man/p_load_gh.Rd
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
% Generated by roxygen2 (4.1.0): do not edit by hand
% Generated by roxygen2 (4.1.1): do not edit by hand
% Please edit documentation in R/p_load_gh.R
\name{p_load_gh}
\alias{p_load_gh}
Expand Down
2 changes: 1 addition & 1 deletion man/p_loaded.Rd
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
% Generated by roxygen2 (4.1.0): do not edit by hand
% Generated by roxygen2 (4.1.1): do not edit by hand
% Please edit documentation in R/p_loaded.R
\name{p_loaded}
\alias{p_isloaded}
Expand Down
2 changes: 1 addition & 1 deletion man/p_news.Rd
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
% Generated by roxygen2 (4.1.0): do not edit by hand
% Generated by roxygen2 (4.1.1): do not edit by hand
% Please edit documentation in R/p_news.R
\name{p_news}
\alias{p_news}
Expand Down
2 changes: 1 addition & 1 deletion man/p_opendir.Rd
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
% Generated by roxygen2 (4.1.0): do not edit by hand
% Generated by roxygen2 (4.1.1): do not edit by hand
% Please edit documentation in R/p_opendir.R
\name{p_opendir}
\alias{p_opendir}
Expand Down
2 changes: 1 addition & 1 deletion man/p_path.Rd
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
% Generated by roxygen2 (4.1.0): do not edit by hand
% Generated by roxygen2 (4.1.1): do not edit by hand
% Please edit documentation in R/p_path.R
\name{p_path}
\alias{p_path}
Expand Down
2 changes: 1 addition & 1 deletion man/p_search_any.Rd
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
% Generated by roxygen2 (4.1.0): do not edit by hand
% Generated by roxygen2 (4.1.1): do not edit by hand
% Please edit documentation in R/p_search_any.R
\name{p_search_any}
\alias{p_sa}
Expand Down
2 changes: 1 addition & 1 deletion man/p_search_library.Rd
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
% Generated by roxygen2 (4.1.0): do not edit by hand
% Generated by roxygen2 (4.1.1): do not edit by hand
% Please edit documentation in R/p_search_library.R
\name{p_search_library}
\alias{p_search_library}
Expand Down
2 changes: 1 addition & 1 deletion man/p_set_cranrepo.Rd
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
% Generated by roxygen2 (4.1.0): do not edit by hand
% Generated by roxygen2 (4.1.1): do not edit by hand
% Please edit documentation in R/p_set_cranrepo.R
\name{p_set_cranrepo}
\alias{p_set_cranrepo}
Expand Down
2 changes: 1 addition & 1 deletion man/p_temp.Rd
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
% Generated by roxygen2 (4.1.0): do not edit by hand
% Generated by roxygen2 (4.1.1): do not edit by hand
% Please edit documentation in R/p_temp.R
\name{p_temp}
\alias{p_temp}
Expand Down
2 changes: 1 addition & 1 deletion man/p_unload.Rd
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
% Generated by roxygen2 (4.1.0): do not edit by hand
% Generated by roxygen2 (4.1.1): do not edit by hand
% Please edit documentation in R/p_unload.R
\name{p_unload}
\alias{p_unload}
Expand Down
2 changes: 1 addition & 1 deletion man/p_unlock.Rd
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
% Generated by roxygen2 (4.1.0): do not edit by hand
% Generated by roxygen2 (4.1.1): do not edit by hand
% Please edit documentation in R/p_unlock.R
\name{p_unlock}
\alias{p_unlock}
Expand Down
2 changes: 1 addition & 1 deletion man/p_update.Rd
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
% Generated by roxygen2 (4.1.0): do not edit by hand
% Generated by roxygen2 (4.1.1): do not edit by hand
% Please edit documentation in R/p_update.R
\name{p_update}
\alias{p_up}
Expand Down
2 changes: 1 addition & 1 deletion man/p_version.Rd
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
% Generated by roxygen2 (4.1.0): do not edit by hand
% Generated by roxygen2 (4.1.1): do not edit by hand
% Please edit documentation in R/p_version.R
\name{p_version}
\alias{p_ver}
Expand Down
2 changes: 1 addition & 1 deletion man/p_vignette.Rd
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
% Generated by roxygen2 (4.1.0): do not edit by hand
% Generated by roxygen2 (4.1.1): do not edit by hand
% Please edit documentation in R/p_vignette.R
\name{p_vignette}
\alias{p_vign}
Expand Down
2 changes: 1 addition & 1 deletion man/print.search_any.Rd
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
% Generated by roxygen2 (4.1.0): do not edit by hand
% Generated by roxygen2 (4.1.1): do not edit by hand
% Please edit documentation in R/p_search_any.R
\name{print.search_any}
\alias{print.search_any}
Expand Down
2 changes: 1 addition & 1 deletion man/print.wide_table.Rd
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
% Generated by roxygen2 (4.1.0): do not edit by hand
% Generated by roxygen2 (4.1.1): do not edit by hand
% Please edit documentation in R/p_data.R
\name{print.wide_table}
\alias{print.wide_table}
Expand Down

0 comments on commit 695eb30

Please sign in to comment.