Watts-College / paf-515-template

https://watts-college.github.io/paf-515-template/
1 stars 1 forks source link

Lab 02 Call "author" #4

Open Leah-Coffin opened 3 weeks ago

Leah-Coffin commented 3 weeks ago

Hi Courtney, I am getting this message when I try to call author. Everything prior is loading

> import::here( "author",
+              # notice the use of here::here() that points to the .R file
+              # where all these R objects are created
+              .from = here::here("analysis/project_data_steps_leah.R"),
+              .character_only = TRUE)
Error: object 'author' not found
castower commented 3 weeks ago

Hello @Leah-Coffin, Do you have your name set to author defined in your project_data_steps.R file?

Leah-Coffin commented 3 weeks ago

This is what I have:

Screenshot 2024-10-31 142015

castower commented 3 weeks ago

@Leah-Coffin That's the correct formatting. Try to restart the R session, clear the environment and re-import.

Leah-Coffin commented 3 weeks ago

@castower Thank you, that worked. Much appreciated!