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

docs: replace instances of #' if with #' @examplesIf #1698

Merged
merged 6 commits into from
Feb 20, 2025
Merged

docs: replace instances of #' if with #' @examplesIf #1698

merged 6 commits into from
Feb 20, 2025

Conversation

maelle
Copy link
Contributor

@maelle maelle commented Feb 19, 2025

Fix #1134

I'll run document() after #1696 is merged

Copy link
Contributor

aviator-app bot commented Feb 19, 2025

Current Aviator status

Aviator will automatically update this comment as the status of the PR changes.
Comment /aviator refresh to force Aviator to re-examine your PR (or learn about other /aviator commands).

This PR was merged manually (without Aviator). Merging manually can negatively impact the performance of the queue. Consider using Aviator next time.


See the real-time status of this PR on the Aviator webapp.
Use the Aviator Chrome Extension to see the status of your PR within GitHub.

@maelle maelle marked this pull request as ready for review February 19, 2025 16:19
@maelle maelle enabled auto-merge (squash) February 19, 2025 16:21
@maelle
Copy link
Contributor Author

maelle commented Feb 19, 2025

Interesting failure

library("igraph")
#> 
#> Attaching package: 'igraph'
#> The following objects are masked from 'package:stats':
#> 
#>     decompose, spectrum
#> The following object is masked from 'package:base':
#> 
#>     union
C <- matrix(c(
  1, 3 / 4, 0,
  3 / 4, 0, 3 / 4,
  0, 3 / 4, 3 / 4
), nrow = 3)
g <- sample_hierarchical_sbm(100, 10, rho = c(3, 3, 4) / 10, C = C, p = 1 / 20)
g
#> IGRAPH e0a8c18 U--- 100 477 -- Hierarchical stochastic block model
#> + attr: name (g/c), m (g/n), rho (g/n), C (g/n), p (g/n)
#> + edges from e0a8c18:
#>  [1]  1-- 2  1-- 3  2-- 3  1-- 4  2-- 4  1-- 5  2-- 5  3-- 5  1-- 6  2-- 6
#> [11]  3-- 6  4-- 7  4-- 8  5-- 8  6-- 8  4-- 9  5-- 9  6-- 9  4--10  5--10
#> [21]  7-- 8  7-- 9  8-- 9  7--10  8--10 11--12 11--13 12--13 11--14 13--14
#> [31] 11--15 12--15 13--15 11--16 12--16 13--16 14--18 15--18 14--19 15--19
#> [41] 16--19 14--20 16--20 17--18 17--19 18--19 17--20 21--22 21--23 22--23
#> [51] 21--24 23--24 21--25 22--25 23--25 21--26 22--26 24--27 25--27 26--27
#> [61] 24--28 25--28 25--29 26--29 24--30 25--30 26--30 27--28 27--29 27--30
#> [71] 28--30 29--30 31--32 31--33 32--33 31--34 33--34 31--35 32--35 33--35
#> + ... omitted several edges


image(g[])
#> Error in image.default(g[]): 'z' must be a matrix

Created on 2025-02-19 with reprex v2.1.1

@maelle
Copy link
Contributor Author

maelle commented Feb 20, 2025

load the package

@maelle maelle merged commit 22cd83e into main Feb 20, 2025
11 checks passed
@maelle maelle deleted the ifs branch February 20, 2025 10:24
schochastics pushed a commit to schochastics/rigraph that referenced this pull request Feb 21, 2025
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.

Replace instances of #' if with #' @examplesIf
1 participant