Re: [R] What to do when problems() returns nothing [RESOLVED]

2021-11-04 Thread Rich Shepard
On Thu, 4 Nov 2021, Micha Silver wrote: Why are you importing the last "ft" column as an integer when it's clearly decimal data? Micha, Probably because I was still thinking of the discharge data which are integers. That explains all the issues. Mea culpa! Many thanks for seeing what I

Re: [R] What to do when problems() returns nothing

2021-11-04 Thread Micha Silver
On 04/11/2021 16:02, Rich Shepard wrote: On Thu, 4 Nov 2021, Ben Tupper wrote:   ) The gzipped data file can be downloaded from . This seems to work fine for me: library(readr) cor_stage_file <- "cor-stage.csv" cor_stage <-

Re: [R] What to do when problems() returns nothing

2021-11-04 Thread Rich Shepard
On Thu, 4 Nov 2021, Ben Tupper wrote: 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.

Re: [R] What to do when problems() returns nothing

2021-11-04 Thread Ben Tupper
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

Re: [R] What to do when problems() returns nothing

2021-11-03 Thread Rich Shepard
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

Re: [R] What to do when problems() returns nothing

2021-11-03 Thread Bert Gunter
None of this is for R's *standard* packages. The posting guide, linked below, says: "For questions about functions in standard packages distributed with R (see the FAQ Add-on packages in R ), ask questions on R-help. If the

[R] What to do when problems() returns nothing

2021-11-03 Thread Rich Shepard
When I source the import_data.R script now I get errors that tell me to look at problems(). I enter that function name but there's no return. Reading ?problems I learned that stop_for_problems(x) should stop the process when a problem occurs, so I added that function to each data file; for