Skip to content

Commit 5b460e1

Browse files
authored
Update digestR.R
Updated splashScreen
1 parent af90925 commit 5b460e1

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

R/digestR.R

-3
Original file line numberDiff line numberDiff line change
@@ -1376,9 +1376,6 @@ library(png)
13761376
# Load the image and get its dimensions
13771377
img_path <- system.file("extdata", "DigestRpicture.png", package = "digestR")
13781378
img <- readPNG(img_path)
1379-
img_width <- dim(img)[2] # Width of the image
1380-
img_height <- dim(img)[1] # Height of the image
1381-
aspect_ratio <- img_height / img_width # Calculate the aspect ratio
13821379

13831380
# Set plot limits based on the aspect ratio
13841381
if (aspect_ratio > 1) {

0 commit comments

Comments
 (0)