Skip to content

Add function write_sessioninfo()#62

Closed
florisvdh wants to merge 13 commits intomainfrom
sessioninfo
Closed

Add function write_sessioninfo()#62
florisvdh wants to merge 13 commits intomainfrom
sessioninfo

Conversation

@florisvdh
Copy link
Copy Markdown
Member

The function writes essentials of sessioninfo::session_info() to a file or connection in order to maintain versionable documentation of a workflow and aid reproducibility.

Copy link
Copy Markdown
Member

@peterdesmet peterdesmet left a comment

Choose a reason for hiding this comment

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

Sorry, no time to review this one.

PackageUseDevtools: Yes
PackageInstallArgs: --no-multiarch --with-keep.source
PackageCheckArgs: --as-cran
PackageRoxygenize: rd,collate,namespace
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

@hansvancalster I don't know the precise implications of these two lines, but it is package wide and should probably be reviewed in a separate PR?

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Sorry 😉 I just misused your PR to add these lines to the .Rproj file. They aid in checking the package when it is built. @ThierryO advised to include these settings in the .Rproj file and he can tell you more.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

You're welcome.

@florisvdh
Copy link
Copy Markdown
Member Author

@hansvancalster Thanks for your reflections and adding an example!

@ThierryO
Copy link
Copy Markdown
Member

ThierryO commented Sep 3, 2019

I suggest to store the information in YAML format. See #64

@hansvancalster
Copy link
Copy Markdown
Contributor

@florisvdh I think this PR is superseded by #64? Can you close this one if my assumption is correct?

@hansvancalster
Copy link
Copy Markdown
Contributor

Something to discuss with @inbo/bmk

@florisvdh florisvdh self-assigned this Mar 25, 2021
@florisvdh
Copy link
Copy Markdown
Member Author

This is an old PR it seems. Nowadays, there is:

sessioninfo::session_info(to_file = TRUE)

and there are more sophisticated possibilities with {renv} and a few other packages I think.

Hence I think you can close this PR @hansvancalster.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants