-
Notifications
You must be signed in to change notification settings - Fork 1
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
Don't now need to run load(all) #62
Comments
@aidanmews I think I may be misunderstanding this issue? If you have a loaded package and make changes to the package components they changes are not inherited by the loaded package The function Similarly we need the |
I raised the issue because when running through the training I didn't need to use devtools::load_all() for the ?assemble_crime_data to work. Maybe there's been a change so it's no longer needed? |
Yea looks like I was wrong about the behaviour - apologies. It seems that # Access to help available after running devtools::document()`
> devtools::document()
ℹ Updating psmi documentation
ℹ Loading psmi
Writing NAMESPACE
Writing foo.Rd
> ?foo
ℹ Rendering development documentation for "foo"
# Access lost after restarting R
Restarting R session...
> ?foo
No documentation for ‘foo’ in specified packages and libraries:
you could try ‘??foo’
# Running devtools::document() gives access to help and loads package
> devtools::document()
ℹ Updating psmi documentation
ℹ Loading psmi
> ?foo
ℹ Rendering development documentation for "foo"
> foo()
[1] "foo"
> I think it is worth leaving in the |
Maybe add a conditional i.e. "10.3 To view the help file generated from the roxygen comments run ?assemble_crime_data [Note: you may need to first run devtools::load_all()]" |
"10.3 Run devtools::load_all() followed by ?assemble_crime_data to view the help file generated from the roxygen comments"
"11.5 Save the test file and run devtools::load_all()."
The text was updated successfully, but these errors were encountered: