Skip to content

Commit

Permalink
fixx
Browse files Browse the repository at this point in the history
  • Loading branch information
jeroen committed Jul 27, 2013
1 parent 766b493 commit 0d97998
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion R/httpget_doc.R
Expand Up @@ -3,6 +3,6 @@ httpget_doc <- function(requri){
res$setcache("lib");

#find doc dir
docdir <- Sys.getenv("R_DOC_DIR");
docdir <- Sys.getenv("R_DOC_DIR", "/usr/share/R/doc");
httpget_file(file.path(docdir, paste(requri, collapse="/")));
}
2 changes: 1 addition & 1 deletion R/httpget_package_man.R
Expand Up @@ -28,7 +28,7 @@ httpget_package_man <- local({
"text" = man_text(rdfile, package=reqpackage),
"tex" = man_tex(rdfile),
"pdf" = man_pdf(topic=reqobject, package=reqpackage,lib.loc=reqlib),
"R.css" = res$sendfile(system.file("pages/R.css", package=packagename)),
"R.css" = res$sendfile(system.file("test/R.css", package=packagename)),
stop("Unknown man format: /", reqformat)
)
}
Expand Down

0 comments on commit 0d97998

Please sign in to comment.