Skip to content

Add function write_sessioninfo()#62

Closed
florisvdh wants to merge 13 commits into
mainfrom
sessioninfo
Closed

Add function write_sessioninfo()#62
florisvdh wants to merge 13 commits into
mainfrom
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.

@peterdesmet peterdesmet left a comment

Copy link
Copy Markdown
Member

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.

Comment thread R/write_sessioninfo.R
Comment thread R/write_sessioninfo.R
Comment thread R/write_sessioninfo.R Outdated
Comment thread inborutils.Rproj
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

ThierryO commented Sep 3, 2019

Copy link
Copy Markdown
Member

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