Yes I strongly second Robert's suggestion.
Also be sure that you are registered at https://support.bioconductor.org and
that you enter your package name in the 'Watched tags' field of the user
Profile, so that you are notified by email whenever a question is posted there.
Martin
On 4/24/19,
Instead of putting the message in the startup, perhaps make use of
the BugReports field in the package DESCRIPTION, and maybe use a GitHub
issues page with a good template
This way you avoid annoying your users with startup messages, for something
that should be accessible in the DESCRIPTION
Thank you very much for your kind help. That fixed my issue.
Best regards,
Arman
From: Shepherd, Lori
Sent: Wednesday, April 24, 2019 9:59:40 PM
To: Arman Shahrisa; Martin Morgan; bioc-devel; szwj...@gmail.com
Subject: Re: [Bioc-devel] How can I print a message
I assume your package is the cbaf package?
Don't forget the new zzz.R file to the collate field in the DESCRIPTION
Lori Shepherd
Bioconductor Core Team
Roswell Park Cancer Institute
Department of Biostatistics & Bioinformatics
Elm & Carlton Streets
Buffalo, New York 14263
I really appreciate your kind answers. I created the zzz.R file in the same
folder as the rest
of my R files. I tried both .onAttach and .onLoad functions as follow:
> .onAttach <- function(libname, pkgname){
>packageStartupMessage("Please send bug reports and suggestions to
>
This is called the 'tragedy of the commons', where everyone seems something
that looks good (screen real-estate to advertise their package) and so takes
advantage of it. Once everyone does that, the 'commons' is completely destroyed
by messages like the one you're trying to suppress.
You can
Hi Arman,
I only have a suggestion for your first question, have you tried .onLoad
functions? R will call it when loading the package using library(). You can
put your message function in .onLoad.
Best,
Jiefei
Arman Shahrisa 于2019年4月23日周二 下午3:04写道:
> I’m the maintainer of package “cbaf”. I