Watts-College / cpp-528-fall-2021

https://watts-college.github.io/cpp-528-fall-2021/
2 stars 2 forks source link

Warning in readRDS #34

Open DMBurwell opened 2 years ago

DMBurwell commented 2 years ago

I have been getting this error message when I run even just the first section of the lab. It hasn't seemed to effect my ability to get accurate info, but it is rather annoying. Any ideas on how to address this error message?

library( dplyr ) library( here ) library( knitr ) library( pander ) library( stargazer ) library( scales )

set.seed( 1234 )

load necessary functions and objects ----

note: all of these are R objects that will be used throughout this .rmd file

import::here("S_TYPE", "panel.cor", "panel.smooth", "jplot", "d", "df", "cbsa_stats_df",

notice the use of here::here() that points to the .R file

         # where all these R objects are created
         .from = here::here("C:/Users/danic/OneDrive/Desktop/cpp-528-fall-2021-group-02/labs/wk04/Lab-04-Source.R"),
         .character_only = TRUE)

Warning in readRDS(here::here("C:/Users/danic/OneDrive/Desktop/cpp-528-fall-2021-group-02/data/rodeo/LTDB-META-DATA.rds")) : strings not representable in native encoding will be translated to UTF-8

castower commented 2 years ago

Hello @DMBurwell ,

If you'd like to turn off this message, you can set your code chunk to not display warnings/messages:

https://kbroman.org/knitr_knutshell/pages/Rmarkdown.html