Skip to content

Commit 080b635

Browse files
author
hornik
committed
Cleanups for c88456.
git-svn-id: https://svn.r-project.org/R/trunk@88485 00db46b3-68df-0310-9c12-caf00c1e9a41
1 parent c673940 commit 080b635

File tree

2 files changed

+0
-12
lines changed

2 files changed

+0
-12
lines changed

src/library/base/R/library.R

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -376,9 +376,6 @@ function(package, help, pos = 2, lib.loc = NULL, character.only = FALSE,
376376
}
377377
}
378378
tt <- tryCatch({
379-
## <FIXME c68715>
380-
## attr(package, "LibPath") <- which.lib.loc
381-
## </FIXME>
382379
ns <- loadNamespace(package, lib.loc)
383380
env <- attachNamespace(ns, pos = pos, deps,
384381
exclude, include.only)
@@ -394,9 +391,6 @@ function(package, help, pos = 2, lib.loc = NULL, character.only = FALSE,
394391
if(logical.return && is.null(tt))
395392
return(FALSE)
396393

397-
## <FIXME c68715>
398-
## attr(package, "LibPath") <- NULL
399-
##
400394
{
401395
on.exit(detach(pos = pos))
402396
## If there are S4 generics then the package should

src/library/base/R/namespace.R

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -184,9 +184,6 @@ loadNamespace <- function (package, lib.loc = NULL,
184184
partial = FALSE, versionCheck = NULL,
185185
keep.parse.data = getOption("keep.parse.data.pkgs"))
186186
{
187-
## <FIXME c68715>
188-
## libpath <- attr(package, "LibPath")
189-
## </FIXME>
190187
package <- as.character(package)[[1L]]
191188

192189
loading <- dynGet("__NameSpacesLoading__", NULL)
@@ -362,10 +359,7 @@ loadNamespace <- function (package, lib.loc = NULL,
362359

363360
## find package, allowing a calling handler to retry if not found.
364361
## could move the retry functionality into find.package.
365-
## <FIXME c68715>
366-
## fp.lib.loc <- c(libpath, lib.loc)
367362
fp.lib.loc <- lib.loc
368-
## </FIXME>
369363
pkgpath <- find.package(package, fp.lib.loc, quiet = TRUE)
370364
if (length(pkgpath) == 0L) {
371365
cond <- packageNotFoundError(package, fp.lib.loc, sys.call())

0 commit comments

Comments
 (0)