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 <https://cran.r-project.org/doc/FAQ/R-FAQ.html#Add-on-packages-in-R>), ask questions on R-help. If the question relates to a *contributed package* , e.g., one downloaded from CRAN, try contacting the package maintainer first. You can also use find("functionname") and packageDescription("packagename") to find this information. *Only* send such questions to R-help or R-devel if you get no reply or need further assistance. This applies to both requests for help and to bug reports." 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 Gunter "The trouble with having an open mind is that people keep coming along and sticking things into it." -- Opus (aka Berkeley Breathed in his "Bloom County" comic strip ) On Wed, Nov 3, 2021 at 11:50 AM Rich Shepard <rshep...@appl-ecosys.com> wrote: > 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 example, > > library(tidyverse) > library(lubridate) > > cor_disc <- read_csv("../data/cor-disc.csv", col_names = TRUE, > col_types = list ( > site_nbr = col_character(), > year = col_integer(), > mon = col_integer(), > day = col_integer(), > hr = col_double(), > min = col_double(), > cfs = col_integer()) > ) > stop_for_problems(cor_disc) > > running the command, source('input_data.R') produces this result: > > source('import_data.R') > > Error: 415903 parsing failures > > In addition: Warning message: > > One or more parsing issues, see `problems()` for details > > When I run the problems() function nothing is returned: > > problems() > > > > What do I read to learn how to identify the problems so I can fix them? > > TIA, > > Rich > > ______________________________________________ > R-help@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. > [[alternative HTML version deleted]] ______________________________________________ R-help@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.