Skip to content

Conversation

@CNuge
Copy link
Collaborator

@CNuge CNuge commented Sep 3, 2025

Minor changes to remove warnings and errors when building as cran

This should allow for submission to CRAN when time comes. Few minor tweaks may be required as the following are still happening:

  1. when running: R CMD check --as-cran KinformR --ignore-vignettes
    I get the warning:
* checking package subdirectories ... WARNING
Found the following directory with the name of a version control directory:
  ./.git
These should not be in a package tarball.

Despite the file .Rbuildignore including this dir

  1. when running: R CMD check --as-cran KinformR
    I get the warning:
* checking files in ‘vignettes’ ... WARNING
Files in the 'vignettes' directory but no files in 'inst/doc':
  ‘KinformR-penetrance_and_ibd.Rmd’ ‘KinformR-variant_scoring.Rmd’

These can both be addressed by making a copy of the folder, removing the .git dir and moving the built vignettes to the specified location. However, this is more manual interaction than I would like so I will keep looking for programatic solutions to these warnings.

Note that running R CMD build KinformR builds the tarball KinformR_0.1.0.tar.gz without warning.

Closes the following issues

Pre-release notes

  • Post-release tasks
    • Complete the final build of 0.1.0
    • Do the submission to cran

…ors when building as cran

should allow for submission to CRAN when time comes
@CNuge CNuge changed the title Testing --as-cran-build) Testing --as-cran-build Sep 5, 2025
@CNuge CNuge merged commit 72820e3 into main Sep 5, 2025
1 check passed
@CNuge CNuge deleted the cran branch September 5, 2025 18:50
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.

2 participants