New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

load_all and R/unix and R/windows directories #1102

gaborcsardi opened this Issue Feb 28, 2016 · 2 comments


None yet
1 participant

gaborcsardi commented Feb 28, 2016

Seems like load_all(), more precisely load_code() does not load .R files in the R/unix and R/windows subdirectories. As "Writing R Extensions" says in Section Package Subdirectories:

The R and man subdirectories may contain OS-specific subdirectories named unix or windows.


This comment has been minimized.


gaborcsardi commented Feb 28, 2016

Looks like base R reads the source files like this:


tools::list_files_with_type("R", "code", full.names=FALSE)

This puts the unix/ subdir at the end, somewhat surprisingly, because then the usual zzz.R file is not the last any more....


This comment has been minimized.

lock bot commented Sep 18, 2018

This old issue has been automatically locked. If you believe you have found a related problem, please file a new issue (with reprex) and link to this issue.

@lock lock bot locked and limited conversation to collaborators Sep 18, 2018

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.