Skip to content
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

Writing-packages #2927

Open
wants to merge 13 commits into
base: main
Choose a base branch
from
Open

Writing-packages #2927

wants to merge 13 commits into from

Conversation

arronlacey
Copy link
Collaborator

Summary

This sub-section aims to give an overview of reusing code by creating software packages. It should provide the reader the basic idea of what a package is, the motivation for writing one, some reccomendations and a very quick MWE.

What should a reviewer concentrate their feedback on?

  • Everything looks ok?
  • Are there any bases missing that could improve this sub-section?

Acknowledging contributors

@netlify
Copy link

netlify bot commented Jan 3, 2023

Deploy Preview for the-turing-way ready!

Name Link
🔨 Latest commit 2498f2b
🔍 Latest deploy log https://app.netlify.com/sites/the-turing-way/deploys/640a0fd69eead8000849343e
😎 Deploy Preview https://deploy-preview-2927--the-turing-way.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

@RaoOfPhysics
Copy link
Collaborator

RaoOfPhysics commented Jan 4, 2023

👋

Can you please confirm that I’m looking at the right place? https://deploy-preview-2927--the-turing-way.netlify.app/reproducible-research/code-reuse/code-reuse-packages.html 🙈

EDIT: Ah, so it is. 😄

Copy link
Collaborator

@RaoOfPhysics RaoOfPhysics left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice work, @arronlacey! Have left some content edits and some style ones, for you to consider/implement. :)

# Overview of writing packages

This section provides an overview of why software packages and libraries are useful for code reproducibility and why you might want to write your own packages.
Packages are written to a high standard of reproducible code (see the guidelines for [publishing an R package on CRAN](https://cran.r-project.org/web/packages/policies.html)), where recommendations such as those found in the {ref}`rr-code-reuse-details` and {ref}`rr-code-reuse-recommendations` sections are commonly employed to ensure reproducibility of the functionality of the package.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This sentence could be simplified, possibly split. It’s a tad unwieldy.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hopefully 2498f2b helps with this?

@arronlacey
Copy link
Collaborator Author

Thanks very much for looking at this @RaoOfPhysics - I'll take a look over the new few days.

Co-authored-by: Achintya Rao <achintya@achintyarao.in>
arronlacey and others added 3 commits March 9, 2023 16:42
…ges.md

Co-authored-by: Achintya Rao <achintya@achintyarao.in>
…ges.md

Co-authored-by: Achintya Rao <achintya@achintyarao.in>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants