Skip to content

Commit 4fd037a

Browse files
committed
Add some dev files in .Rbuildignore
1 parent 46b14a6 commit 4fd037a

3 files changed

Lines changed: 5 additions & 2 deletions

File tree

RcppTskit/.Rbuildignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,13 @@
1313
^cran-comments\.md$
1414
^inst/examples/create_test\.trees\.R$
1515
^inst/examples/create_test\.trees\.py$
16+
^inst/examples/explore_reticulate\.R$
17+
^inst/examples/explore_slendr\.R$
1618
^LICENSE.md$
1719
^notes_pkg_dev\.Rmd$
1820
^pkg_dev_notes\.md$
1921
^tests/testthat/_snaps$
22+
^tools/clang-tidy\.py$
2023
^vignettes/\.quarto$
2124
^vignettes/*_files$
2225
^\.\.$

RcppTskit/inst/examples/explore_reticulate.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ G <- ts$genotype_matrix()
4040
str(G)
4141
# int [1:54, 1:4] 0 0 0 0 0 ...
4242
py_id(G)
43-
# Error: ! Expected a python object, received a integer
43+
# Error: ! Expected a Python object, received a integer
4444
# --> a simple object (like a NumPy array) is converted to an R object
4545
# https://rstudio.github.io/reticulate/#type-conversions
4646
# https://rstudio.github.io/reticulate/articles/arrays.html

RcppTskit/inst/examples/explore_slendr.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ G <- ts$genotype_matrix()
5757
str(G)
5858
# int [1:100, 1:220] 0 0 2 2 0 2 1 0 0 1 ...
5959
reticulate::py_id(G)
60-
# Error: ! Expected a python object, received a integer
60+
# Error: ! Expected a Python object, received a integer
6161
# --> a simple object (like a NumPy array) is converted to an R object
6262
# https://rstudio.github.io/reticulate/#type-conversions
6363
# https://rstudio.github.io/reticulate/articles/arrays.html

0 commit comments

Comments
 (0)