ERROR: unable to collate and parse R files for package 'xxxxx' * removing 'C:/Users/xx/Dropbox/PC/Documents/

Hi. I am trying to build a package (specifically a learnr tutorial). About 4 weeks ago I installed dropbox on my computer (Windows 10). It seemed to move around my files but I don't understand what it did. I uninstalled it. When I go to build the package I get an error with dropbox in the path like this:

Error in parse(outFile) : attempt to use zero-length variable name

ERROR: unable to collate and parse R files for package 'tutorialR4DS'

  • removing 'C:/Users/xxxx/Dropbox/PC/Documents/R/win-library/4.1/tutorialR4DS'

Can anyone guess what is going on? Thank you

Problems with cloud synced folders in R are very common, have you tried pausing synchronization before building the package?

Thanks. Actually I uninstalled Dropbox but still have the problem.

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.