Skip to content

Commit

Permalink
add some notices
Browse files Browse the repository at this point in the history
git-svn-id: https://svn.r-project.org/R/trunk@60153 00db46b3-68df-0310-9c12-caf00c1e9a41
  • Loading branch information
ripley committed Aug 5, 2012
1 parent 598db1f commit 92ea26d
Show file tree
Hide file tree
Showing 4 changed files with 57 additions and 4 deletions.
2 changes: 2 additions & 0 deletions share/R/REMOVE.R
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
# File share/R/REMOVE.R
# Part of the R package, http://www.R-project.org
#
# Copyright (C) 1995-2012 The R Core Team
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
Expand Down
18 changes: 18 additions & 0 deletions share/R/nspackloader.R
Original file line number Diff line number Diff line change
@@ -1,3 +1,21 @@
# File share/R/nspackloader.R
# Part of the R package, http://www.R-project.org
#
# Copyright (C) 1995-2012 The R Core Team
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# A copy of the GNU General Public License is available at
# http://www.r-project.org/Licenses/

local({
info <- loadingNamespaceInfo()
ns <- .Internal(getRegisteredNamespace(as.name(info$pkgname)))
Expand Down
21 changes: 19 additions & 2 deletions src/library/base/baseloader.R
Original file line number Diff line number Diff line change
@@ -1,7 +1,24 @@
## this should be kept in step with code in R/lazyload.R
.Internal(eval(quote({
# File src/library/base/baseloader.R
# Part of the R package, http://www.R-project.org
#
# Copyright (C) 1995-2012 The R Core Team
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# A copy of the GNU General Public License is available at
# http://www.r-project.org/Licenses/


## this should be kept in step with code in R/lazyload.R
.Internal(eval(quote({
..lazyLoad <- function(filebase, envir = parent.frame())
{
##
Expand Down
20 changes: 18 additions & 2 deletions src/library/base/makebasedb.R
Original file line number Diff line number Diff line change
@@ -1,7 +1,23 @@
local({
makeLazyLoadDB <- function(from, filebase, compress = TRUE, ascii = FALSE,
# File src/library/base/makebasedb.R
# Part of the R package, http://www.R-project.org
#
# Copyright (C) 1995-2012 The R Core Team
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# A copy of the GNU General Public License is available at
# http://www.r-project.org/Licenses/

local({
makeLazyLoadDB <- function(from, filebase, compress = TRUE, ascii = FALSE,
variables) {

envlist <- function(e) {
Expand Down

0 comments on commit 92ea26d

Please sign in to comment.