[Bioc-devel] How can I print a message on console with library("myPackage")?
介非王
@zwj|08 @end|ng |rom gm@||@com
Tue Apr 23 21:31:27 CEST 2019
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 <shahrisa.arman using hotmail.com> 于2019年4月23日周二 下午3:04写道:
> I’m the maintainer of package “cbaf”. I use roxygen2 for documentation.
>
> If I want a message to be printed when the user loads my package with
> library(), what should I do?
>
>
> I also have another question. When I load my package, a message is printed
> in console:
>
> > Registered S3 method overwritten by 'R.oo':
> > method from
> > throw.default R.methodsS3
>
> How can I prevent this?
>
>
>
>
>
> Best regards,
> Arman
>
>
> [[alternative HTML version deleted]]
>
> _______________________________________________
> Bioc-devel using r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/bioc-devel
>
--
Jiefei Wang
Room 2-501,Tangxuan,QilinGarden,NanshanDistrict,Shenzhen
Guangdong,China
Phone (+86)18312589584
szwjf8 using gmail.com
[[alternative HTML version deleted]]
More information about the Bioc-devel
mailing list