Skip to content

Commit

Permalink
version 2.0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
Christopher Brown authored and gaborcsardi committed May 26, 2010
1 parent 2c391c6 commit a3ad372
Show file tree
Hide file tree
Showing 4 changed files with 43 additions and 23 deletions.
20 changes: 20 additions & 0 deletions ChangeLog
@@ -1,3 +1,23 @@
2010-05-26 Version 2.0.1 (cbrown)
- At the request of Michael Hahsler, removed the ODG ASCII ART logo in the
.OnLoad method. It will comeback as soon as I can figure out how to disable
it through the appropriate option.

Hi Christopher,

thank you for providing the package hash. I am thinking of using
it in my rEMM package. Is there a way to make the load message a
little less flashy. I include hash in my DESCRIPTION file and the
ASCII art comes always up when my package loads.

Thanks,
Michael

-- Dr. Michael Hahsler, Visiting Assistant Professor
Department of Computer Science and Engineering
Lyle School of Engineering
Southern Methodist University, Dallas, Texas

2010-04-24 Version 2.0.0 (cbrown)

- The coercion of keys make.keys has largely been deprecated. This might change
Expand Down
8 changes: 4 additions & 4 deletions DESCRIPTION
Expand Up @@ -2,8 +2,8 @@ Package: hash
Type: Package
Title: Full feature implementation of hash/associated
arrays/dictionaries
Version: 2.0.0
Date: 2010-04-24
Version: 2.0.1
Date: 2010-05-26
Author: Christopher Brown
Maintainer: Christopher Brown <cbrown@opendatagroup.com>
Depends: R (>= 2.10.0), methods, utils
Expand All @@ -17,6 +17,6 @@ URL: http://www.opendatagroup.com,
http://opendatagroup.com/2009/07/26/hash-package-for-r/,
http://opendatagroup.com/2009/10/21/r-accessors-explained
LazyLoad: yes
Packaged: 2010-04-27 03:25:37 UTC; cbrown
Packaged: 2010-05-27 06:30:29 UTC; cbrown
Repository: CRAN
Date/Publication: 2010-04-27 20:02:53
Date/Publication: 2010-05-27 06:55:49
34 changes: 17 additions & 17 deletions R/zzz.R
@@ -1,23 +1,23 @@

.onLoad <- function( libname, pkgname ) {

if( is.null( getOption( "odg.logo" ) ) && ! getOption("verbose") ) {
width <- getOption("width")
options( width=80 )

cat(
" _ _ ",
" ___ _ __ ___ _ __ __| | __ _| |_ __ _ ",
" / _ \\| '_ \\ / _ \\ '_ \\ / _` |/ _' | __/ _' |",
"| (_) | |_) | __/ | | | (_| | (_| | || (_| |",
" \\___/| .__/ \\___|_| |_|\\__,_|\\__,_|\\__\\__,_|",
" |_| http://www.opendatagroup.com\n",
sep="\n"
)
options( width=width )
options( odg.logo = TRUE )

}
# if( is.null( getOption( "odg.logo" ) ) && ! getOption("verbose") ) {
# width <- getOption("width")
# options( width=80 )
#
# cat(
# " _ _ ",
# " ___ _ __ ___ _ __ __| | __ _| |_ __ _ ",
# " / _ \\| '_ \\ / _ \\ '_ \\ / _` |/ _' | __/ _' |",
# "| (_) | |_) | __/ | | | (_| | (_| | || (_| |",
# " \\___/| .__/ \\___|_| |_|\\__,_|\\__,_|\\__\\__,_|",
# " |_| http://www.opendatagroup.com\n",
# sep="\n"
# )
# options( width=width )
# options( odg.logo = TRUE )
#
# }

cat(
"\n ",
Expand Down
4 changes: 2 additions & 2 deletions man/hash-package.Rd
Expand Up @@ -16,8 +16,8 @@
\tabular{ll}{
Package: \tab hash\cr
Type: \tab Package\cr
Version: \tab 2.0.0\cr
Date: \tab 2010-04-cw2316\cr
Version: \tab 2.0.1\cr
Date: \tab 2010-05-26\cr
License: \tab LGPL 2+\cr
LazyLoad: \tab yes\cr
Depends: \tab R (>= 2.10.0), utils, methods\cr
Expand Down

0 comments on commit a3ad372

Please sign in to comment.