From c0e66d220e00036abfc6cd627cbfe0cf502a73f7 Mon Sep 17 00:00:00 2001 From: Matthew Fidler Date: Wed, 8 May 2019 12:48:32 -0500 Subject: [PATCH] Add str If you don't use cat for str it prints out information in Rstudio without giving the object attributes. --- pkg_building.Rmd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg_building.Rmd b/pkg_building.Rmd index 35da68873..8c40f9b16 100644 --- a/pkg_building.Rmd +++ b/pkg_building.Rmd @@ -52,7 +52,7 @@ We recommend you to use the [`codemetar` package](https://github.com/ropensci/co ### Console messages -* Use `message()` and `warning()` to communicate with the user in your functions. Please do not use `print()` or `cat()` unless it's for a `print.*()` method, as these methods of printing messages are harder for the user to suppress. +* Use `message()` and `warning()` to communicate with the user in your functions. Please do not use `print()` or `cat()` unless it's for a `print.*()` or `str.*()` methods, as these methods of printing messages are harder for the user to suppress. ### Interactive/Graphical Interfaces