[R] What to do when problems() returns nothing
Ben Tupper
btupper @end|ng |rom b|ge|ow@org
Thu Nov 4 14:24:40 CET 2021
Hi,
The help for problems() shows that the expected argument has a default
value of .Last.value. If you don't provide the input argument, it just
uses the last thing your R session evaluated. That's great if you run
problems() right after your issues arises. But you have inserted
stop_for_problems() before you get a chance to run problems(). So, in your
case, if you want to inspect the problems associated with x, you
should provide x explicitly ala problems(x).
Cheers,
Ben
On Wed, Nov 3, 2021 at 3:30 PM Rich Shepard <rshepard using appl-ecosys.com>
wrote:
> On Wed, 3 Nov 2021, Bert Gunter wrote:
>
> > More to the point, the tidyverse galaxy tries to largely replace R's
> > standard functionality and has its own help forum. So I think you should
> > post there, rather than here, for questions about it:
> > https://www.tidyverse.org/help/
>
> Bert,
>
> Thank you very much. I am tying to learn tidyverse and had no idea it had
> it's own help.
>
> I will post tidyverse questions there.
>
> Regards,
>
> Rich
>
> ______________________________________________
> R-help using r-project.org mailing list -- To UNSUBSCRIBE and more, see
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide
> http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>
--
Ben Tupper (he/him)
Bigelow Laboratory for Ocean Science
East Boothbay, Maine
http://www.bigelow.org/
https://eco.bigelow.org
[[alternative HTML version deleted]]
More information about the R-help
mailing list