@@ -1372,7 +1372,7 @@ library(png)
1372
1372
# Load the image and get its dimensions
1373
1373
img_path <- system.file("extdata", "DigestRpicture.png", package = "digestR")
1374
1374
img <- readPNG(img_path)
1375
-
1375
+ plot(0, 0, type = 'n', xlab = '', ylab = '', axes = FALSE, xlim = c(-1.5, 1.5), ylim = c(-1.5, 1.5))
1376
1376
# Display the image properly (full window)
1377
1377
rasterImage(img, -1.5, -1.5, 1.5, 1.5)
1378
1378
@@ -1399,7 +1399,8 @@ library(png)
1399
1399
text(0, -0.53, 'Naturally Digested Amino acid Sequences', col='#4da6ff', cex=1.8, font=2) # Main text
1400
1400
1401
1401
# Version and command text, shifted further downwards
1402
- text(0, -0.75, paste('version 1.0.0', pkgVar$version), col='#00b3b3', font=2) # Dynamic color
1402
+ version <- '1.0.0'
1403
+ text(0, -0.75, paste('version', version), col = '#00b3b3', font = 2) # Dynamic color # Dynamic color
1403
1404
1404
1405
# Clean, minimal function list with better spacing and shifted downwards
1405
1406
text(0, -0.86, 'gp() - Generate New Proteome', col='#00b3b3', cex=1.1, font = 2) # Light blue
0 commit comments