Skip to content

Conversation

@janaobsteter
Copy link
Collaborator

No description provided.

Copy link
Collaborator Author

@janaobsteter janaobsteter left a comment

Choose a reason for hiding this comment

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

The factor in the "caste" was changed to "character", since the factor thing was making it slow and used memory. Also, I created generic functions to test whether we can improve the speed

@gregorgorjanc
Copy link
Member

@janaobsteter I am seeing this R CMD check (via GitHub action) failing with

Quitting from lines 618-622 [colony_strength] (F_Quantitative_Genetics.Rmd)
[308](https://github.com/HighlanderLab/SIMplyBee/actions/runs/9970676222/job/27550092259?pr=581#step:5:310)
Error: Error: processing vignette 'F_Quantitative_Genetics.Rmd' failed with diagnostics:
[309](https://github.com/HighlanderLab/SIMplyBee/actions/runs/9970676222/job/27550092259?pr=581#step:5:311)
no slot of name "queen" for this object of class "MultiColony"
[310](https://github.com/HighlanderLab/SIMplyBee/actions/runs/9970676222/job/27550092259?pr=581#step:5:312)
--- failed re-building ‘F_Quantitative_Genetics.Rmd’
[311](https://github.com/HighlanderLab/SIMplyBee/actions/runs/9970676222/job/27550092259?pr=581#step:5:313)
--- re-building ‘G_Sampling_functions.Rmd’ using rmarkdown
[312](https://github.com/HighlanderLab/SIMplyBee/actions/runs/9970676222/job/27550092259?pr=581#step:5:314)
--- finished re-building ‘G_Sampling_functions.Rmd’
[313](https://github.com/HighlanderLab/SIMplyBee/actions/runs/9970676222/job/27550092259?pr=581#step:5:315)
--- re-building ‘Z_FAQ.Rmd’ using rmarkdown
[314](https://github.com/HighlanderLab/SIMplyBee/actions/runs/9970676222/job/27550092259?pr=581#step:5:316)
--- finished re-building ‘Z_FAQ.Rmd’
[315](https://github.com/HighlanderLab/SIMplyBee/actions/runs/9970676222/job/27550092259?pr=581#step:5:317)
SUMMARY: processing the following file failed:
[316](https://github.com/HighlanderLab/SIMplyBee/actions/runs/9970676222/job/27550092259?pr=581#step:5:318)
  ‘F_Quantitative_Genetics.Rmd’
[317](https://github.com/HighlanderLab/SIMplyBee/actions/runs/9970676222/job/27550092259?pr=581#step:5:319)
Error: Error: Vignette re-building failed.

})


test_that("swarm1", {
Copy link
Member

Choose a reason for hiding this comment

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

Do we need a test for buildUp1 too @janaobsteter ?

Copy link
Member

@gregorgorjanc gregorgorjanc left a comment

Choose a reason for hiding this comment

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

@janaobsteter looked over this - only one comment above and see the checks

Copy link
Member

@gregorgorjanc gregorgorjanc left a comment

Choose a reason for hiding this comment

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

@janaobsteter see comments above

Copy link
Member

@gregorgorjanc gregorgorjanc left a comment

Choose a reason for hiding this comment

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

@janaobsteter similar comments to last time;)

@janaobsteter janaobsteter changed the title Seeing the changes from my fork to HLab lab (remainder from the hackathon?) Merging the remaining changes to prepare the package for CRAN Aug 23, 2024
@@ -1063,7 +1063,7 @@ getQueenYearOfBirth <- function(x, simParamBee = NULL) {
}
} else if (isColony(x)) {
if(packageVersion("AlphaSimR") > package_version("1.5.3")){
Copy link
Member

Choose a reason for hiding this comment

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

@janaobsteter Best to just fix package version in DESCRIPTION and then we don't need this code duplication.

Copy link
Member

@gregorgorjanc gregorgorjanc left a comment

Choose a reason for hiding this comment

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

@janaobsteter looks good - needs minor tweaks and then we can merge

@janaobsteter
Copy link
Collaborator Author

@gregorgorjanc , this is now the version accepted to CRAN. I've added all anchors to \links and removed the checks for AlphaSimR version since it now depends on the latest version with the correct handling of the misc slot.

Could you please merge this into HLab, then I can merge dev into main and I will also mark this as commit 0.4.0

Copy link
Member

@gregorgorjanc gregorgorjanc left a comment

Choose a reason for hiding this comment

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

LGTM @janaobsteter! Thanks for doing all this edits for the help page linking! That must have been annoying.

@gregorgorjanc gregorgorjanc merged commit 6a08666 into HighlanderLab:devel Aug 28, 2024
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