Skip to content

changing case for as.formula() - #2

Open
pdwaggoner wants to merge 1 commit into
sumtxt:masterfrom
pdwaggoner:master
Open

pdwaggoner wants to merge 1 commit into
sumtxt:masterfrom
pdwaggoner:master

Conversation

@pdwaggoner

Copy link
Copy Markdown

Threw error when original as.Formula() as it didn't recognize the function. Changed on lines:

  • 27
  • 34
  • 58
  • 63

(if you decide to use the latter two 58 and 63 in the future/uncommenting these lines)

Also, minor typo fix on line 151 too

Threw error when original `as.Formula()` as it didn't recognize the function. Changed on lines: 
- 27
- 34
- 58
- 63

*(if you decide to use the latter two 58 and 63 in the future/uncommenting these lines)* 

Also, minor typo fix on line 151 too
@sumtxt

sumtxt commented Jun 15, 2022

Copy link
Copy Markdown
Owner

Interesting. as.Formula is a function of the Formula package which is imported when loading the package. Can you send me an output of sessionInfo() after loading missDiag in a fresh R session?

@pdwaggoner

Copy link
Copy Markdown
Author

Thanks for the reply. Yeah, that is odd. Here is my session info:

> sessionInfo()
R version 4.2.0 (2022-04-22)
Platform: x86_64-apple-darwin17.0 (64-bit)
Running under: macOS Big Sur 11.6.7

Matrix products: default
LAPACK: /Library/Frameworks/R.framework/Versions/4.2/Resources/lib/libRlapack.dylib

locale:
[1] en_US.UTF-8/en_US.UTF-8/en_US.UTF-8/C/en_US.UTF-8/en_US.UTF-8

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base     

other attached packages:
[1] sbw_1.1.5      slam_0.1-50    quadprog_1.5-8 Matrix_1.4-1   ebal_0.1-8     missDiag_1.0.1

loaded via a namespace (and not attached):
 [1] pillar_1.7.0         compiler_4.2.0       remotes_2.4.2        tools_4.2.0          lifecycle_1.0.1      tibble_3.1.7        
 [7] gtable_0.3.0         lattice_0.20-45      pkgconfig_2.0.3      rlang_1.0.2          cli_3.3.0            DBI_1.1.2           
[13] curl_4.3.2           spatstat.data_2.2-0  dplyr_1.0.9          spatstat.utils_2.3-1 generics_0.1.2       vctrs_0.4.1         
[19] grid_4.2.0           cobalt_4.3.2         tidyselect_1.1.2     glue_1.6.2           R6_2.5.1             fansi_1.0.3         
[25] spatstat.geom_2.4-0  polyclip_1.10-0      Formula_1.2-4        deldir_1.0-6         ggplot2_3.3.6        purrr_0.3.4         
[31] magrittr_2.0.3       MASS_7.3-56          scales_1.2.0         backports_1.4.1      ellipsis_0.3.2       assertthat_0.2.1    
[37] colorspace_2.0-3     utf8_1.2.2           munsell_0.5.0        crayon_1.5.1  

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